Package net.minecraft.dialog
Enum Class AfterAction
- All Implemented Interfaces:
Serializable
,Comparable<AfterAction>
,Constable
,StringIdentifiable
- Mappings:
Namespace Name named net/minecraft/dialog/AfterAction
intermediary net/minecraft/class_11520
official aru
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
Nested classes/interfaces inherited from interface net.minecraft.util.StringIdentifiable
StringIdentifiable.BasicCodec<S extends StringIdentifiable>, StringIdentifiable.EnumCodec<E extends Enum<E> & StringIdentifiable>
-
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringIdentifiable.EnumCodec
<AfterAction> private final String
private final int
static final IntFunction
<AfterAction> static final PacketCodec
<ByteBuf, AfterAction> Fields inherited from interface net.minecraft.util.StringIdentifiable
CACHED_MAP_THRESHOLD
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasString()
Returns the unique string representation of the enum, used for serialization.boolean
static AfterAction
Returns the enum constant of this class with the specified name.static AfterAction[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
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
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 nameNullPointerException
- if the argument is null
-
asString
Returns the unique string representation of the enum, used for serialization.- Specified by:
asString
in interfaceStringIdentifiable
- 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
-