Enum Class ServerResourcePackManager.AcceptanceStatus

java.lang.Object
java.lang.Enum<ServerResourcePackManager.AcceptanceStatus>
net.minecraft.client.resource.server.ServerResourcePackManager.AcceptanceStatus
All Implemented Interfaces:
Serializable, Comparable<ServerResourcePackManager.AcceptanceStatus>, Constable
Enclosing class:
ServerResourcePackManager

@Environment(CLIENT) public static enum ServerResourcePackManager.AcceptanceStatus extends Enum<ServerResourcePackManager.AcceptanceStatus>
Mappings:
Namespace Name
named net/minecraft/client/resource/server/ServerResourcePackManager$AcceptanceStatus
intermediary net/minecraft/class_9044$class_9047
official gsz$c
  • Enum Constant Details

    • PENDING

      public static final ServerResourcePackManager.AcceptanceStatus PENDING
      Mappings:
      Namespace Name Mixin selector
      named PENDING Lnet/minecraft/client/resource/server/ServerResourcePackManager$AcceptanceStatus;PENDING:Lnet/minecraft/client/resource/server/ServerResourcePackManager$AcceptanceStatus;
      intermediary field_47647 Lnet/minecraft/class_9044$class_9047;field_47647:Lnet/minecraft/class_9044$class_9047;
      official a Lgsz$c;a:Lgsz$c;
    • ALLOWED

      public static final ServerResourcePackManager.AcceptanceStatus ALLOWED
      Mappings:
      Namespace Name Mixin selector
      named ALLOWED Lnet/minecraft/client/resource/server/ServerResourcePackManager$AcceptanceStatus;ALLOWED:Lnet/minecraft/client/resource/server/ServerResourcePackManager$AcceptanceStatus;
      intermediary field_47648 Lnet/minecraft/class_9044$class_9047;field_47648:Lnet/minecraft/class_9044$class_9047;
      official b Lgsz$c;b:Lgsz$c;
    • DECLINED

      public static final ServerResourcePackManager.AcceptanceStatus DECLINED
      Mappings:
      Namespace Name Mixin selector
      named DECLINED Lnet/minecraft/client/resource/server/ServerResourcePackManager$AcceptanceStatus;DECLINED:Lnet/minecraft/client/resource/server/ServerResourcePackManager$AcceptanceStatus;
      intermediary field_47649 Lnet/minecraft/class_9044$class_9047;field_47649:Lnet/minecraft/class_9044$class_9047;
      official c Lgsz$c;c:Lgsz$c;
  • Constructor Details

    • AcceptanceStatus

      private AcceptanceStatus()
  • 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

      public static ServerResourcePackManager.AcceptanceStatus 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