@Environment(value=CLIENT) public class ModelElement extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ModelElement.Deserializer |
Modifier and Type | Field and Description |
---|---|
Map<Direction,ModelElementFace> |
faces |
Vector3f |
from |
ModelRotation |
rotation |
boolean |
shade |
Vector3f |
to |
Constructor and Description |
---|
ModelElement(Vector3f from,
Vector3f to,
Map<Direction,ModelElementFace> faces,
ModelRotation rotation,
boolean shade) |
Modifier and Type | Method and Description |
---|---|
private float[] |
getRotatedMatrix(Direction direction) |
private void |
initTextures() |
public final Vector3f from
public final Vector3f to
public final Map<Direction,ModelElementFace> faces
public final ModelRotation rotation
public final boolean shade
public ModelElement(Vector3f from, Vector3f to, Map<Direction,ModelElementFace> faces, @Nullable ModelRotation rotation, boolean shade)
private void initTextures()
private float[] getRotatedMatrix(Direction direction)