Package net.minecraft.client.network
Enum Class ServerInfo.ResourcePackState
java.lang.Object
java.lang.Enum<ServerInfo.ResourcePackState>
net.minecraft.client.network.ServerInfo.ResourcePackState
- All Implemented Interfaces:
Serializable,Comparable<ServerInfo.ResourcePackState>,Constable
- Enclosing class:
- ServerInfo
@Environment(CLIENT)
public static enum ServerInfo.ResourcePackState
extends Enum<ServerInfo.ResourcePackState>
- Mappings:
Namespace Name official bkv$aintermediary net/minecraft/class_485$class_1847named net/minecraft/client/network/ServerInfo$ResourcePackState
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()static ServerInfo.ResourcePackStateReturns the enum constant of this class with the specified name.static ServerInfo.ResourcePackState[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ENABLED
- Mappings:
Namespace Name Mixin selector official aLbkv$a;a:Lbkv$a;intermediary field_7929Lnet/minecraft/class_485$class_1847;field_7929:Lnet/minecraft/class_485$class_1847;named ENABLEDLnet/minecraft/client/network/ServerInfo$ResourcePackState;ENABLED:Lnet/minecraft/client/network/ServerInfo$ResourcePackState;
-
DISABLED
- Mappings:
Namespace Name Mixin selector official bLbkv$a;b:Lbkv$a;intermediary field_7930Lnet/minecraft/class_485$class_1847;field_7930:Lnet/minecraft/class_485$class_1847;named DISABLEDLnet/minecraft/client/network/ServerInfo$ResourcePackState;DISABLED:Lnet/minecraft/client/network/ServerInfo$ResourcePackState;
-
PROMPT
- Mappings:
Namespace Name Mixin selector official cLbkv$a;c:Lbkv$a;intermediary field_7931Lnet/minecraft/class_485$class_1847;field_7931:Lnet/minecraft/class_485$class_1847;named PROMPTLnet/minecraft/client/network/ServerInfo$ResourcePackState;PROMPT:Lnet/minecraft/client/network/ServerInfo$ResourcePackState;
-
-
Field Details
-
name
- Mappings:
Namespace Name Mixin selector official dLbkv$a;d:Lew;intermediary field_7932Lnet/minecraft/class_485$class_1847;field_7932:Lnet/minecraft/class_1982;named nameLnet/minecraft/client/network/ServerInfo$ResourcePackState;name:Lnet/minecraft/text/Text;
-
-
Constructor Details
-
ResourcePackState
- Mappings:
Namespace Name Mixin selector official <init>Lbkv$a;<init>(Ljava/lang/String;ILjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_485$class_1847;<init>(Ljava/lang/String;ILjava/lang/String;)Vnamed <init>Lnet/minecraft/client/network/ServerInfo$ResourcePackState;<init>(Ljava/lang/String;ILjava/lang/String;)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
-
getName
- Mappings:
Namespace Name Mixin selector official aLbkv$a;a()Lew;intermediary method_6851Lnet/minecraft/class_485$class_1847;method_6851()Lnet/minecraft/class_1982;named getNameLnet/minecraft/client/network/ServerInfo$ResourcePackState;getName()Lnet/minecraft/text/Text;
-