Package net.minecraft
Record Class class_11423.class_11425
java.lang.Object
java.lang.Record
net.minecraft.class_11423.class_11425
- Record Components:
id--method-
- Enclosing interface:
class_11423
public static record class_11423.class_11425(String id, class_11416 buttonData, class_11452 method)
extends Record
- Mappings:
Namespace Name named net/minecraft/class_11423$class_11425intermediary net/minecraft/class_11423$class_11425official arv$bnamed idintermediary comp_4314official bnamed buttonDataintermediary comp_4315official cnamed methodintermediary comp_4316official d
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final class_11416The field for thebuttonDatarecord component.static final com.mojang.serialization.Codec<class_11423.class_11425> private final StringThe field for theidrecord component.private final class_11452The field for themethodrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_11425(String string, class_11416 class_11416, class_11452 class_11452) -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebuttonDatarecord 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.method()Returns the value of themethodrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
id
The field for theidrecord component. -
buttonData
The field for thebuttonDatarecord component. -
method
The field for themethodrecord component. -
field_60630
- Mappings:
Namespace Name Mixin selector named field_60630Lnet/minecraft/class_11423$class_11425;field_60630:Lcom/mojang/serialization/Codec;intermediary field_60630Lnet/minecraft/class_11423$class_11425;field_60630:Lcom/mojang/serialization/Codec;official aLarv$b;a:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
class_11425
-
-
Method Details
-
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
-
buttonData
Returns the value of thebuttonDatarecord component.- Returns:
- the value of the
buttonDatarecord component
-
method
Returns the value of themethodrecord component.- Returns:
- the value of the
methodrecord component
-