Class Variant
java.lang.Object
net.minecraft.client.renderer.block.model.Variant
- All Implemented Interfaces:
ModelState
,IForgeModelState
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final ResourceLocation
private final Transformation
private final boolean
private final int
-
Constructor Summary
ConstructorDescriptionVariant
(ResourceLocation p_111879_, Transformation p_111880_, boolean p_111881_, int p_111882_) -
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.IForgeModelState
getPartTransformation
-
Field Details
-
modelLocation
-
rotation
-
uvLock
private final boolean uvLock -
weight
private final int weight
-
-
Constructor Details
-
Variant
public Variant(ResourceLocation p_111879_, Transformation p_111880_, boolean p_111881_, int p_111882_)
-
-
Method Details
-
getModelLocation
-
getRotation
- Specified by:
getRotation
in interfaceModelState
-
isUvLocked
public boolean isUvLocked()- Specified by:
isUvLocked
in interfaceModelState
-
getWeight
public int getWeight() -
toString
-
equals
-
hashCode
public int hashCode()
-