Class ModelTransform

java.lang.Object
net.minecraft.client.model.ModelTransform

@Environment(CLIENT)
public class ModelTransform
extends Object
  • Field Details

    • NONE

      public static final ModelTransform NONE
    • pivotX

      public final float pivotX
    • pivotY

      public final float pivotY
    • pivotZ

      public final float pivotZ
    • pitch

      public final float pitch
    • yaw

      public final float yaw
    • roll

      public final float roll
  • Constructor Details

    • ModelTransform

      private ModelTransform​(float pivotX, float pivotY, float pivotZ, float pitch, float yaw, float roll)
  • Method Details

    • pivot

      public static ModelTransform pivot​(float pivotX, float pivotY, float pivotZ)
    • rotation

      public static ModelTransform rotation​(float pitch, float yaw, float roll)
    • of

      public static ModelTransform of​(float pivotX, float pivotY, float pivotZ, float pitch, float yaw, float roll)