Skip to main content

TextureTypes

Texture Types you can set using setPrimaryTexture and setSecondaryTexture

Example:

models.myModel.root:setPrimaryTexture("SKIN")

models.myOtherModel:setSecondaryTexture("CUSTOM", textures["myTexture"])

All Texture Types

TypeDescription
SKINYour 64x64 Minecraft skin
CAPEYour cape
ELYTRAYour elytra
RESOURCEA texture from Minecraft itself, compatible with resource packs
PRIMARYThe modelPart's original texture in Blockbench
SECONDARYThe modelPart's original secondary texture in Blockbench (if one exists)
SPECULARSetting a specular map for rendering mods that use it
NORMALSetting a normal map for rendering mods that use it
CUSTOMA texture object from Blockbench or one created via the Texture API