Package net.minecraft
Record Class class_8376.class_8378
java.lang.Object
java.lang.Record
net.minecraft.class_8376.class_8378
- Record Components:
displayName
-changes
-
- Enclosing class:
class_8376
public static record class_8376.class_8378(Text displayName, List<class_8376.class_8377> changes)
extends Record
- Mappings:
Namespace Name official bgp$b
intermediary net/minecraft/class_8376$class_8378
named net/minecraft/class_8376$class_8378
official b
intermediary comp_1390
named displayName
official c
intermediary comp_1391
named changes
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<class_8376.class_8377>
The field for thechanges
record component.private final Text
The field for thedisplayName
record component.static final com.mojang.serialization.Codec<class_8376.class_8378>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionchanges()
Returns the value of thechanges
record component.Returns 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.boolean
method_50543
(class_8290 class_8290) final String
toString()
Returns a string representation of this record class.
-
Field Details
-
displayName
The field for thedisplayName
record component. -
changes
The field for thechanges
record component. -
field_43998
- Mappings:
Namespace Name Mixin selector official a
Lbgp$b;a:Lcom/mojang/serialization/Codec;
intermediary field_43998
Lnet/minecraft/class_8376$class_8378;field_43998:Lcom/mojang/serialization/Codec;
named field_43998
Lnet/minecraft/class_8376$class_8378;field_43998:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
class_8378
-
-
Method Details
-
method_50543
- Mappings:
Namespace Name Mixin selector official a
Lbgp$b;a(Lbed;)Z
intermediary method_50543
Lnet/minecraft/class_8376$class_8378;method_50543(Lnet/minecraft/class_8290;)Z
named method_50543
Lnet/minecraft/class_8376$class_8378;method_50543(Lnet/minecraft/class_8290;)Z
-
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 thedisplayName
record component.- Returns:
- the value of the
displayName
record component
-
changes
Returns the value of thechanges
record component.- Returns:
- the value of the
changes
record component
-