Class ComposedModelState
java.lang.Object
net.neoforged.neoforge.client.model.ComposedModelState
- All Implemented Interfaces:
ModelState,ModelStateExtension
Implementation of
ModelState which prepends an additional transform onto the incoming ModelState.-
Field Summary
FieldsFields inherited from interface net.minecraft.client.resources.model.ModelState
NO_TRANSFORM -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.joml.Matrix4fcfaceTransformation(Direction side) org.joml.Matrix4fcMethods 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
-
parent
-
transformation
-
-
Constructor Details
-
ComposedModelState
-
-
Method Details
-
transformation
- Specified by:
transformationin interfaceModelState
-
faceTransformation
- Specified by:
faceTransformationin interfaceModelState
-
inverseFaceTransformation
- Specified by:
inverseFaceTransformationin interfaceModelState
-