Class Variant
java.lang.Object
net.minecraft.client.renderer.model.Variant
- All Implemented Interfaces:
IModelTransform
,IForgeModelTransform
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final ResourceLocation
private final TransformationMatrix
private final boolean
private final int
-
Constructor Summary
ConstructorDescriptionVariant
(ResourceLocation p_i226001_1_, TransformationMatrix p_i226001_2_, boolean p_i226001_3_, int p_i226001_4_) -
Method Summary
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 Details
-
modelLocation
-
rotation
-
uvLock
private final boolean uvLock -
weight
private final int weight
-
-
Constructor Details
-
Variant
public Variant(ResourceLocation p_i226001_1_, TransformationMatrix p_i226001_2_, boolean p_i226001_3_, int p_i226001_4_)
-
-
Method Details
-
getModelLocation
-
getRotation
- Specified by:
getRotation
in interfaceIModelTransform
-
isUvLocked
public boolean isUvLocked()- Specified by:
isUvLocked
in interfaceIModelTransform
-
getWeight
public int getWeight() -
toString
-
equals
-
hashCode
public int hashCode()
-