Package net.minecraft
Record Class class_8597
java.lang.Object
java.lang.Record
net.minecraft.class_8597
- Record Components:
id-
- All Implemented Interfaces:
class_8595
- Mappings:
Namespace Name official adlintermediary net/minecraft/class_8597named net/minecraft/class_8597official aintermediary comp_1571named id
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.id()voidmethod_52296(PacketByteBuf packetByteBuf) final StringtoString()Returns a string representation of this record class.
-
Field Details
-
id
The field for theidrecord component.
-
-
Constructor Details
-
class_8597
-
-
Method Details
-
method_52296
- Specified by:
method_52296in interfaceclass_8595- Mappings:
Namespace Name Mixin selector official aLadj;a(Lsh;)Vintermediary method_52296Lnet/minecraft/class_8595;method_52296(Lnet/minecraft/class_2540;)Vnamed method_52296Lnet/minecraft/class_8595;method_52296(Lnet/minecraft/network/PacketByteBuf;)V
-
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
- Specified by:
idin interfaceclass_8595- Mappings:
Namespace Name Mixin selector official aLadj;a()Laep;intermediary comp_1571Lnet/minecraft/class_8595;comp_1571()Lnet/minecraft/class_2960;named idLnet/minecraft/class_8595;id()Lnet/minecraft/util/Identifier;
-