public class Variant extends java.lang.Object implements ISmartVariant
| Modifier and Type | Class and Description |
|---|---|
static class |
Variant.Deserializer |
| Constructor and Description |
|---|
Variant(ResourceLocation modelLocationIn,
ModelRotation rotationIn,
boolean uvLockIn,
int weightIn) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object p_equals_1_) |
ResourceLocation |
getModelLocation() |
ModelRotation |
getRotation()
Deprecated.
|
IModelState |
getState() |
int |
getWeight() |
int |
hashCode() |
boolean |
isUvLock() |
IModel |
process(IModel base) |
java.lang.String |
toString() |
public Variant(ResourceLocation modelLocationIn, ModelRotation rotationIn, boolean uvLockIn, int weightIn)
public ResourceLocation getModelLocation()
@Deprecated public ModelRotation getRotation()
public IModelState getState()
public boolean isUvLock()
public 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.Objectpublic IModel process(IModel base)
process in interface ISmartVariant