public class Variant extends java.lang.Object implements IModelTransform
Modifier and Type | Class and Description |
---|---|
static class |
Variant.Deserializer |
Modifier and Type | Field and Description |
---|---|
private ResourceLocation |
modelLocation |
private TransformationMatrix |
rotation |
private boolean |
uvLock |
private int |
weight |
Constructor and Description |
---|
Variant(ResourceLocation modelLocationIn,
TransformationMatrix rotationIn,
boolean uvLockIn,
int weightIn) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object p_equals_1_) |
ResourceLocation |
getModelLocation() |
TransformationMatrix |
getRotation() |
int |
getWeight() |
int |
hashCode() |
boolean |
isUvLock() |
java.lang.String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getPartTransformation
private final ResourceLocation modelLocation
private final TransformationMatrix rotation
private final boolean uvLock
private final int weight
public Variant(ResourceLocation modelLocationIn, TransformationMatrix rotationIn, boolean uvLockIn, int weightIn)
public ResourceLocation getModelLocation()
public TransformationMatrix getRotation()
getRotation
in interface IModelTransform
public boolean isUvLock()
isUvLock
in interface IModelTransform
public int getWeight()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object p_equals_1_)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object