@Environment(value=CLIENT) public class ModelVariant extends Object implements ModelBakeSettings
| Modifier and Type | Class and Description |
|---|---|
static class |
ModelVariant.Deserializer |
| Modifier and Type | Field and Description |
|---|---|
private Identifier |
location |
private AffineTransformation |
rotation |
private boolean |
uvLock |
private int |
weight |
| Constructor and Description |
|---|
ModelVariant(Identifier location,
AffineTransformation affineTransformation,
boolean uvLock,
int weight) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Identifier |
getLocation() |
AffineTransformation |
getRotation() |
int |
getWeight() |
int |
hashCode() |
boolean |
isShaded() |
String |
toString() |
private final Identifier location
private final AffineTransformation rotation
private final boolean uvLock
private final int weight
public ModelVariant(Identifier location, AffineTransformation affineTransformation, boolean uvLock, int weight)
public Identifier getLocation()
public AffineTransformation getRotation()
getRotation in interface ModelBakeSettingspublic boolean isShaded()
isShaded in interface ModelBakeSettingspublic int getWeight()