register Material
abstract boolean registerMaterial(Identifier id, RenderMaterial material)
Content copied to clipboard
Register a material for re-use by other mods or models within a mod.The registry does not persist registrations - mods must create and registerall materials at game initialization.
Returns false if a material with the given identifier is already present,leaving the existing material intact.
Sources
jvm source
Link copied to clipboard