Package net.minecraft

Record Class class_11255

java.lang.Object
java.lang.Record
net.minecraft.class_11255
Record Components:
playerModel -
texture -
rotationX -
rotationY -
pivotY -
x0 -
y0 -
x1 -
y1 -
z -
scale -
layer -
scissorArea -
All Implemented Interfaces:
class_11256

@Environment(CLIENT) public record class_11255(PlayerEntityModel playerModel, Identifier texture, float rotationX, float rotationY, float pivotY, int x0, int y0, int x1, int y1, float z, float scale, class_11227 layer, @Nullable ScreenRect scissorArea) extends Record implements class_11256
Mappings:
Namespace Name
named net/minecraft/class_11255
intermediary net/minecraft/class_11255
official gac
named playerModel
intermediary comp_4141
official a
named texture
intermediary comp_4142
official b
named rotationX
intermediary comp_4143
official c
named rotationY
intermediary comp_4144
official d
named pivotY
intermediary comp_4145
official e
named x0
intermediary comp_4122
official f
named y0
intermediary comp_4123
official g
named x1
intermediary comp_4124
official h
named y1
intermediary comp_4125
official i
named z
intermediary comp_4126
official j
named scale
intermediary comp_4133
official k
named layer
intermediary comp_4127
official l
named scissorArea
intermediary comp_4128
official m
  • Field Details

    • playerModel

      private final PlayerEntityModel playerModel
      The field for the playerModel record component.
    • texture

      private final Identifier texture
      The field for the texture record component.
    • rotationX

      private final float rotationX
      The field for the rotationX record component.
    • rotationY

      private final float rotationY
      The field for the rotationY record component.
    • pivotY

      private final float pivotY
      The field for the pivotY record component.
    • x0

      private final int x0
      The field for the x0 record component.
    • y0

      private final int y0
      The field for the y0 record component.
    • x1

      private final int x1
      The field for the x1 record component.
    • y1

      private final int y1
      The field for the y1 record component.
    • z

      private final float z
      The field for the z record component.
    • scale

      private final float scale
      The field for the scale record component.
    • layer

      private final class_11227 layer
      The field for the layer record component.
    • scissorArea

      @Nullable private final @Nullable ScreenRect scissorArea
      The field for the scissorArea record component.
  • Constructor Details

  • Method Details

    • toString

      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

      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

      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. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      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.
    • playerModel

      public PlayerEntityModel playerModel()
      Returns the value of the playerModel record component.
      Returns:
      the value of the playerModel record component
    • texture

      public Identifier texture()
      Returns the value of the texture record component.
      Returns:
      the value of the texture record component
    • rotationX

      public float rotationX()
      Returns the value of the rotationX record component.
      Returns:
      the value of the rotationX record component
    • rotationY

      public float rotationY()
      Returns the value of the rotationY record component.
      Returns:
      the value of the rotationY record component
    • pivotY

      public float pivotY()
      Returns the value of the pivotY record component.
      Returns:
      the value of the pivotY record component
    • x0

      public int x0()
      Returns the value of the x0 record component.
      Specified by:
      x0 in interface class_11256
      Returns:
      the value of the x0 record component
    • y0

      public int y0()
      Returns the value of the y0 record component.
      Specified by:
      y0 in interface class_11256
      Returns:
      the value of the y0 record component
    • x1

      public int x1()
      Returns the value of the x1 record component.
      Specified by:
      x1 in interface class_11256
      Returns:
      the value of the x1 record component
    • y1

      public int y1()
      Returns the value of the y1 record component.
      Specified by:
      y1 in interface class_11256
      Returns:
      the value of the y1 record component
    • z

      public float z()
      Returns the value of the z record component.
      Specified by:
      z in interface class_11256
      Returns:
      the value of the z record component
    • scale

      public float scale()
      Returns the value of the scale record component.
      Specified by:
      scale in interface class_11256
      Returns:
      the value of the scale record component
    • layer

      public class_11227 layer()
      Returns the value of the layer record component.
      Specified by:
      layer in interface class_11256
      Returns:
      the value of the layer record component
    • scissorArea

      @Nullable public @Nullable ScreenRect scissorArea()
      Returns the value of the scissorArea record component.
      Specified by:
      scissorArea in interface class_11256
      Returns:
      the value of the scissorArea record component