Package net.minecraft
Record Class class_11426
java.lang.Object
java.lang.Record
net.minecraft.class_11426
- Record Components:
common-actions-onCancel-columns-
- All Implemented Interfaces:
class_11414,class_11419
public record class_11426(class_11417 common, List<class_11415> actions, Optional<ClickEvent> onCancel, int columns)
extends Record
implements class_11414
- Mappings:
Namespace Name named net/minecraft/class_11426intermediary net/minecraft/class_11426official arwnamed commonintermediary comp_4305official gnamed actionsintermediary comp_4317official hnamed onCancelintermediary comp_4309official inamed columnsintermediary comp_4310official j
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<class_11415> The field for theactionsrecord component.private final intThe field for thecolumnsrecord component.private final class_11417The field for thecommonrecord component.static final com.mojang.serialization.MapCodec<class_11426> private final Optional<ClickEvent> The field for theonCancelrecord component.Fields inherited from interface net.minecraft.class_11419
field_60620, field_60621, field_60622, field_60623, field_60624 -
Constructor Summary
ConstructorsConstructorDescriptionclass_11426(class_11417 class_11417, List<class_11415> list, Optional<ClickEvent> optional, int int2) -
Method Summary
Modifier and TypeMethodDescriptionactions()Returns the value of theactionsrecord component.intcolumns()Returns the value of thecolumnsrecord 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_11426> onCancel()Returns the value of theonCancelrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
common
The field for thecommonrecord component. -
actions
The field for theactionsrecord component. -
onCancel
The field for theonCancelrecord component. -
columns
private final int columnsThe field for thecolumnsrecord component. -
field_60631
- Mappings:
Namespace Name Mixin selector named field_60631Lnet/minecraft/class_11426;field_60631:Lcom/mojang/serialization/MapCodec;intermediary field_60631Lnet/minecraft/class_11426;field_60631:Lcom/mojang/serialization/MapCodec;official aLarw;a:Lcom/mojang/serialization/MapCodec;
-
-
Constructor Details
-
class_11426
public class_11426(class_11417 class_11417, List<class_11415> list, Optional<ClickEvent> optional, int int2)
-
-
Method Details
-
method_71692
- Specified by:
method_71692in interfaceclass_11414- Specified by:
method_71692in interfaceclass_11419- 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;
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
common
Returns the value of thecommonrecord component.- Specified by:
commonin interfaceclass_11419- Returns:
- the value of the
commonrecord component
-
actions
Returns the value of theactionsrecord component.- Returns:
- the value of the
actionsrecord component
-
onCancel
Returns the value of theonCancelrecord component.- Specified by:
onCancelin interfaceclass_11419- Returns:
- the value of the
onCancelrecord component
-
columns
public int columns()Returns the value of thecolumnsrecord component.- Specified by:
columnsin interfaceclass_11414- Returns:
- the value of the
columnsrecord component
-