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 bnt$a
intermediary net/minecraft/class_485$class_1847
named net/minecraft/client/network/ServerInfo$ResourcePackState
  • Enum Constant Details

    • ENABLED

      public static final ServerInfo.ResourcePackState ENABLED
      Mappings:
      Namespace Name Mixin selector
      official a Lbnt$a;a:Lbnt$a;
      intermediary field_7929 Lnet/minecraft/class_485$class_1847;field_7929:Lnet/minecraft/class_485$class_1847;
      named ENABLED Lnet/minecraft/client/network/ServerInfo$ResourcePackState;ENABLED:Lnet/minecraft/client/network/ServerInfo$ResourcePackState;
    • DISABLED

      public static final ServerInfo.ResourcePackState DISABLED
      Mappings:
      Namespace Name Mixin selector
      official b Lbnt$a;b:Lbnt$a;
      intermediary field_7930 Lnet/minecraft/class_485$class_1847;field_7930:Lnet/minecraft/class_485$class_1847;
      named DISABLED Lnet/minecraft/client/network/ServerInfo$ResourcePackState;DISABLED:Lnet/minecraft/client/network/ServerInfo$ResourcePackState;
    • PROMPT

      public static final ServerInfo.ResourcePackState PROMPT
      Mappings:
      Namespace Name Mixin selector
      official c Lbnt$a;c:Lbnt$a;
      intermediary field_7931 Lnet/minecraft/class_485$class_1847;field_7931:Lnet/minecraft/class_485$class_1847;
      named PROMPT Lnet/minecraft/client/network/ServerInfo$ResourcePackState;PROMPT:Lnet/minecraft/client/network/ServerInfo$ResourcePackState;
  • Field Details

    • name

      private final Text name
      Mappings:
      Namespace Name Mixin selector
      official d Lbnt$a;d:Lfb;
      intermediary field_7932 Lnet/minecraft/class_485$class_1847;field_7932:Lnet/minecraft/class_1982;
      named name Lnet/minecraft/client/network/ServerInfo$ResourcePackState;name:Lnet/minecraft/text/Text;
  • Constructor Details

    • ResourcePackState

      private ResourcePackState(String name)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbnt$a;<init>(Ljava/lang/String;ILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_485$class_1847;<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

      public static ServerInfo.ResourcePackState[] 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

      public static ServerInfo.ResourcePackState valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getName

      public Text getName()
      Mappings:
      Namespace Name Mixin selector
      official a Lbnt$a;a()Lfb;
      intermediary method_6851 Lnet/minecraft/class_485$class_1847;method_6851()Lnet/minecraft/class_1982;
      named getName Lnet/minecraft/client/network/ServerInfo$ResourcePackState;getName()Lnet/minecraft/text/Text;