Package net.minecraft
Record Class class_11428
java.lang.Object
java.lang.Record
net.minecraft.class_11428
- Record Components:
common--
- All Implemented Interfaces:
class_11419,class_11430
public record class_11428(class_11417 common, class_11415 button)
extends Record
implements class_11430
- Mappings:
Namespace Name named net/minecraft/class_11428intermediary net/minecraft/class_11428official arynamed commonintermediary comp_4305official hnamed buttonintermediary comp_4320official i
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final class_11415The field for thebuttonrecord component.private final class_11417The field for thecommonrecord component.static final class_11415static final com.mojang.serialization.MapCodec<class_11428> Fields inherited from interface net.minecraft.class_11419
field_60620, field_60621, field_60622, field_60623, field_60624 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbutton()Returns the value of thebuttonrecord component.common()Returns the value of thecommonrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.com.mojang.serialization.MapCodec<class_11428> onCancel()final StringtoString()Returns a string representation of this record class.
-
Field Details
-
common
The field for thecommonrecord component. -
button
The field for thebuttonrecord component. -
field_60633
- Mappings:
Namespace Name Mixin selector named field_60633Lnet/minecraft/class_11428;field_60633:Lnet/minecraft/class_11415;intermediary field_60633Lnet/minecraft/class_11428;field_60633:Lnet/minecraft/class_11415;official aLary;a:Larn;
-
field_60634
- Mappings:
Namespace Name Mixin selector named field_60634Lnet/minecraft/class_11428;field_60634:Lcom/mojang/serialization/MapCodec;intermediary field_60634Lnet/minecraft/class_11428;field_60634:Lcom/mojang/serialization/MapCodec;official gLary;g:Lcom/mojang/serialization/MapCodec;
-
-
Constructor Details
-
class_11428
-
-
Method Details
-
method_71692
- Specified by:
method_71692in interfaceclass_11419- Specified by:
method_71692in interfaceclass_11430- Mappings:
Namespace Name Mixin selector named method_71692Lnet/minecraft/class_11419;method_71692()Lcom/mojang/serialization/MapCodec;intermediary method_71692Lnet/minecraft/class_11419;method_71692()Lcom/mojang/serialization/MapCodec;official aLarr;a()Lcom/mojang/serialization/MapCodec;
-
onCancel
- Specified by:
onCancelin interfaceclass_11419- Mappings:
Namespace Name Mixin selector named onCancelLnet/minecraft/class_11419;onCancel()Ljava/util/Optional;intermediary comp_4309Lnet/minecraft/class_11419;comp_4309()Ljava/util/Optional;official A_Larr;A_()Ljava/util/Optional;
-
method_71698
- Specified by:
method_71698in interfaceclass_11430- Mappings:
Namespace Name Mixin selector named method_71698Lnet/minecraft/class_11430;method_71698()Ljava/util/List;intermediary method_71698Lnet/minecraft/class_11430;method_71698()Ljava/util/List;official cLasa;c()Ljava/util/List;
-
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). -
common
Returns the value of thecommonrecord component.- Specified by:
commonin interfaceclass_11419- Returns:
- the value of the
commonrecord component
-
button
Returns the value of thebuttonrecord component.- Returns:
- the value of the
buttonrecord component
-