MaterialPartColorSupplier

Link to materialpartcolorsupplier

You can create a MaterialPartColorSupplier 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.MaterialPartColorSupplier;

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

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