MaterialPartLocalizedNameSupplier

Link to materialpartlocalizednamesupplier

You can create a MaterialPartLocalizedNameSupplier form a MaterialPart object, which will then be used whenever requested.

Importing the class

Link to importing-the-class

Should you need to import he class, here you go:

ZenScript
Copy
import mods.contenttweaker.MaterialPartLocalizedNameSupplier;

Static methods can be called upon the package, not upon instances of the class.

ZenScript
Copy
//mods.contenttweaker.MaterialPartLocalizedNameSupplier.create(IMaterialPart materialPart);
mods.contenttweaker.MaterialPartLocalizedNameSupplier.create(myMaterialPart);