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$Updateintermediary net/minecraft/class_869$class_12045official hly$anamed countintermediary comp_4902official anamed ageintermediary comp_4903official b
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintage()Returns the value of theagerecord component.intcount()Returns the value of thecountrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.withAge(int age)
-
Field Details
-
count
private final int countThe field for thecountrecord component. -
age
private final int ageThe field for theagerecord component. -
EMPTY
- Mappings:
Namespace Name Mixin selector named EMPTYLnet/minecraft/client/render/debug/NeighborUpdateDebugRenderer$Update;EMPTY:Lnet/minecraft/client/render/debug/NeighborUpdateDebugRenderer$Update;intermediary field_62973Lnet/minecraft/class_869$class_12045;field_62973:Lnet/minecraft/class_869$class_12045;official cLhly$a;c:Lhly$a;
-
-
Constructor Details
-
Update
private Update(int int2, int int3)
-
-
Method Details
-
withAge
- Mappings:
Namespace Name Mixin selector named withAgeLnet/minecraft/client/render/debug/NeighborUpdateDebugRenderer$Update;withAge(I)Lnet/minecraft/client/render/debug/NeighborUpdateDebugRenderer$Update;intermediary method_74795Lnet/minecraft/class_869$class_12045;method_74795(I)Lnet/minecraft/class_869$class_12045;official aLhly$a;a(I)Lhly$a;
-
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. -
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. -
equals
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 '=='. -
count
public int count()Returns the value of thecountrecord component.- Returns:
- the value of the
countrecord component
-
age
public int age()Returns the value of theagerecord component.- Returns:
- the value of the
agerecord component
-