Enum ResourcePackStatusC2SPacket.Status
java.lang.Object
java.lang.Enum<ResourcePackStatusC2SPacket.Status>
net.minecraft.network.packet.c2s.play.ResourcePackStatusC2SPacket.Status
- All Implemented Interfaces:
Serializable
,Comparable<ResourcePackStatusC2SPacket.Status>
,java.lang.constant.Constable
- Enclosing class:
- ResourcePackStatusC2SPacket
public static enum ResourcePackStatusC2SPacket.Status extends Enum<ResourcePackStatusC2SPacket.Status>
- Mappings:
Namespace Name official tx$a
intermediary net/minecraft/class_2856$class_2857
named net/minecraft/network/packet/c2s/play/ResourcePackStatusC2SPacket$Status
-
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 ACCEPTED
DECLINED
FAILED_DOWNLOAD
SUCCESSFULLY_LOADED
-
Constructor Summary
Constructors Modifier Constructor Description private
Status()
-
Method Summary
Modifier and Type Method Description static ResourcePackStatusC2SPacket.Status
valueOf(String name)
Returns the enum constant of this type with the specified name.static ResourcePackStatusC2SPacket.Status[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
SUCCESSFULLY_LOADED
- Mappings:
Namespace Name Mixin selector official a
Ltx$a;a:Ltx$a;
intermediary field_13017
Lnet/minecraft/class_2856$class_2857;field_13017:Lnet/minecraft/class_2856$class_2857;
named SUCCESSFULLY_LOADED
Lnet/minecraft/network/packet/c2s/play/ResourcePackStatusC2SPacket$Status;SUCCESSFULLY_LOADED:Lnet/minecraft/network/packet/c2s/play/ResourcePackStatusC2SPacket$Status;
-
DECLINED
- Mappings:
Namespace Name Mixin selector official b
Ltx$a;b:Ltx$a;
intermediary field_13018
Lnet/minecraft/class_2856$class_2857;field_13018:Lnet/minecraft/class_2856$class_2857;
named DECLINED
Lnet/minecraft/network/packet/c2s/play/ResourcePackStatusC2SPacket$Status;DECLINED:Lnet/minecraft/network/packet/c2s/play/ResourcePackStatusC2SPacket$Status;
-
FAILED_DOWNLOAD
- Mappings:
Namespace Name Mixin selector official c
Ltx$a;c:Ltx$a;
intermediary field_13015
Lnet/minecraft/class_2856$class_2857;field_13015:Lnet/minecraft/class_2856$class_2857;
named FAILED_DOWNLOAD
Lnet/minecraft/network/packet/c2s/play/ResourcePackStatusC2SPacket$Status;FAILED_DOWNLOAD:Lnet/minecraft/network/packet/c2s/play/ResourcePackStatusC2SPacket$Status;
-
ACCEPTED
- Mappings:
Namespace Name Mixin selector official d
Ltx$a;d:Ltx$a;
intermediary field_13016
Lnet/minecraft/class_2856$class_2857;field_13016:Lnet/minecraft/class_2856$class_2857;
named ACCEPTED
Lnet/minecraft/network/packet/c2s/play/ResourcePackStatusC2SPacket$Status;ACCEPTED:Lnet/minecraft/network/packet/c2s/play/ResourcePackStatusC2SPacket$Status;
-
-
Constructor Details
-
Status
private Status()
-
-
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
-