Enum Class ServerResourcePackMode

java.lang.Object
java.lang.Enum<ServerResourcePackMode>
net.minecraft.client.gui.screen.multiplayer.ServerResourcePackMode
All Implemented Interfaces:
Serializable, Comparable<ServerResourcePackMode>, Constable

@Environment(CLIENT) public enum ServerResourcePackMode extends Enum<ServerResourcePackMode>
Mappings:
Namespace Name
official cex
intermediary net/minecraft/class_1847
named net/minecraft/client/gui/screen/multiplayer/ServerResourcePackMode
  • Enum Constant Details

    • ENABLED

      public static final ServerResourcePackMode ENABLED
      Mappings:
      Namespace Name Mixin selector
      official a Lcex;a:Lcex;
      intermediary field_7929 Lnet/minecraft/class_1847;field_7929:Lnet/minecraft/class_1847;
      named ENABLED Lnet/minecraft/client/gui/screen/multiplayer/ServerResourcePackMode;ENABLED:Lnet/minecraft/client/gui/screen/multiplayer/ServerResourcePackMode;
    • DISABLED

      public static final ServerResourcePackMode DISABLED
      Mappings:
      Namespace Name Mixin selector
      official b Lcex;b:Lcex;
      intermediary field_7930 Lnet/minecraft/class_1847;field_7930:Lnet/minecraft/class_1847;
      named DISABLED Lnet/minecraft/client/gui/screen/multiplayer/ServerResourcePackMode;DISABLED:Lnet/minecraft/client/gui/screen/multiplayer/ServerResourcePackMode;
    • PROMPT

      public static final ServerResourcePackMode PROMPT
      Mappings:
      Namespace Name Mixin selector
      official c Lcex;c:Lcex;
      intermediary field_7931 Lnet/minecraft/class_1847;field_7931:Lnet/minecraft/class_1847;
      named PROMPT Lnet/minecraft/client/gui/screen/multiplayer/ServerResourcePackMode;PROMPT:Lnet/minecraft/client/gui/screen/multiplayer/ServerResourcePackMode;
  • Field Details

    • text

      private final Text text
      Mappings:
      Namespace Name Mixin selector
      official d Lcex;d:Lho;
      intermediary field_7932 Lnet/minecraft/class_1847;field_7932:Lnet/minecraft/class_1982;
      named text Lnet/minecraft/client/gui/screen/multiplayer/ServerResourcePackMode;text:Lnet/minecraft/text/Text;
  • Constructor Details

    • ServerResourcePackMode

      private ServerResourcePackMode(String id)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcex;<init>(Ljava/lang/String;ILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_1847;<init>(Ljava/lang/String;ILjava/lang/String;)V
      named <init> Lnet/minecraft/client/gui/screen/multiplayer/ServerResourcePackMode;<init>(Ljava/lang/String;ILjava/lang/String;)V
  • Method Details

    • values

      public static ServerResourcePackMode[] 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 ServerResourcePackMode 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
    • getText

      public Text getText()
      Mappings:
      Namespace Name Mixin selector
      official a Lcex;a()Lho;
      intermediary method_6851 Lnet/minecraft/class_1847;method_6851()Lnet/minecraft/class_1982;
      named getText Lnet/minecraft/client/gui/screen/multiplayer/ServerResourcePackMode;getText()Lnet/minecraft/text/Text;