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 iu$aintermediary net/minecraft/class_1574$class_1575named 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 aLiu$a;a:Liu$a;intermediary field_6454Lnet/minecraft/class_1574$class_1575;field_6454:Lnet/minecraft/class_1574$class_1575;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 bLiu$a;b:Liu$a;intermediary field_6455Lnet/minecraft/class_1574$class_1575;field_6455:Lnet/minecraft/class_1574$class_1575;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 cLiu$a;c:Liu$a;intermediary field_6456Lnet/minecraft/class_1574$class_1575;field_6456:Lnet/minecraft/class_1574$class_1575;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 dLiu$a;d:Liu$a;intermediary field_6457Lnet/minecraft/class_1574$class_1575;field_6457:Lnet/minecraft/class_1574$class_1575;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
-