Package net.minecraft
Record Class class_11633.class_11634
java.lang.Object
java.lang.Record
net.minecraft.class_11633.class_11634
- Record Components:
profile-custom-
- Enclosing class:
class_11633
@Environment(CLIENT)
static record class_11633.class_11634(Optional<class_11636> profile, Optional<Map<Identifier,class_11635>> custom)
extends Record
- Mappings:
Namespace Name named net/minecraft/class_11633$class_11634intermediary net/minecraft/class_11633$class_11634official gbp$anamed profileintermediary comp_4457official bnamed customintermediary comp_4458official c
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Optional<Map<Identifier, class_11635>> The field for thecustomrecord component.static final com.mojang.serialization.Codec<class_11633.class_11634> private static final com.mojang.serialization.Codec<Map<Identifier, class_11635>> private final Optional<class_11636> The field for theprofilerecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_11634(Optional<class_11636> optional, Optional<Map<Identifier, class_11635>> optional2) -
Method Summary
Modifier and TypeMethodDescriptioncustom()Returns the value of thecustomrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.profile()Returns the value of theprofilerecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
profile
The field for theprofilerecord component. -
custom
The field for thecustomrecord component. -
field_61592
- Mappings:
Namespace Name Mixin selector named field_61592Lnet/minecraft/class_11633$class_11634;field_61592:Lcom/mojang/serialization/Codec;intermediary field_61592Lnet/minecraft/class_11633$class_11634;field_61592:Lcom/mojang/serialization/Codec;official dLgbp$a;d:Lcom/mojang/serialization/Codec;
-
field_61591
- Mappings:
Namespace Name Mixin selector named field_61591Lnet/minecraft/class_11633$class_11634;field_61591:Lcom/mojang/serialization/Codec;intermediary field_61591Lnet/minecraft/class_11633$class_11634;field_61591:Lcom/mojang/serialization/Codec;official aLgbp$a;a:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
class_11634
class_11634(Optional<class_11636> optional, Optional<Map<Identifier, class_11635>> optional2)
-
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
profile
Returns the value of theprofilerecord component.- Returns:
- the value of the
profilerecord component
-
custom
Returns the value of thecustomrecord component.- Returns:
- the value of the
customrecord component
-