Package net.minecraft.client.network
Enum ServerInfo.ResourcePackState
java.lang.Object
java.lang.Enum<ServerInfo.ResourcePackState>
net.minecraft.client.network.ServerInfo.ResourcePackState
- All Implemented Interfaces:
Serializable
,Comparable<ServerInfo.ResourcePackState>
,java.lang.constant.Constable
- Enclosing class:
- ServerInfo
@Environment(CLIENT) public static enum ServerInfo.ResourcePackState extends Enum<ServerInfo.ResourcePackState>
- Mappings:
Namespace Name official eee$a
intermediary net/minecraft/class_642$class_643
named 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
-
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description private
ResourcePackState(String name)
-
Method Summary
Modifier and Type Method Description Text
getName()
static ServerInfo.ResourcePackState
valueOf(String name)
Returns the enum constant of this type with the specified name.static ServerInfo.ResourcePackState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ENABLED
- Mappings:
Namespace Name Mixin selector official a
Leee$a;a:Leee$a;
intermediary field_3768
Lnet/minecraft/class_642$class_643;field_3768:Lnet/minecraft/class_642$class_643;
named ENABLED
Lnet/minecraft/client/network/ServerInfo$ResourcePackState;ENABLED:Lnet/minecraft/client/network/ServerInfo$ResourcePackState;
-
DISABLED
- Mappings:
Namespace Name Mixin selector official b
Leee$a;b:Leee$a;
intermediary field_3764
Lnet/minecraft/class_642$class_643;field_3764:Lnet/minecraft/class_642$class_643;
named DISABLED
Lnet/minecraft/client/network/ServerInfo$ResourcePackState;DISABLED:Lnet/minecraft/client/network/ServerInfo$ResourcePackState;
-
PROMPT
- Mappings:
Namespace Name Mixin selector official c
Leee$a;c:Leee$a;
intermediary field_3767
Lnet/minecraft/class_642$class_643;field_3767:Lnet/minecraft/class_642$class_643;
named PROMPT
Lnet/minecraft/client/network/ServerInfo$ResourcePackState;PROMPT:Lnet/minecraft/client/network/ServerInfo$ResourcePackState;
-
-
Field Details
-
name
- Mappings:
Namespace Name Mixin selector official d
Leee$a;d:Loi;
intermediary field_3765
Lnet/minecraft/class_642$class_643;field_3765:Lnet/minecraft/class_2561;
named name
Lnet/minecraft/client/network/ServerInfo$ResourcePackState;name:Lnet/minecraft/text/Text;
-
-
Constructor Details
-
ResourcePackState
- Mappings:
Namespace Name Mixin selector official <init>
Leee$a;<init>(Ljava/lang/String;ILjava/lang/String;)V
intermediary <init>
Lnet/minecraft/class_642$class_643;<init>(Ljava/lang/String;ILjava/lang/String;)V
named <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 type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
getName
- Mappings:
Namespace Name Mixin selector official a
Leee$a;a()Loi;
intermediary method_2997
Lnet/minecraft/class_642$class_643;method_2997()Lnet/minecraft/class_2561;
named getName
Lnet/minecraft/client/network/ServerInfo$ResourcePackState;getName()Lnet/minecraft/text/Text;
-