Enum Class ServerResourcePackManager.AcceptanceStatus
java.lang.Object
java.lang.Enum<ServerResourcePackManager.AcceptanceStatus>
net.minecraft.client.resource.server.ServerResourcePackManager.AcceptanceStatus
- All Implemented Interfaces:
Serializable
,Comparable<ServerResourcePackManager.AcceptanceStatus>
,Constable
- Enclosing class:
ServerResourcePackManager
@Environment(CLIENT)
public static enum ServerResourcePackManager.AcceptanceStatus
extends Enum<ServerResourcePackManager.AcceptanceStatus>
- Mappings:
Namespace Name named net/minecraft/client/resource/server/ServerResourcePackManager$AcceptanceStatus
intermediary net/minecraft/class_9044$class_9047
official gtg$c
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Constructor Summary
-
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
-
PENDING
- Mappings:
Namespace Name Mixin selector named PENDING
Lnet/minecraft/client/resource/server/ServerResourcePackManager$AcceptanceStatus;PENDING:Lnet/minecraft/client/resource/server/ServerResourcePackManager$AcceptanceStatus;
intermediary field_47647
Lnet/minecraft/class_9044$class_9047;field_47647:Lnet/minecraft/class_9044$class_9047;
official a
Lgtg$c;a:Lgtg$c;
-
ALLOWED
- Mappings:
Namespace Name Mixin selector named ALLOWED
Lnet/minecraft/client/resource/server/ServerResourcePackManager$AcceptanceStatus;ALLOWED:Lnet/minecraft/client/resource/server/ServerResourcePackManager$AcceptanceStatus;
intermediary field_47648
Lnet/minecraft/class_9044$class_9047;field_47648:Lnet/minecraft/class_9044$class_9047;
official b
Lgtg$c;b:Lgtg$c;
-
DECLINED
- Mappings:
Namespace Name Mixin selector named DECLINED
Lnet/minecraft/client/resource/server/ServerResourcePackManager$AcceptanceStatus;DECLINED:Lnet/minecraft/client/resource/server/ServerResourcePackManager$AcceptanceStatus;
intermediary field_47649
Lnet/minecraft/class_9044$class_9047;field_47649:Lnet/minecraft/class_9044$class_9047;
official c
Lgtg$c;c:Lgtg$c;
-
-
Constructor Details
-
AcceptanceStatus
private AcceptanceStatus()
-
-
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
-