Package net.minecraft
Record Class class_11442.class_11443
java.lang.Object
java.lang.Record
net.minecraft.class_11442.class_11443
- Record Components:
id-display-initial-
- Enclosing class:
class_11442
public static record class_11442.class_11443(String id, Optional<Text> display, boolean initial)
extends Record
- Mappings:
Namespace Name named net/minecraft/class_11442$class_11443intermediary net/minecraft/class_11442$class_11443official asl$anamed idintermediary comp_4348official cnamed displayintermediary comp_4349official dnamed initialintermediary comp_4350official e
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe field for thedisplayrecord component.static final com.mojang.serialization.Codec<class_11442.class_11443> static final com.mojang.serialization.Codec<class_11442.class_11443> private final StringThe field for theidrecord component.private final booleanThe field for theinitialrecord component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondisplay()Returns the value of thedisplayrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.booleaninitial()Returns the value of theinitialrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
id
The field for theidrecord component. -
display
The field for thedisplayrecord component. -
initial
private final boolean initialThe field for theinitialrecord component. -
field_60648
- Mappings:
Namespace Name Mixin selector named field_60648Lnet/minecraft/class_11442$class_11443;field_60648:Lcom/mojang/serialization/Codec;intermediary field_60648Lnet/minecraft/class_11442$class_11443;field_60648:Lcom/mojang/serialization/Codec;official aLasl$a;a:Lcom/mojang/serialization/Codec;
-
field_60649
- Mappings:
Namespace Name Mixin selector named field_60649Lnet/minecraft/class_11442$class_11443;field_60649:Lcom/mojang/serialization/Codec;intermediary field_60649Lnet/minecraft/class_11442$class_11443;field_60649:Lcom/mojang/serialization/Codec;official bLasl$a;b:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
class_11443
-
-
Method Details
-
method_71733
- Mappings:
Namespace Name Mixin selector named method_71733Lnet/minecraft/class_11442$class_11443;method_71733()Lnet/minecraft/text/Text;intermediary method_71733Lnet/minecraft/class_11442$class_11443;method_71733()Lnet/minecraft/class_2561;official aLasl$a;a()Lxm;
-
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 '=='. -
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
display
Returns the value of thedisplayrecord component.- Returns:
- the value of the
displayrecord component
-
initial
public boolean initial()Returns the value of theinitialrecord component.- Returns:
- the value of the
initialrecord component
-