Creates a new Render instance with specified parameters.
Optional
parameters: string | number | RenderParametersspecifies all the properties of the object. If it is a number, vanilla render ID is used, if it is a string, used as RenderParameters.name name property
Internal
Adds a part to the render by it's full name. The part should be descendent of one of the six default parts, see ModelPart for details.
full name of the part separated by "."
Optional
partParams: PartParametersspecifies all the parameters of the part
Newly created part.
full name of the part separated by "."
A part of the render by it's full name. By default, there are six parts available to the user. However, you can create your own parts that suit your needs and get them by their names.
Specifies additional params for the following Render.
Optional
params: string | number | RenderParametersspecifies all the properties of the object. If it is a number, vanilla render ID is used, if it is a string, used as RenderParameters.name name property
Sets the content and all properties of the part by it's full name.
full name of the part separated by "."
array of part data objects to be applied to the part
specifies all the parameters of the part
Sets all the properties of the part by it's full name.
full name of the part separated by "."
Optional
partParams: PartParametersspecifies all the parameters of the part
Copyright © 2024 Nernar. Copyright © 2020 #mineprogramming. Built with ❤ and TypeDoc.
Class that is used to give mobs, animations and blocks custom shape.