Package net.minecraft

Record Class class_11252

java.lang.Object
java.lang.Record
net.minecraft.class_11252
Record Components:
renderState -
translation -
rotation -
overrideCameraAngle -
x0 -
y0 -
x1 -
y1 -
z -
scale -
layer -
scissorArea -
All Implemented Interfaces:
class_11256

@Environment(CLIENT) public record class_11252(EntityRenderState renderState, Vector3f translation, Quaternionf rotation, @Nullable Quaternionf overrideCameraAngle, 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_11252
intermediary net/minecraft/class_11252
official fzz
named renderState
intermediary comp_4134
official a
named translation
intermediary comp_4135
official b
named rotation
intermediary comp_4136
official c
named overrideCameraAngle
intermediary comp_4137
official d
named x0
intermediary comp_4122
official e
named y0
intermediary comp_4123
official f
named x1
intermediary comp_4124
official g
named y1
intermediary comp_4125
official h
named z
intermediary comp_4126
official i
named scale
intermediary comp_4133
official j
named layer
intermediary comp_4127
official k
named scissorArea
intermediary comp_4128
official l
  • Field Details

    • renderState

      private final EntityRenderState renderState
      The field for the renderState record component.
    • translation

      private final Vector3f translation
      The field for the translation record component.
    • rotation

      private final Quaternionf rotation
      The field for the rotation record component.
    • overrideCameraAngle

      @Nullable private final @Nullable Quaternionf overrideCameraAngle
      The field for the overrideCameraAngle 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.
    • renderState

      public EntityRenderState renderState()
      Returns the value of the renderState record component.
      Returns:
      the value of the renderState record component
    • translation

      public Vector3f translation()
      Returns the value of the translation record component.
      Returns:
      the value of the translation record component
    • rotation

      public Quaternionf rotation()
      Returns the value of the rotation record component.
      Returns:
      the value of the rotation record component
    • overrideCameraAngle

      @Nullable public @Nullable Quaternionf overrideCameraAngle()
      Returns the value of the overrideCameraAngle record component.
      Returns:
      the value of the overrideCameraAngle 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