Package net.minecraft.dialog.type
Record Class MultiActionInputFormDialog
java.lang.Object
java.lang.Record
net.minecraft.dialog.type.MultiActionInputFormDialog
- Record Components:
common-inputs-actions-
- All Implemented Interfaces:
Dialog,InputFormDialog
public record MultiActionInputFormDialog(DialogCommonData common, List<InputFormDialog.DialogInput> inputs, List<InputFormDialog.DialogAction> actions)
extends Record
implements InputFormDialog
- Mappings:
Namespace Name named net/minecraft/dialog/type/MultiActionInputFormDialogintermediary net/minecraft/class_11427official arxnamed commonintermediary comp_4305official gnamed inputsintermediary comp_4318official hnamed actionsintermediary comp_4319official i
-
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 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 -
Constructor Summary
ConstructorsConstructorDescriptionMultiActionInputFormDialog(DialogCommonData dialogCommonData, List<InputFormDialog.DialogInput> list, List<InputFormDialog.DialogAction> list2) -
Method Summary
Modifier and TypeMethodDescriptionactions()Returns the value of theactionsrecord 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. -
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 aLarx;a:Lcom/mojang/serialization/MapCodec;
-
-
Constructor Details
-
MultiActionInputFormDialog
public MultiActionInputFormDialog(DialogCommonData dialogCommonData, List<InputFormDialog.DialogInput> list, List<InputFormDialog.DialogAction> list2)
-
-
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 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. All components in this record class are compared withObjects::equals(Object,Object). -
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
-