Skip to main content

sand.box

Messages related to boxes.

In this context, a box refers to a the client's character.

sand.box.style

IndexNameTypeDescription
0--Identity HeaderThe identity header.
1faceModeFaceModeThe face mode of the box.
tip

The face mode defines what the next fields will be.

FaceMode.BuiltIn

IndexNameTypeDescription
2buildInFaceIdstringID of a built-in face texture.
3color.rfloatRed component of the body color.
4color.gfloatGreen component of the body color.
5color.bfloatBlue component of the body color.
6colorModeColorModeThe color mode.

FaceMode.PixelArt

IndexNameTypeDescription
2arrayLengthintLength of the pixel art data array.
3pixelFacebyte[]Pixel art data.
4color.rfloatRed component of the body color.
5color.gfloatGreen component of the body color.
6color.bfloatBlue component of the body color.
7colorModeColorModeThe color mode.

sand.box.position

IndexNameTypeDescription
0position.xfloatX position coordinate.
1position.yfloatY position coordinate.
2position.zfloatZ position coordinate.
3rotationfloatRotation around the Y axis in degrees.
4stretchfloatStretch factor.

sand.box.state

This state controls the indicators above the box.

IndexNameTypeDescription
0--Identity HeaderThe identity header.
1isTypingboolWhenever the player has the chat open
2isFlyingboolWhenever the player is currently floating
3isPausedboolWhenever the player's game is currently paused