Enum Class AfterAction

java.lang.Object
java.lang.Enum<AfterAction>
net.minecraft.dialog.AfterAction
All Implemented Interfaces:
Serializable, Comparable<AfterAction>, Constable, StringIdentifiable

public enum AfterAction extends Enum<AfterAction> implements StringIdentifiable
Mappings:
Namespace Name
named net/minecraft/dialog/AfterAction
intermediary net/minecraft/class_11520
official aru
  • Enum Constant Details

    • CLOSE

      public static final AfterAction CLOSE
      Mappings:
      Namespace Name Mixin selector
      named CLOSE Lnet/minecraft/dialog/AfterAction;CLOSE:Lnet/minecraft/dialog/AfterAction;
      intermediary field_60962 Lnet/minecraft/class_11520;field_60962:Lnet/minecraft/class_11520;
      official a Laru;a:Laru;
    • NONE

      public static final AfterAction NONE
      Mappings:
      Namespace Name Mixin selector
      named NONE Lnet/minecraft/dialog/AfterAction;NONE:Lnet/minecraft/dialog/AfterAction;
      intermediary field_60963 Lnet/minecraft/class_11520;field_60963:Lnet/minecraft/class_11520;
      official b Laru;b:Laru;
    • WAIT_FOR_RESPONSE

      public static final AfterAction WAIT_FOR_RESPONSE
      Mappings:
      Namespace Name Mixin selector
      named WAIT_FOR_RESPONSE Lnet/minecraft/dialog/AfterAction;WAIT_FOR_RESPONSE:Lnet/minecraft/dialog/AfterAction;
      intermediary field_60964 Lnet/minecraft/class_11520;field_60964:Lnet/minecraft/class_11520;
      official c Laru;c:Laru;
  • Field Details

    • INDEX_MAPPER

      public static final IntFunction<AfterAction> INDEX_MAPPER
      Mappings:
      Namespace Name Mixin selector
      named INDEX_MAPPER Lnet/minecraft/dialog/AfterAction;INDEX_MAPPER:Ljava/util/function/IntFunction;
      intermediary field_60965 Lnet/minecraft/class_11520;field_60965:Ljava/util/function/IntFunction;
      official d Laru;d:Ljava/util/function/IntFunction;
    • CODEC

      public static final StringIdentifiable.EnumCodec<AfterAction> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/dialog/AfterAction;CODEC:Lnet/minecraft/util/StringIdentifiable$EnumCodec;
      intermediary field_60966 Lnet/minecraft/class_11520;field_60966:Lnet/minecraft/class_3542$class_7292;
      official e Laru;e:Lbda$a;
    • PACKET_CODEC

      public static final PacketCodec<ByteBuf,AfterAction> PACKET_CODEC
      Mappings:
      Namespace Name Mixin selector
      named PACKET_CODEC Lnet/minecraft/dialog/AfterAction;PACKET_CODEC:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_60967 Lnet/minecraft/class_11520;field_60967:Lnet/minecraft/class_9139;
      official f Laru;f:Lzm;
    • index

      private final int index
      Mappings:
      Namespace Name Mixin selector
      named index Lnet/minecraft/dialog/AfterAction;index:I
      intermediary field_60968 Lnet/minecraft/class_11520;field_60968:I
      official g Laru;g:I
    • id

      private final String id
      Mappings:
      Namespace Name Mixin selector
      named id Lnet/minecraft/dialog/AfterAction;id:Ljava/lang/String;
      intermediary field_60969 Lnet/minecraft/class_11520;field_60969:Ljava/lang/String;
      official h Laru;h:Ljava/lang/String;
  • Constructor Details

    • AfterAction

      private AfterAction(int index, String id)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/dialog/AfterAction;<init>(Ljava/lang/String;IILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_11520;<init>(Ljava/lang/String;IILjava/lang/String;)V
      official <init> Laru;<init>(Ljava/lang/String;IILjava/lang/String;)V
  • Method Details

    • values

      public static AfterAction[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static AfterAction valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • asString

      public String asString()
      Returns the unique string representation of the enum, used for serialization.
      Specified by:
      asString in interface StringIdentifiable
      Returns:
      the unique string representation of the enum, used for serialization
      Mappings:
      Namespace Name Mixin selector
      named asString Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
      intermediary method_15434 Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;
      official c Lbda;c()Ljava/lang/String;
    • canUnpause

      public boolean canUnpause()
      Mappings:
      Namespace Name Mixin selector
      named canUnpause Lnet/minecraft/dialog/AfterAction;canUnpause()Z
      intermediary method_72063 Lnet/minecraft/class_11520;method_72063()Z
      official a Laru;a()Z