Record Class NeighborUpdateDebugRenderer.Update

java.lang.Object
java.lang.Record
net.minecraft.client.render.debug.NeighborUpdateDebugRenderer.Update
Record Components:
count -
age -
Enclosing class:
NeighborUpdateDebugRenderer

@Environment(CLIENT) private static record NeighborUpdateDebugRenderer.Update(int count, int age) extends Record
Mappings:
Namespace Name
named net/minecraft/client/render/debug/NeighborUpdateDebugRenderer$Update
intermediary net/minecraft/class_869$class_12045
official hly$a
named count
intermediary comp_4902
official a
named age
intermediary comp_4903
official b
  • Field Details

    • count

      private final int count
      The field for the count record component.
    • age

      private final int age
      The field for the age record component.
    • EMPTY

      Mappings:
      Namespace Name Mixin selector
      named EMPTY Lnet/minecraft/client/render/debug/NeighborUpdateDebugRenderer$Update;EMPTY:Lnet/minecraft/client/render/debug/NeighborUpdateDebugRenderer$Update;
      intermediary field_62973 Lnet/minecraft/class_869$class_12045;field_62973:Lnet/minecraft/class_869$class_12045;
      official c Lhly$a;c:Lhly$a;
  • Constructor Details

    • Update

      private Update(int int2, int int3)
  • Method Details

    • withAge

      public NeighborUpdateDebugRenderer.Update withAge(int age)
      Mappings:
      Namespace Name Mixin selector
      named withAge Lnet/minecraft/client/render/debug/NeighborUpdateDebugRenderer$Update;withAge(I)Lnet/minecraft/client/render/debug/NeighborUpdateDebugRenderer$Update;
      intermediary method_74795 Lnet/minecraft/class_869$class_12045;method_74795(I)Lnet/minecraft/class_869$class_12045;
      official a Lhly$a;a(I)Lhly$a;
    • 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.
    • count

      public int count()
      Returns the value of the count record component.
      Returns:
      the value of the count record component
    • age

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