Record Class WeatherRendering.Piece

java.lang.Object
java.lang.Record
net.minecraft.client.render.WeatherRendering.Piece
Record Components:
x -
z -
bottomY -
topY -
uOffset -
vOffset -
lightCoords -
Enclosing class:
WeatherRendering

@Environment(CLIENT) private static record WeatherRendering.Piece(int x, int z, int bottomY, int topY, float uOffset, float vOffset, int lightCoords) extends Record
Mappings:
Namespace Name
named net/minecraft/client/render/WeatherRendering$Piece
intermediary net/minecraft/class_9976$class_9977
official gmk$a
named x
intermediary comp_3042
official a
named z
intermediary comp_3043
official b
named bottomY
intermediary comp_3044
official c
named topY
intermediary comp_3045
official d
named uOffset
intermediary comp_3046
official e
named vOffset
intermediary comp_3047
official f
named lightCoords
intermediary comp_3048
official g
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final int
    The field for the bottomY record component.
    private final int
    The field for the lightCoords record component.
    private final int
    The field for the topY record component.
    private final float
    The field for the uOffset record component.
    private final float
    The field for the vOffset record component.
    private final int
    The field for the x record component.
    private final int
    The field for the z record component.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Piece(int int2, int int3, int int4, int int5, float float2, float float3, int int6)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the value of the bottomY record component.
    final boolean
    equals(Object object)
    Indicates whether some other object is "equal to" this one.
    final int
    Returns a hash code value for this object.
    int
    Returns the value of the lightCoords record component.
    int
    Returns the value of the topY record component.
    final String
    Returns a string representation of this record class.
    float
    Returns the value of the uOffset record component.
    float
    Returns the value of the vOffset record component.
    int
    x()
    Returns the value of the x record component.
    int
    z()
    Returns the value of the z record component.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • x

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

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

      private final int bottomY
      The field for the bottomY record component.
    • topY

      private final int topY
      The field for the topY record component.
    • uOffset

      private final float uOffset
      The field for the uOffset record component.
    • vOffset

      private final float vOffset
      The field for the vOffset record component.
    • lightCoords

      private final int lightCoords
      The field for the lightCoords record component.
  • Constructor Details

    • Piece

      Piece(int int2, int int3, int int4, int int5, float float2, float float3, int int6)
  • 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. All components in this record class 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.
    • x

      public int x()
      Returns the value of the x record component.
      Returns:
      the value of the x record component
    • z

      public int z()
      Returns the value of the z record component.
      Returns:
      the value of the z record component
    • bottomY

      public int bottomY()
      Returns the value of the bottomY record component.
      Returns:
      the value of the bottomY record component
    • topY

      public int topY()
      Returns the value of the topY record component.
      Returns:
      the value of the topY record component
    • uOffset

      public float uOffset()
      Returns the value of the uOffset record component.
      Returns:
      the value of the uOffset record component
    • vOffset

      public float vOffset()
      Returns the value of the vOffset record component.
      Returns:
      the value of the vOffset record component
    • lightCoords

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