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/MultiActionInputFormDialog
intermediary net/minecraft/class_11427
official arz
named common
intermediary comp_4305
official h
named inputs
intermediary comp_4318
official i
named actions
intermediary comp_4319
official j
named columns
intermediary comp_4381
official k
  • Field Details

    • common

      private final DialogCommonData common
      The field for the common record component.
    • inputs

      private final List<InputFormDialog.DialogInput> inputs
      The field for the inputs record component.
    • actions

      private final List<InputFormDialog.DialogAction> actions
      The field for the actions record component.
    • columns

      private final int columns
      The field for the columns record component.
    • CODEC

      public static final com.mojang.serialization.MapCodec<MultiActionInputFormDialog> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/dialog/type/MultiActionInputFormDialog;CODEC:Lcom/mojang/serialization/MapCodec;
      intermediary field_60632 Lnet/minecraft/class_11427;field_60632:Lcom/mojang/serialization/MapCodec;
      official a Larz;a:Lcom/mojang/serialization/MapCodec;
  • Constructor Details

  • Method Details

    • getCodec

      public com.mojang.serialization.MapCodec<MultiActionInputFormDialog> getCodec()
      Specified by:
      getCodec in interface Dialog
      Specified by:
      getCodec in interface InputFormDialog
      Mappings:
      Namespace Name Mixin selector
      named getCodec Lnet/minecraft/dialog/type/Dialog;getCodec()Lcom/mojang/serialization/MapCodec;
      intermediary method_71692 Lnet/minecraft/class_11419;method_71692()Lcom/mojang/serialization/MapCodec;
      official a Lart;a()Lcom/mojang/serialization/MapCodec;
    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object object)
      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 with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.
    • common

      public DialogCommonData common()
      Returns the value of the common record component.
      Specified by:
      common in interface Dialog
      Returns:
      the value of the common record component
    • inputs

      Returns the value of the inputs record component.
      Returns:
      the value of the inputs record component
    • actions

      Returns the value of the actions record component.
      Returns:
      the value of the actions record component
    • columns

      public int columns()
      Returns the value of the columns record component.
      Returns:
      the value of the columns record component