public class Variant extends java.lang.Object implements IModelTransform
Modifier and Type | Class and Description |
---|---|
static class |
Variant.Deserializer |
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
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