Class SimpleModelState
java.lang.Object
net.neoforged.neoforge.client.model.SimpleModelState
- All Implemented Interfaces:
ModelState,ModelStateExtension
Simple implementation of
ModelState.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSimpleModelState(Transformation transformation) SimpleModelState(Transformation transformation, boolean uvLocked) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.neoforged.neoforge.client.extensions.ModelStateExtension
mayApplyArbitraryRotation
-
Field Details
-
transformation
-
uvLocked
private final boolean uvLocked
-
-
Constructor Details
-
SimpleModelState
-
SimpleModelState
-
-
Method Details
-
getRotation
- Specified by:
getRotationin interfaceModelState
-
isUvLocked
public boolean isUvLocked()- Specified by:
isUvLockedin interfaceModelState
-