Describes animation parameters for the future use. Call load or loadCustom to actually launch the animation.
an object containing all the required data about animation
Optional
material?: stringAnimation material, can be used to apply custom materials to the animation.
Optional
mesh?: RenderMeshRenderMesh object to be displayed with animation.
Optional
render?: numberNumeric ID of the Render object to be displayed with animation. Can be obtained using Render.getId
Optional
scale?: numberAnimation scale.
Optional
skin?: stringName of the texture to be used as render's skin.
Describes item to be used for the animation.
item parameters object
Optional
count?: numberItem count, will be transform to display an appropriate animation.
Optional
data?: numberItem data.
Optional
extra?: ItemExtraDataItem extra.
Optional
glint?: booleanWhether the item should be in glint state or not.
Item ID.
Optional
material?: stringShader material name.
Optional
notIf true
, the position of the item will not be randomized.
Optional
rotation?: string | [number, number, number]If string "x" is passed, the item is rotated 90 along x axis, if "z" is passed, the item is rotated 90 along z axis, otherwise the item is rotated according to the rotation array along all the three axes.
Optional
size?: numberItem/block size.
Optional
skin?: stringSkin name to be used for the render. If no skin is passed, default item skin is used.
Consider using describeItem instead.
Object for current animation's render.
Loads animation in the world registering it as an Updatable.
function to be used as Updatable.update function
Resets all the transformations made via transform calls.
Use setBlockLightPos and related methods instead.
Copyright © 2024 Nernar. Copyright © 2020 #mineprogramming. Built with ❤ and TypeDoc.
Item animations are used to display items or blocks models in the world.