Class CompositeRenderable.Transforms
java.lang.Object
net.minecraftforge.client.model.renderable.CompositeRenderable.Transforms
- Enclosing class:
CompositeRenderable
A context value that provides
Matrix4f
transforms for certain parts of the model.-
Field Summary
Modifier and TypeFieldDescriptionstatic final CompositeRenderable.Transforms
A default instance that has no transforms specified.private final com.google.common.collect.ImmutableMap
<String, org.joml.Matrix4f> -
Constructor Summary
ModifierConstructorDescriptionprivate
Transforms
(com.google.common.collect.ImmutableMap<String, org.joml.Matrix4f> parts) -
Method Summary
Modifier and TypeMethodDescription@Nullable org.joml.Matrix4f
getTransform
(String part) Builds a MultipartTransforms object with the given mapping.
-
Field Details
-
EMPTY
A default instance that has no transforms specified. -
parts
-
-
Constructor Details
-
Transforms
-
-
Method Details
-
of
public static CompositeRenderable.Transforms of(com.google.common.collect.ImmutableMap<String, org.joml.Matrix4f> parts) Builds a MultipartTransforms object with the given mapping. -
getTransform
-