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 bfs
intermediary net/minecraft/class_8345
named net/minecraft/class_8345
official b
intermediary comp_1354
named id
official c
intermediary comp_1355
named name
official d
intermediary comp_1356
named displayName
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Text
The field for thedisplayName
record component.static final com.mojang.serialization.Codec<class_8345>
private final UUID
The field for theid
record component.private final String
The field for thename
record component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedisplayName
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.id()
Returns the value of theid
record component.com.mojang.authlib.GameProfile
static class_8345
method_50412
(ServerPlayerEntity serverPlayerEntity) name()
Returns the value of thename
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
id
The field for theid
record component. -
name
The field for thename
record component. -
displayName
The field for thedisplayName
record component. -
field_43918
- Mappings:
Namespace Name Mixin selector official a
Lbfs;a:Lcom/mojang/serialization/Codec;
intermediary field_43918
Lnet/minecraft/class_8345;field_43918:Lcom/mojang/serialization/Codec;
named field_43918
Lnet/minecraft/class_8345;field_43918:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
class_8345
-
-
Method Details
-
method_50412
- Mappings:
Namespace Name Mixin selector official a
Lbfs;a(Lail;)Lbfs;
intermediary method_50412
Lnet/minecraft/class_8345;method_50412(Lnet/minecraft/class_3222;)Lnet/minecraft/class_8345;
named method_50412
Lnet/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 a
Lbfs;a()Lcom/mojang/authlib/GameProfile;
intermediary method_50411
Lnet/minecraft/class_8345;method_50411()Lcom/mojang/authlib/GameProfile;
named method_50411
Lnet/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 theid
record component.- Returns:
- the value of the
id
record component
-
name
Returns the value of thename
record component.- Returns:
- the value of the
name
record component
-
displayName
Returns the value of thedisplayName
record component.- Returns:
- the value of the
displayName
record component
-