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, waitgetPartTransformationprivate 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 IModelTransformpublic boolean isUvLock()
isUvLock in interface IModelTransformpublic int getWeight()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object p_equals_1_)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object