Skip to main content

VanillaModel

A global API that provides functions to interact with the vanilla player model and its parts

Accessed using the global field vanilla_model


Groups​

Go here for functions that effect these parts

ALL​

Multi-part: The entirety of the vanilla model

Example:

vanilla_model.ALL:setVisible(false)

PLAYER​

Multi-part: Both the outer and inner layers of the player's skin, as well as the cape

Example:

vanilla_model.PLAYER:setVisible(false)

OUTER_LAYER​

Multi-part: The outer layer of the player

Example:

vanilla_model.OUTER_LAYER:setVisible(false)

INNER_LAYER​

Multi-part: The main body of the player, everything except the outer layer

Example:

vanilla_model.INNER_LAYER:setVisible(false)

CAPE​

Multi-part: The player's cape

Example:

vanilla_model.CAPE:setVisible(false)

ARMOR​

Multi-part: All armor on the model

Example:

vanilla_model.ARMOR:setVisible(false)

HELMET​

Multi-part: The helmet model

Example:

vanilla_model.HELMET:setVisible(false)

CHESTPLATE​

Multi-part: The chestplate model

Example:

vanilla_model.CHESTPLATE:setVisible(false)

LEGGINGS​

Multi-part: The leggings model

Example:

vanilla_model.LEGGINGS:setVisible(false)

BOOTS​

Multi-part: The boots model

Example:

vanilla_model.BOOTS:setVisible(false)

ELYTRA​

Multi-part: The elytra model

Example:

vanilla_model.ELYTRA:setVisible(false)

HELD_ITEMS​

Multi-part: Items in the player's hands

Example:

vanilla_model.HELD_ITEMS:setVisible(false)

PARROTS​

Multi-part: Parrots on the player's shoulders

Example:

vanilla_model.PARROTS:setVisible(false)

Parts​

Go here for functions that effect these parts

The head of the player, not including the hat

Example:

vanilla_model.HEAD:setVisible(false)

BODY​

The body of the player, not including the outer layer

Example:

vanilla_model.BODY:setVisible(false)

LEFT_ARM​

The left arm of the player, not including the outer layer

Example:

vanilla_model.LEFT_ARM:setVisible(false)

RIGHT_ARM​

The right arm of the player, not including the outer layer

Example:

vanilla_model.RIGHT_ARM:setVisible(false)

LEFT_LEG​

The left leg of the player, not including the outer layer

Example:

vanilla_model.LEFT_LEG:setVisible(false)

RIGHT_LEG​

The right leg of the player, not including the outer layer

Example:

vanilla_model.RIGHT_LEG:setVisible(false)

HAT​

The outer layer of the player's head

Example:

vanilla_model.HAT:setVisible(false)

JACKET​

The outer layer of the player's body

Example:

vanilla_model.JACKET:setVisible(false)

LEFT_SLEEVE​

The outer layer of the player's left arm

Example:

vanilla_model.LEFT_SLEEVE:setVisible(false)

RIGHT_SLEEVE​

The outer layer of the player's right arm

Example:

vanilla_model.RIGHT_SLEEVE:setVisible(false)

LEFT_PANTS​

The outer layer of the player's left leg

Example:

vanilla_model.LEFT_PANTS:setVisible(false)

RIGHT_PANTS​

The outer layer of the player's right leg

Example:

vanilla_model.RIGHT_PANTS:setVisible(false)

CAPE_MODEL​

The vanilla cape model

Example:

vanilla_model.CAPE_MODEL:setVisible(false)

FAKE_CAPE​

A custom copy of the cape, an attempt at storing its transformations as vanilla cape math is... weird

Example:

vanilla_model.FAKE_CAPE:setVisible(false)

HELMET_ITEM​

The item on the armor head slot

Example:

vanilla_model.HELMET_ITEM:setVisible(false)

HELMET_HEAD​

The head of the helmet model

Example:

vanilla_model.HELMET_HEAD:setVisible(false)

HELMET_HAT​

The hat of the helmet model

Example:

vanilla_model.HELMET_HAT:setVisible(false)

CHESTPLATE_BODY​

The body of the chestplate model

Example:

vanilla_model.CHESTPLATE_BODY:setVisible(false)

CHESTPLATE_LEFT_ARM​

The left arm of the chestplate model

Example:

vanilla_model.CHESTPLATE_LEFT_ARM:setVisible(false)

CHESTPLATE_RIGHT_ARM​

The right arm of the chestplate model

Example:

vanilla_model.CHESTPLATE_RIGHT_ARM:setVisible(false)

LEGGINGS_BODY​

The body of the leggings model

Example:

vanilla_model.LEGGINGS_BODY:setVisible(false)

LEGGINGS_LEFT_LEG​

The left leg of the leggings model

Example:

vanilla_model.LEGGINGS_LEFT_LEG:setVisible(false)

LEGGINGS_RIGHT_LEG​

The right leg of the leggings model

Example:

vanilla_model.LEGGINGS_RIGHT_LEG:setVisible(false)

BOOTS_LEFT_LEG​

The left boot of the boots model

Example:

vanilla_model.BOOTS_LEFT_LEG:setVisible(false)

BOOTS_RIGHT_LEG​

The right boot of the boots model

Example:

vanilla_model.BOOTS_RIGHT_LEG:setVisible(false)

LEFT_ELYTRA​

The left wing of the elytra model

Example:

vanilla_model.LEFT_ELYTRA:setVisible(false)

RIGHT_ELYTRA​

The right wing of the elytra model

Example:

vanilla_model.RIGHT_ELYTRA:setVisible(false)

LEFT_ITEM​

The item in the player's left hand

Example:

vanilla_model.LEFT_ITEM:setVisible(false)

RIGHT_ITEM​

The item in the player's right hand

Example:

vanilla_model.RIGHT_ITEM:setVisible(false)

LEFT_PARROT​

The Parrot in the player's left shoulder

Example:

vanilla_model.LEFT_PARROT:setVisible(false)

RIGHT_PARROT​

The Parrot in the player's right shoulder

Example:

vanilla_model.RIGHT_PARROT:setVisible(false)