Record Class BakedQuad

java.lang.Object
java.lang.Record
net.minecraft.client.render.model.BakedQuad
Record Components:
vertexData -
tintIndex -
face -
sprite -
shade -
lightEmission -

@Environment(CLIENT) public record BakedQuad(int[] vertexData, 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 gst
named vertexData
intermediary comp_3721
official a
named tintIndex
intermediary comp_3722
official b
named face
intermediary comp_3723
official c
named sprite
intermediary comp_3724
official d
named shade
intermediary comp_3725
official e
named lightEmission
intermediary comp_3726
official f
  • Field Details Link icon

    • vertexData Link icon

      private final int[] vertexData
      The field for the vertexData record component.
    • tintIndex Link icon

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

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

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

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

      private final int lightEmission
      The field for the lightEmission record component.
  • Constructor Details Link icon

    • BakedQuad Link icon

      public BakedQuad(int[] vertexData, int tintIndex, Direction face, Sprite sprite, boolean shade, int lightEmission)
      Creates an instance of a BakedQuad record class.
      Parameters:
      vertexData - the value for the vertexData 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 Link icon

    • hasTint Link icon

      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 Lgst;a()Z
    • 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. 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.
    • vertexData Link icon

      public int[] vertexData()
      Returns the value of the vertexData record component.
      Returns:
      the value of the vertexData record component
    • tintIndex Link icon

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

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

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

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

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