Buy Me a Coffee at ko-fi.com

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:
ModelPart.setPrimaryTexture(textureType: String): ModelPart
typings.-1808118735typings.-6801764
Method PropertyFluent DescriptionRepresentation
textureType accepts
Return Value
overload 2:
ModelPart.setPrimaryTexture(resource: String, path: String): ModelPart
typings.-1808118735typings.-1808118735typings.-6801764
Method PropertyFluent DescriptionRepresentation
resource accepts
path accepts
Return Value
overload 3:
ModelPart.setPrimaryTexture(custom: String, texture: Texture): ModelPart
typings.-1808118735typings.246836475typings.-6801764
Method PropertyFluent DescriptionRepresentation
custom accepts
texture accepts
Return Value