Sets the primary 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:primaryTexture(textureType)
Method Property | Fluent Description | Representation |
textureType accepts | a String | |
Return Value | a ModelPart | |
overload 2:
models:primaryTexture(resource, path)
Method Property | Fluent Description | Representation |
resource accepts | a String | |
path accepts | a String | |
Return Value | a ModelPart | |
overload 3:
models:primaryTexture(custom, texture)
Method Property | Fluent Description | Representation |
custom accepts | a String | |
texture accepts | a Texture | |
Return Value | a ModelPart | |