Creates a new RenderMesh and initializes it from file. See RenderMesh.importFromFile for parameters details
Creates a new empty RenderMesh
Adds new mesh to the current one on the specified coordinates with specified scale
RenderMesh object to be added to current mesh
Adds new mesh to the current one on the specified coordinates
RenderMesh object to be added to current mesh
Adds new mesh to the current one
RenderMesh object to be added to current mesh
Adds a new vertex on the specified coordinates
x texture offset of the vertex
y texture offset of the vertex
Removes all vertices of the mesh
Creates a copy of current RenderMesh
Scales the mesh to fit into the specified box
if true, the ratio of the dimensions are preserved
Imports mesh file using specified path
path to the mesh file. Path should be absolute path or be relative to the resources folder or to the "models/" folder
file type to read mesh from. The only currently supported mesh file type is "obj"
additional import parameters
If true, all existing vertices of the mesh are deleted before the file is imported
If true, v of the texture is inverted
Additional scale along x, y and z axis
Additional translation along x, y and z axis
Forces Minecraft to rebuild specified RenderMesh object
Resets color applied to the mesh. Default is white
Resets texture of the mesh
Rotates the mesh around the specified coordinates
rotation angle along X axis, in radians
rotation angle along Y axis, in radians
rotation angle along Z axis, in radians
Rotates the mesh around the (0, 0, 0) coordinates
rotation angle along X axis, in radians
rotation angle along Y axis, in radians
rotation angle along Z axis, in radians
Scales the whole mesh along the three axis
Specifies block texture to be used by mesh
Specifies color to be applied to the next vertices. If the color is not white and the texture is applied to mesh, texture's colors will be affected
Specifies the normal vector for the next vertices
Translates the whole mesh along three axis
Generated using TypeDoc
Class representing a set of vertices with some other parameters required to display them correctly. Used as block, entity and item models, in animations and actually anywhere you need some physical shape