public static class ModelBlockDefinition.Variant
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ModelBlockDefinition.Variant.Deserializer |
Constructor and Description |
---|
Variant(ResourceLocation modelLocationIn,
ModelRotation modelRotationIn,
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 |
isUvLocked() |
public Variant(ResourceLocation modelLocationIn, ModelRotation modelRotationIn, boolean uvLockIn, int weightIn)
public ResourceLocation getModelLocation()
@Deprecated public ModelRotation getRotation()
public IModelState getState()
public boolean isUvLocked()
public int getWeight()
public boolean equals(java.lang.Object p_equals_1_)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object