ModelPart.secondaryTexture

Sets the secondary texture override of this part
Check the TextureType types in the list docs
If using "resource",
the second parameter should indicate the path to the Minecraft texture you want to use
If using "custom",
the second parameter should indicate a texture object
overload 1:
models:secondaryTexture(textureType)
Method Property Fluent Description Representation
textureType accepts a String
Return Value a ModelPart
overload 2:
models:secondaryTexture(resource, path)
Method Property Fluent Description Representation
resource accepts a String
path accepts a String
Return Value a ModelPart
overload 3:
models:secondaryTexture(custom, texture)
Method Property Fluent Description Representation
custom accepts a String
texture accepts a Texture
Return Value a ModelPart
a a