Enum Class PackStateChangeCallback.State
java.lang.Object
java.lang.Enum<PackStateChangeCallback.State>
net.minecraft.client.resource.server.PackStateChangeCallback.State
- All Implemented Interfaces:
Serializable
,Comparable<PackStateChangeCallback.State>
,Constable
- Enclosing interface:
PackStateChangeCallback
@Environment(CLIENT)
public static enum PackStateChangeCallback.State
extends Enum<PackStateChangeCallback.State>
- Mappings:
Namespace Name named net/minecraft/client/resource/server/PackStateChangeCallback$State
intermediary net/minecraft/class_9039$class_9060
official grs$b
-
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.static PackStateChangeCallback.State[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ACCEPTED
- Mappings:
Namespace Name Mixin selector named ACCEPTED
Lnet/minecraft/client/resource/server/PackStateChangeCallback$State;ACCEPTED:Lnet/minecraft/client/resource/server/PackStateChangeCallback$State;
intermediary field_47699
Lnet/minecraft/class_9039$class_9060;field_47699:Lnet/minecraft/class_9039$class_9060;
official a
Lgrs$b;a:Lgrs$b;
-
DOWNLOADED
- Mappings:
Namespace Name Mixin selector named DOWNLOADED
Lnet/minecraft/client/resource/server/PackStateChangeCallback$State;DOWNLOADED:Lnet/minecraft/client/resource/server/PackStateChangeCallback$State;
intermediary field_47700
Lnet/minecraft/class_9039$class_9060;field_47700:Lnet/minecraft/class_9039$class_9060;
official b
Lgrs$b;b:Lgrs$b;
-
-
Constructor Details
-
State
private State()
-
-
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
-