Package net.minecraft
Record Class class_8390.class_8392
java.lang.Object
java.lang.Record
net.minecraft.class_8390.class_8392
- Record Components:
displayName-
- All Implemented Interfaces:
class_8390
- Enclosing interface:
class_8390
- Mappings:
Namespace Name official bgw$bintermediary net/minecraft/class_8390$class_8392named net/minecraft/class_8390$class_8392official eintermediary comp_1419named displayName
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.class_8390
class_8390.class_8391, class_8390.class_8392, class_8390.class_8393, class_8390.class_8394, class_8390.class_8395 -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final TextThe field for thedisplayNamerecord component.(package private) static final com.mojang.serialization.Codec<class_8390.class_8392>Fields inherited from interface net.minecraft.class_8390
field_44030, field_44031, field_44032, field_44033 -
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.booleanmethod_50602(ServerPlayerEntity serverPlayerEntity, int int2, boolean bool) final StringtoString()Returns a string representation of this record class.
-
Field Details
-
displayName
The field for thedisplayNamerecord component. -
field_44035
- Mappings:
Namespace Name Mixin selector official fLbgw$b;f:Lcom/mojang/serialization/Codec;intermediary field_44035Lnet/minecraft/class_8390$class_8392;field_44035:Lcom/mojang/serialization/Codec;named field_44035Lnet/minecraft/class_8390$class_8392;field_44035:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
class_8392
-
-
Method Details
-
method_50601
- Specified by:
method_50601in interfaceclass_8390- Mappings:
Namespace Name Mixin selector official aLbgw;a()Lbgw$c;intermediary method_50601Lnet/minecraft/class_8390;method_50601()Lnet/minecraft/class_8390$class_8393;named method_50601Lnet/minecraft/class_8390;method_50601()Lnet/minecraft/class_8390$class_8393;
-
method_50602
- Specified by:
method_50602in interfaceclass_8390- Mappings:
Namespace Name Mixin selector official aLbgw;a(Lail;IZ)Zintermediary method_50602Lnet/minecraft/class_8390;method_50602(Lnet/minecraft/class_3222;IZ)Znamed method_50602Lnet/minecraft/class_8390;method_50602(Lnet/minecraft/server/network/ServerPlayerEntity;IZ)Z
-
method_50604
- Specified by:
method_50604in interfaceclass_8390- Mappings:
Namespace Name Mixin selector official bLbgw;b()Lsw;intermediary method_50604Lnet/minecraft/class_8390;method_50604()Lnet/minecraft/class_2561;named method_50604Lnet/minecraft/class_8390;method_50604()Lnet/minecraft/text/Text;
-
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). -
displayName
Returns the value of thedisplayNamerecord component.- Returns:
- the value of the
displayNamerecord component
-