Record Class BakedQuad

java.lang.Object
java.lang.Record
net.minecraft.client.render.model.BakedQuad
Record Components:
position0 -
position1 -
position2 -
position3 -
packedUV0 -
packedUV1 -
packedUV2 -
packedUV3 -
tintIndex -
face -
sprite -
shade -
lightEmission -

@Environment(CLIENT) public record BakedQuad(Vector3fc position0, Vector3fc position1, Vector3fc position2, Vector3fc position3, long packedUV0, long packedUV1, long packedUV2, long packedUV3, int tintIndex, Direction face, Sprite sprite, boolean shade, int lightEmission) extends Record
Mappings:
Namespace Name
named net/minecraft/client/render/model/BakedQuad
intermediary net/minecraft/class_777
official hmc
named position0
intermediary comp_5238
official b
named position1
intermediary comp_5239
official c
named position2
intermediary comp_5240
official d
named position3
intermediary comp_5241
official e
named packedUV0
intermediary comp_5242
official f
named packedUV1
intermediary comp_5243
official g
named packedUV2
intermediary comp_5244
official h
named packedUV3
intermediary comp_5245
official i
named tintIndex
intermediary comp_3722
official j
named face
intermediary comp_3723
official k
named sprite
intermediary comp_3724
official l
named shade
intermediary comp_3725
official m
named lightEmission
intermediary comp_3726
official n
  • Field Details

    • position0

      private final Vector3fc position0
      The field for the position0 record component.
    • position1

      private final Vector3fc position1
      The field for the position1 record component.
    • position2

      private final Vector3fc position2
      The field for the position2 record component.
    • position3

      private final Vector3fc position3
      The field for the position3 record component.
    • packedUV0

      private final long packedUV0
      The field for the packedUV0 record component.
    • packedUV1

      private final long packedUV1
      The field for the packedUV1 record component.
    • packedUV2

      private final long packedUV2
      The field for the packedUV2 record component.
    • packedUV3

      private final long packedUV3
      The field for the packedUV3 record component.
    • tintIndex

      private final int tintIndex
      The field for the tintIndex record component.
    • face

      private final Direction face
      The field for the face record component.
    • sprite

      private final Sprite sprite
      The field for the sprite record component.
    • shade

      private final boolean shade
      The field for the shade record component.
    • lightEmission

      private final int lightEmission
      The field for the lightEmission record component.
    • field_64572

      public static final int field_64572
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_64572 Lnet/minecraft/client/render/model/BakedQuad;field_64572:I
      intermediary field_64572 Lnet/minecraft/class_777;field_64572:I
      official a Lhmc;a:I
  • Constructor Details

    • BakedQuad

      public BakedQuad(Vector3fc position0, Vector3fc position1, Vector3fc position2, Vector3fc position3, long packedUV0, long packedUV1, long packedUV2, long packedUV3, int tintIndex, Direction face, Sprite sprite, boolean shade, int lightEmission)
      Creates an instance of a BakedQuad record class.
      Parameters:
      position0 - the value for the position0 record component
      position1 - the value for the position1 record component
      position2 - the value for the position2 record component
      position3 - the value for the position3 record component
      packedUV0 - the value for the packedUV0 record component
      packedUV1 - the value for the packedUV1 record component
      packedUV2 - the value for the packedUV2 record component
      packedUV3 - the value for the packedUV3 record component
      tintIndex - the value for the tintIndex record component
      face - the value for the face record component
      sprite - the value for the sprite record component
      shade - the value for the shade record component
      lightEmission - the value for the lightEmission record component
  • Method Details

    • hasTint

      public boolean hasTint()
      Mappings:
      Namespace Name Mixin selector
      named hasTint Lnet/minecraft/client/render/model/BakedQuad;hasTint()Z
      intermediary method_3360 Lnet/minecraft/class_777;method_3360()Z
      official a Lhmc;a()Z
    • method_76648

      public Vector3fc method_76648(int int2)
      Mappings:
      Namespace Name Mixin selector
      named method_76648 Lnet/minecraft/client/render/model/BakedQuad;method_76648(I)Lorg/joml/Vector3fc;
      intermediary method_76648 Lnet/minecraft/class_777;method_76648(I)Lorg/joml/Vector3fc;
      official a Lhmc;a(I)Lorg/joml/Vector3fc;
    • method_76649

      public long method_76649(int int2)
      Mappings:
      Namespace Name Mixin selector
      named method_76649 Lnet/minecraft/client/render/model/BakedQuad;method_76649(I)J
      intermediary method_76649 Lnet/minecraft/class_777;method_76649(I)J
      official b Lhmc;b(I)J
    • 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.
    • position0

      public Vector3fc position0()
      Returns the value of the position0 record component.
      Returns:
      the value of the position0 record component
    • position1

      public Vector3fc position1()
      Returns the value of the position1 record component.
      Returns:
      the value of the position1 record component
    • position2

      public Vector3fc position2()
      Returns the value of the position2 record component.
      Returns:
      the value of the position2 record component
    • position3

      public Vector3fc position3()
      Returns the value of the position3 record component.
      Returns:
      the value of the position3 record component
    • packedUV0

      public long packedUV0()
      Returns the value of the packedUV0 record component.
      Returns:
      the value of the packedUV0 record component
    • packedUV1

      public long packedUV1()
      Returns the value of the packedUV1 record component.
      Returns:
      the value of the packedUV1 record component
    • packedUV2

      public long packedUV2()
      Returns the value of the packedUV2 record component.
      Returns:
      the value of the packedUV2 record component
    • packedUV3

      public long packedUV3()
      Returns the value of the packedUV3 record component.
      Returns:
      the value of the packedUV3 record component
    • tintIndex

      public int tintIndex()
      Returns the value of the tintIndex record component.
      Returns:
      the value of the tintIndex record component
    • face

      public Direction face()
      Returns the value of the face record component.
      Returns:
      the value of the face record component
    • sprite

      public Sprite sprite()
      Returns the value of the sprite record component.
      Returns:
      the value of the sprite record component
    • shade

      public boolean shade()
      Returns the value of the shade record component.
      Returns:
      the value of the shade record component
    • lightEmission

      public int lightEmission()
      Returns the value of the lightEmission record component.
      Returns:
      the value of the lightEmission record component