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 official ghg$c
intermediary net/minecraft/class_9044$class_9047
named net/minecraft/client/resource/server/ServerResourcePackManager$AcceptanceStatus
-
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 official a
Lghg$c;a:Lghg$c;
intermediary field_47647
Lnet/minecraft/class_9044$class_9047;field_47647:Lnet/minecraft/class_9044$class_9047;
named PENDING
Lnet/minecraft/client/resource/server/ServerResourcePackManager$AcceptanceStatus;PENDING:Lnet/minecraft/client/resource/server/ServerResourcePackManager$AcceptanceStatus;
-
ALLOWED
- Mappings:
Namespace Name Mixin selector official b
Lghg$c;b:Lghg$c;
intermediary field_47648
Lnet/minecraft/class_9044$class_9047;field_47648:Lnet/minecraft/class_9044$class_9047;
named ALLOWED
Lnet/minecraft/client/resource/server/ServerResourcePackManager$AcceptanceStatus;ALLOWED:Lnet/minecraft/client/resource/server/ServerResourcePackManager$AcceptanceStatus;
-
DECLINED
- Mappings:
Namespace Name Mixin selector official c
Lghg$c;c:Lghg$c;
intermediary field_47649
Lnet/minecraft/class_9044$class_9047;field_47649:Lnet/minecraft/class_9044$class_9047;
named DECLINED
Lnet/minecraft/client/resource/server/ServerResourcePackManager$AcceptanceStatus;DECLINED:Lnet/minecraft/client/resource/server/ServerResourcePackManager$AcceptanceStatus;
-
-
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
-