Class ModelBlockDefinition.Variant
- java.lang.Object
-
- net.minecraft.client.renderer.block.model.ModelBlockDefinition.Variant
-
- Enclosing class:
- ModelBlockDefinition
public static class ModelBlockDefinition.Variant extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ModelBlockDefinition.Variant.Deserializer
-
Constructor Summary
Constructors Constructor Description Variant(ResourceLocation modelLocationIn, ModelRotation modelRotationIn, boolean uvLockIn, int weightIn)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object object)
ResourceLocation
getModelLocation()
ModelRotation
getRotation()
int
getWeight()
int
hashCode()
boolean
isUvLocked()
-
-
-
Constructor Detail
-
Variant
public Variant(ResourceLocation modelLocationIn, ModelRotation modelRotationIn, boolean uvLockIn, int weightIn)
-
-
Method Detail
-
getModelLocation
public ResourceLocation getModelLocation()
-
getRotation
public ModelRotation getRotation()
-
isUvLocked
public boolean isUvLocked()
-
getWeight
public int getWeight()
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-