Skip to main content

RenderModes

Render modes indicate what context the avatar is being rendered in.

Example:

function events.render(_, context)
models.myModel.World:setVisible(context ~= "FIRST_PERSON")
end

All Render Modes

ModeDescription
FIGURA_GUIThis is in the Figura pause menu
PAPERDOLLFigura's paperdoll
MINECRAFT_GUIThe inventory menu
FIRST_PERSONWhile in first person (contrary to some beliefs, this includes while holding an item in first person, even if your entire avatar is unloaded at the time)
FIRST_PERSON_WORLDUnknown
RENDERWhile in third person (other players render the avatar in this mode)
WORLDUnknown
OTHEROther mods like shaders cause this context