Record Class DebugHudEntryCategory
java.lang.Object
java.lang.Record
net.minecraft.client.gui.hud.debug.DebugHudEntryCategory
- Record Components:
label-sortKey-
- Mappings:
Namespace Name named net/minecraft/client/gui/hud/debug/DebugHudEntryCategoryintermediary net/minecraft/class_11605official gfhnamed labelintermediary comp_4455official cnamed sortKeyintermediary comp_4456official d
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final TextThe field for thelabelrecord component.static final DebugHudEntryCategoryprivate final floatThe field for thesortKeyrecord component.static final DebugHudEntryCategory -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.label()Returns the value of thelabelrecord component.floatsortKey()Returns the value of thesortKeyrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
label
The field for thelabelrecord component. -
sortKey
private final float sortKeyThe field for thesortKeyrecord component. -
TEXT
- Mappings:
Namespace Name Mixin selector named TEXTLnet/minecraft/client/gui/hud/debug/DebugHudEntryCategory;TEXT:Lnet/minecraft/client/gui/hud/debug/DebugHudEntryCategory;intermediary field_61538Lnet/minecraft/class_11605;field_61538:Lnet/minecraft/class_11605;official aLgfh;a:Lgfh;
-
RENDERER
- Mappings:
Namespace Name Mixin selector named RENDERERLnet/minecraft/client/gui/hud/debug/DebugHudEntryCategory;RENDERER:Lnet/minecraft/client/gui/hud/debug/DebugHudEntryCategory;intermediary field_61539Lnet/minecraft/class_11605;field_61539:Lnet/minecraft/class_11605;official bLgfh;b:Lgfh;
-
-
Constructor Details
-
DebugHudEntryCategory
-
-
Method Details
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
label
Returns the value of thelabelrecord component.- Returns:
- the value of the
labelrecord component
-
sortKey
public float sortKey()Returns the value of thesortKeyrecord component.- Returns:
- the value of the
sortKeyrecord component
-