Class MultipartTransforms

java.lang.Object
net.minecraftforge.client.model.renderable.MultipartTransforms
All Implemented Interfaces:
IMultipartRenderValues<Matrix4f>

public class MultipartTransforms extends Object implements IMultipartRenderValues<Matrix4f>
A context value that provides Matrix4f transforms for certain parts of the model.
  • Field Details

    • EMPTY

      public static final MultipartTransforms EMPTY
      A default instance that has no transforms specified.
    • parts

      private final com.google.common.collect.ImmutableMap<String,Matrix4f> parts
  • Constructor Details

    • MultipartTransforms

      private MultipartTransforms(com.google.common.collect.ImmutableMap<String,Matrix4f> parts)
  • Method Details