Package net.minecraft.dialog.type
Record Class MultiActionInputFormDialog
java.lang.Object
java.lang.Record
net.minecraft.dialog.type.MultiActionInputFormDialog
- Record Components:
common-inputs-actions-columns-
- All Implemented Interfaces:
Dialog,InputFormDialog
public record MultiActionInputFormDialog(DialogCommonData common, List<InputFormDialog.DialogInput> inputs, List<InputFormDialog.DialogAction> actions, int columns)
extends Record
implements InputFormDialog
- Mappings:
Namespace Name named net/minecraft/dialog/type/MultiActionInputFormDialogintermediary net/minecraft/class_11427official arznamed commonintermediary comp_4305official hnamed inputsintermediary comp_4318official inamed actionsintermediary comp_4319official jnamed columnsintermediary comp_4381official k
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.dialog.type.InputFormDialog
InputFormDialog.DialogAction, InputFormDialog.DialogInput -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<InputFormDialog.DialogAction> The field for theactionsrecord component.static final com.mojang.serialization.MapCodec<MultiActionInputFormDialog> private final intThe field for thecolumnsrecord component.private final DialogCommonDataThe field for thecommonrecord component.private final List<InputFormDialog.DialogInput> The field for theinputsrecord component.Fields inherited from interface net.minecraft.dialog.type.Dialog
ENTRY_CODEC, ENTRY_LIST_CODEC, ENTRY_PACKET_CODEC, PACKET_CODEC, WIDTH_CODEC -
Constructor Summary
ConstructorsConstructorDescriptionMultiActionInputFormDialog(DialogCommonData dialogCommonData, List<InputFormDialog.DialogInput> list, List<InputFormDialog.DialogAction> list2, 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.com.mojang.serialization.MapCodec<MultiActionInputFormDialog> getCodec()final inthashCode()Returns a hash code value for this object.inputs()Returns the value of theinputsrecord component.final StringtoString()Returns a string representation of this record class.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.dialog.type.InputFormDialog
onCancel
-
Field Details
-
common
The field for thecommonrecord component. -
inputs
The field for theinputsrecord component. -
actions
The field for theactionsrecord component. -
columns
private final int columnsThe field for thecolumnsrecord component. -
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/dialog/type/MultiActionInputFormDialog;CODEC:Lcom/mojang/serialization/MapCodec;intermediary field_60632Lnet/minecraft/class_11427;field_60632:Lcom/mojang/serialization/MapCodec;official aLarz;a:Lcom/mojang/serialization/MapCodec;
-
-
Constructor Details
-
MultiActionInputFormDialog
public MultiActionInputFormDialog(DialogCommonData dialogCommonData, List<InputFormDialog.DialogInput> list, List<InputFormDialog.DialogAction> list2, int int2)
-
-
Method Details
-
getCodec
- Specified by:
getCodecin interfaceDialog- Specified by:
getCodecin interfaceInputFormDialog- Mappings:
Namespace Name Mixin selector named getCodecLnet/minecraft/dialog/type/Dialog;getCodec()Lcom/mojang/serialization/MapCodec;intermediary method_71692Lnet/minecraft/class_11419;method_71692()Lcom/mojang/serialization/MapCodec;official aLart;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. -
inputs
Returns the value of theinputsrecord component.- Returns:
- the value of the
inputsrecord component
-
actions
Returns the value of theactionsrecord component.- Returns:
- the value of the
actionsrecord component
-
columns
public int columns()Returns the value of thecolumnsrecord component.- Returns:
- the value of the
columnsrecord component
-