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.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
public IModel process(IModel base)
process
in interface ISmartVariant