-
Modify all possible faces dynamically using a function, creating new
faces as necessary.
ModelBuilder.ElementBuilder.ao(boolean ao)
Set the ambient occlusion of the element.
Sets whether we should calculate actual normals for the faces of this model or inherit them from facing the
way vanilla does
ModelBuilder.ElementBuilder.color(int color)
Sets the color of the element.
Create a typical cube element, creating new faces as needed, applying the
given texture, and setting the cullface.
Get an existing element builder
ModelBuilder.ElementBuilder.emissivity(int blockLight,
int skyLight)
Set the block and sky light of the element (0-15).
ModelBuilder.ElementBuilder.FaceBuilder.end()
ModelBuilder.ElementBuilder.RotationBuilder.end()
Modify all existing faces dynamically using a function.
ModelBuilder.ElementBuilder.from(float x,
float y,
float z)
Set the "from" position for this element.
ModelBuilder.ElementBuilder.shade(boolean shade)
Texture all existing faces in the current element with the given
texture.
Texture all possible faces in the current element with the given
texture, creating new faces where necessary.
ModelBuilder.ElementBuilder.to(float x,
float y,
float z)
Set the "to" position for this element.