Record Class ModelTransformation

java.lang.Object
java.lang.Record
net.minecraft.client.render.model.json.ModelTransformation
Record Components:
thirdPersonLeftHand -
thirdPersonRightHand -
firstPersonLeftHand -
firstPersonRightHand -
head -
gui -
ground -
fixed -

@Environment(CLIENT) public record ModelTransformation(Transformation thirdPersonLeftHand, Transformation thirdPersonRightHand, Transformation firstPersonLeftHand, Transformation firstPersonRightHand, Transformation head, Transformation gui, Transformation ground, Transformation fixed) extends Record
Mappings:
Namespace Name
named net/minecraft/client/render/model/json/ModelTransformation
intermediary net/minecraft/class_809
official gnq
named thirdPersonLeftHand
intermediary comp_3368
official b
named thirdPersonRightHand
intermediary comp_3369
official c
named firstPersonLeftHand
intermediary comp_3370
official d
named firstPersonRightHand
intermediary comp_3371
official e
named head
intermediary comp_3372
official f
named gui
intermediary comp_3373
official g
named ground
intermediary comp_3374
official h
named fixed
intermediary comp_3375
official i
  • Field Details Link icon

    • thirdPersonLeftHand Link icon

      private final Transformation thirdPersonLeftHand
      The field for the thirdPersonLeftHand record component.
    • thirdPersonRightHand Link icon

      private final Transformation thirdPersonRightHand
      The field for the thirdPersonRightHand record component.
    • firstPersonLeftHand Link icon

      private final Transformation firstPersonLeftHand
      The field for the firstPersonLeftHand record component.
    • firstPersonRightHand Link icon

      private final Transformation firstPersonRightHand
      The field for the firstPersonRightHand record component.
    • gui Link icon

      private final Transformation gui
      The field for the gui record component.
    • ground Link icon

      private final Transformation ground
      The field for the ground record component.
    • fixed Link icon

      private final Transformation fixed
      The field for the fixed record component.
    • NONE Link icon

      public static final ModelTransformation NONE
      Mappings:
      Namespace Name Mixin selector
      named NONE Lnet/minecraft/client/render/model/json/ModelTransformation;NONE:Lnet/minecraft/client/render/model/json/ModelTransformation;
      intermediary field_4301 Lnet/minecraft/class_809;field_4301:Lnet/minecraft/class_809;
      official a Lgnq;a:Lgnq;
  • Constructor Details Link icon

  • Method Details Link icon

    • getTransformation Link icon

      public Transformation getTransformation(ModelTransformationMode renderMode)
      Mappings:
      Namespace Name Mixin selector
      named getTransformation Lnet/minecraft/client/render/model/json/ModelTransformation;getTransformation(Lnet/minecraft/item/ModelTransformationMode;)Lnet/minecraft/client/render/model/json/Transformation;
      intermediary method_3503 Lnet/minecraft/class_809;method_3503(Lnet/minecraft/class_811;)Lnet/minecraft/class_804;
      official a Lgnq;a(Lcwo;)Lgnp;
    • toString Link icon

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode Link icon

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals Link icon

      public final boolean equals(Object object)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.
    • thirdPersonLeftHand Link icon

      public Transformation thirdPersonLeftHand()
      Returns the value of the thirdPersonLeftHand record component.
      Returns:
      the value of the thirdPersonLeftHand record component
    • thirdPersonRightHand Link icon

      public Transformation thirdPersonRightHand()
      Returns the value of the thirdPersonRightHand record component.
      Returns:
      the value of the thirdPersonRightHand record component
    • firstPersonLeftHand Link icon

      public Transformation firstPersonLeftHand()
      Returns the value of the firstPersonLeftHand record component.
      Returns:
      the value of the firstPersonLeftHand record component
    • firstPersonRightHand Link icon

      public Transformation firstPersonRightHand()
      Returns the value of the firstPersonRightHand record component.
      Returns:
      the value of the firstPersonRightHand record component
    • head Link icon

      public Transformation head()
      Returns the value of the head record component.
      Returns:
      the value of the head record component
    • gui Link icon

      public Transformation gui()
      Returns the value of the gui record component.
      Returns:
      the value of the gui record component
    • ground Link icon

      public Transformation ground()
      Returns the value of the ground record component.
      Returns:
      the value of the ground record component
    • fixed Link icon

      public Transformation fixed()
      Returns the value of the fixed record component.
      Returns:
      the value of the fixed record component