Package net.minecraft
Record Class class_8345
java.lang.Object
java.lang.Record
net.minecraft.class_8345
- Record Components:
id-name-displayName-
- Mappings:
Namespace Name official bfsintermediary net/minecraft/class_8345named net/minecraft/class_8345official bintermediary comp_1354named idofficial cintermediary comp_1355named nameofficial dintermediary comp_1356named displayName
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final TextThe field for thedisplayNamerecord component.static final com.mojang.serialization.Codec<class_8345>private final UUIDThe field for theidrecord component.private final StringThe field for thenamerecord component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedisplayNamerecord 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.com.mojang.authlib.GameProfilestatic class_8345method_50412(ServerPlayerEntity serverPlayerEntity) name()Returns the value of thenamerecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
id
The field for theidrecord component. -
name
The field for thenamerecord component. -
displayName
The field for thedisplayNamerecord component. -
field_43918
- Mappings:
Namespace Name Mixin selector official aLbfs;a:Lcom/mojang/serialization/Codec;intermediary field_43918Lnet/minecraft/class_8345;field_43918:Lcom/mojang/serialization/Codec;named field_43918Lnet/minecraft/class_8345;field_43918:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
class_8345
-
-
Method Details
-
method_50412
- Mappings:
Namespace Name Mixin selector official aLbfs;a(Lail;)Lbfs;intermediary method_50412Lnet/minecraft/class_8345;method_50412(Lnet/minecraft/class_3222;)Lnet/minecraft/class_8345;named method_50412Lnet/minecraft/class_8345;method_50412(Lnet/minecraft/server/network/ServerPlayerEntity;)Lnet/minecraft/class_8345;
-
method_50411
public com.mojang.authlib.GameProfile method_50411()- Mappings:
Namespace Name Mixin selector official aLbfs;a()Lcom/mojang/authlib/GameProfile;intermediary method_50411Lnet/minecraft/class_8345;method_50411()Lcom/mojang/authlib/GameProfile;named method_50411Lnet/minecraft/class_8345;method_50411()Lcom/mojang/authlib/GameProfile;
-
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). -
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
displayName
Returns the value of thedisplayNamerecord component.- Returns:
- the value of the
displayNamerecord component
-