Enum Class ServerResourcePackManager.DiscardReason
java.lang.Object
java.lang.Enum<ServerResourcePackManager.DiscardReason>
net.minecraft.client.resource.server.ServerResourcePackManager.DiscardReason
- All Implemented Interfaces:
Serializable,Comparable<ServerResourcePackManager.DiscardReason>,Constable
- Enclosing class:
ServerResourcePackManager
@Environment(CLIENT)
private static enum ServerResourcePackManager.DiscardReason
extends Enum<ServerResourcePackManager.DiscardReason>
- Mappings:
Namespace Name named net/minecraft/client/resource/server/ServerResourcePackManager$DiscardReasonintermediary net/minecraft/class_9044$class_9048official gtg$d
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DOWNLOAD_FAILED
- Mappings:
Namespace Name Mixin selector named DOWNLOAD_FAILEDLnet/minecraft/client/resource/server/ServerResourcePackManager$DiscardReason;DOWNLOAD_FAILED:Lnet/minecraft/client/resource/server/ServerResourcePackManager$DiscardReason;intermediary field_47651Lnet/minecraft/class_9044$class_9048;field_47651:Lnet/minecraft/class_9044$class_9048;official aLgtg$d;a:Lgtg$d;
-
ACTIVATION_FAILED
- Mappings:
Namespace Name Mixin selector named ACTIVATION_FAILEDLnet/minecraft/client/resource/server/ServerResourcePackManager$DiscardReason;ACTIVATION_FAILED:Lnet/minecraft/client/resource/server/ServerResourcePackManager$DiscardReason;intermediary field_47652Lnet/minecraft/class_9044$class_9048;field_47652:Lnet/minecraft/class_9044$class_9048;official bLgtg$d;b:Lgtg$d;
-
DECLINED
- Mappings:
Namespace Name Mixin selector named DECLINEDLnet/minecraft/client/resource/server/ServerResourcePackManager$DiscardReason;DECLINED:Lnet/minecraft/client/resource/server/ServerResourcePackManager$DiscardReason;intermediary field_47653Lnet/minecraft/class_9044$class_9048;field_47653:Lnet/minecraft/class_9044$class_9048;official cLgtg$d;c:Lgtg$d;
-
DISCARDED
- Mappings:
Namespace Name Mixin selector named DISCARDEDLnet/minecraft/client/resource/server/ServerResourcePackManager$DiscardReason;DISCARDED:Lnet/minecraft/client/resource/server/ServerResourcePackManager$DiscardReason;intermediary field_47654Lnet/minecraft/class_9044$class_9048;field_47654:Lnet/minecraft/class_9044$class_9048;official dLgtg$d;d:Lgtg$d;
-
SERVER_REMOVED
- Mappings:
Namespace Name Mixin selector named SERVER_REMOVEDLnet/minecraft/client/resource/server/ServerResourcePackManager$DiscardReason;SERVER_REMOVED:Lnet/minecraft/client/resource/server/ServerResourcePackManager$DiscardReason;intermediary field_47655Lnet/minecraft/class_9044$class_9048;field_47655:Lnet/minecraft/class_9044$class_9048;official eLgtg$d;e:Lgtg$d;
-
SERVER_REPLACED
- Mappings:
Namespace Name Mixin selector named SERVER_REPLACEDLnet/minecraft/client/resource/server/ServerResourcePackManager$DiscardReason;SERVER_REPLACED:Lnet/minecraft/client/resource/server/ServerResourcePackManager$DiscardReason;intermediary field_47656Lnet/minecraft/class_9044$class_9048;field_47656:Lnet/minecraft/class_9044$class_9048;official fLgtg$d;f:Lgtg$d;
-
-
Field Details
-
state
- Mappings:
Namespace Name Mixin selector named stateLnet/minecraft/client/resource/server/ServerResourcePackManager$DiscardReason;state:Lnet/minecraft/client/resource/server/PackStateChangeCallback$FinishState;intermediary field_47657Lnet/minecraft/class_9044$class_9048;field_47657:Lnet/minecraft/class_9039$class_9040;official gLgtg$d;g:Lgte$a;
-
-
Constructor Details
-
DiscardReason
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/resource/server/ServerResourcePackManager$DiscardReason;<init>(Ljava/lang/String;ILnet/minecraft/client/resource/server/PackStateChangeCallback$FinishState;)Vintermediary <init>Lnet/minecraft/class_9044$class_9048;<init>(Ljava/lang/String;ILnet/minecraft/class_9039$class_9040;)Vofficial <init>Lgtg$d;<init>(Ljava/lang/String;ILgte$a;)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
-