public static class ModelBlockDefinition.Variant
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ModelBlockDefinition.Variant.Deserializer |
Modifier and Type | Field and Description |
---|---|
private ResourceLocation |
modelLocation |
private ModelRotation |
modelRotation |
private boolean |
uvLock |
private int |
weight |
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() |
int |
getWeight() |
int |
hashCode() |
boolean |
isUvLocked() |
private final ResourceLocation modelLocation
private final ModelRotation modelRotation
private final boolean uvLock
private final int weight
public Variant(ResourceLocation modelLocationIn, ModelRotation modelRotationIn, boolean uvLockIn, int weightIn)
public ResourceLocation getModelLocation()
public ModelRotation getRotation()
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