Enum AdvancementTabC2SPacket.Action
java.lang.Object
java.lang.Enum<AdvancementTabC2SPacket.Action>
net.minecraft.network.packet.c2s.play.AdvancementTabC2SPacket.Action
- All Implemented Interfaces:
Serializable
,Comparable<AdvancementTabC2SPacket.Action>
,java.lang.constant.Constable
- Enclosing class:
- AdvancementTabC2SPacket
public static enum AdvancementTabC2SPacket.Action extends Enum<AdvancementTabC2SPacket.Action>
- Mappings:
Namespace Name official ty$a
intermediary net/minecraft/class_2859$class_2860
named net/minecraft/network/packet/c2s/play/AdvancementTabC2SPacket$Action
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants Enum Constant Description CLOSED_SCREEN
OPENED_TAB
-
Constructor Summary
Constructors Modifier Constructor Description private
Action()
-
Method Summary
Modifier and Type Method Description static AdvancementTabC2SPacket.Action
valueOf(String name)
Returns the enum constant of this type with the specified name.static AdvancementTabC2SPacket.Action[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
OPENED_TAB
- Mappings:
Namespace Name Mixin selector official a
Lty$a;a:Lty$a;
intermediary field_13024
Lnet/minecraft/class_2859$class_2860;field_13024:Lnet/minecraft/class_2859$class_2860;
named OPENED_TAB
Lnet/minecraft/network/packet/c2s/play/AdvancementTabC2SPacket$Action;OPENED_TAB:Lnet/minecraft/network/packet/c2s/play/AdvancementTabC2SPacket$Action;
-
CLOSED_SCREEN
- Mappings:
Namespace Name Mixin selector official b
Lty$a;b:Lty$a;
intermediary field_13023
Lnet/minecraft/class_2859$class_2860;field_13023:Lnet/minecraft/class_2859$class_2860;
named CLOSED_SCREEN
Lnet/minecraft/network/packet/c2s/play/AdvancementTabC2SPacket$Action;CLOSED_SCREEN:Lnet/minecraft/network/packet/c2s/play/AdvancementTabC2SPacket$Action;
-
-
Constructor Details
-
Action
private Action()
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-