Class CompositeRenderable.Transforms
java.lang.Object
net.neoforged.neoforge.client.model.renderable.CompositeRenderable.Transforms
- Enclosing class:
 - CompositeRenderable
 
A context value that provides 
Matrix4f transforms for certain parts of the model.- 
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final CompositeRenderable.TransformsA default instance that has no transforms specified.private final com.google.common.collect.ImmutableMap<String,org.joml.Matrix4f>  - 
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateTransforms(com.google.common.collect.ImmutableMap<String, org.joml.Matrix4f> parts)  - 
Method Summary
Modifier and TypeMethodDescription@Nullable org.joml.Matrix4fgetTransform(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
 
 -