Class Variant
- java.lang.Object
-
- net.minecraft.client.renderer.model.Variant
-
- All Implemented Interfaces:
IModelTransform
,IForgeModelTransform
public class Variant extends java.lang.Object implements IModelTransform
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Variant.Deserializer
-
Field Summary
Fields Modifier and Type Field Description private ResourceLocation
modelLocation
private TransformationMatrix
rotation
private boolean
uvLock
private int
weight
-
Constructor Summary
Constructors Constructor Description Variant(ResourceLocation p_i226001_1_, TransformationMatrix p_i226001_2_, boolean p_i226001_3_, int p_i226001_4_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object p_equals_1_)
ResourceLocation
getModelLocation()
TransformationMatrix
getRotation()
int
getWeight()
int
hashCode()
boolean
isUvLocked()
java.lang.String
toString()
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.minecraftforge.client.extensions.IForgeModelTransform
getPartTransformation
-
-
-
-
Field Detail
-
modelLocation
private final ResourceLocation modelLocation
-
rotation
private final TransformationMatrix rotation
-
uvLock
private final boolean uvLock
-
weight
private final int weight
-
-
Constructor Detail
-
Variant
public Variant(ResourceLocation p_i226001_1_, TransformationMatrix p_i226001_2_, boolean p_i226001_3_, int p_i226001_4_)
-
-
Method Detail
-
getModelLocation
public ResourceLocation getModelLocation()
-
getRotation
public TransformationMatrix getRotation()
- Specified by:
getRotation
in interfaceIModelTransform
-
isUvLocked
public boolean isUvLocked()
- Specified by:
isUvLocked
in interfaceIModelTransform
-
getWeight
public int getWeight()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object p_equals_1_)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-