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$aintermediary net/minecraft/class_2856$class_2857named 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 ACCEPTEDDECLINEDFAILED_DOWNLOADSUCCESSFULLY_LOADED -
Constructor Summary
Constructors Modifier Constructor Description privateStatus() -
Method Summary
Modifier and Type Method Description static ResourcePackStatusC2SPacket.StatusvalueOf(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 aLtx$a;a:Ltx$a;intermediary field_13017Lnet/minecraft/class_2856$class_2857;field_13017:Lnet/minecraft/class_2856$class_2857;named SUCCESSFULLY_LOADEDLnet/minecraft/network/packet/c2s/play/ResourcePackStatusC2SPacket$Status;SUCCESSFULLY_LOADED:Lnet/minecraft/network/packet/c2s/play/ResourcePackStatusC2SPacket$Status;
-
DECLINED
- Mappings:
Namespace Name Mixin selector official bLtx$a;b:Ltx$a;intermediary field_13018Lnet/minecraft/class_2856$class_2857;field_13018:Lnet/minecraft/class_2856$class_2857;named DECLINEDLnet/minecraft/network/packet/c2s/play/ResourcePackStatusC2SPacket$Status;DECLINED:Lnet/minecraft/network/packet/c2s/play/ResourcePackStatusC2SPacket$Status;
-
FAILED_DOWNLOAD
- Mappings:
Namespace Name Mixin selector official cLtx$a;c:Ltx$a;intermediary field_13015Lnet/minecraft/class_2856$class_2857;field_13015:Lnet/minecraft/class_2856$class_2857;named FAILED_DOWNLOADLnet/minecraft/network/packet/c2s/play/ResourcePackStatusC2SPacket$Status;FAILED_DOWNLOAD:Lnet/minecraft/network/packet/c2s/play/ResourcePackStatusC2SPacket$Status;
-
ACCEPTED
- Mappings:
Namespace Name Mixin selector official dLtx$a;d:Ltx$a;intermediary field_13016Lnet/minecraft/class_2856$class_2857;field_13016:Lnet/minecraft/class_2856$class_2857;named ACCEPTEDLnet/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
-