Enum Class PackStateChangeCallback.State

java.lang.Object
java.lang.Enum<PackStateChangeCallback.State>
net.minecraft.client.resource.server.PackStateChangeCallback.State
All Implemented Interfaces:
Serializable, Comparable<PackStateChangeCallback.State>, Constable
Enclosing interface:
PackStateChangeCallback

@Environment(CLIENT) public static enum PackStateChangeCallback.State extends Enum<PackStateChangeCallback.State>
Mappings:
Namespace Name
official ghd$a
intermediary net/minecraft/class_9039$class_9040
named net/minecraft/client/resource/server/PackStateChangeCallback$State
  • Enum Constant Details

    • ACCEPTED

      public static final PackStateChangeCallback.State ACCEPTED
      Mappings:
      Namespace Name Mixin selector
      official a Lghd$a;a:Lghd$a;
      intermediary field_47622 Lnet/minecraft/class_9039$class_9040;field_47622:Lnet/minecraft/class_9039$class_9040;
      named ACCEPTED Lnet/minecraft/client/resource/server/PackStateChangeCallback$State;ACCEPTED:Lnet/minecraft/client/resource/server/PackStateChangeCallback$State;
    • DECLINED

      public static final PackStateChangeCallback.State DECLINED
      Mappings:
      Namespace Name Mixin selector
      official b Lghd$a;b:Lghd$a;
      intermediary field_47623 Lnet/minecraft/class_9039$class_9040;field_47623:Lnet/minecraft/class_9039$class_9040;
      named DECLINED Lnet/minecraft/client/resource/server/PackStateChangeCallback$State;DECLINED:Lnet/minecraft/client/resource/server/PackStateChangeCallback$State;
    • APPLIED

      public static final PackStateChangeCallback.State APPLIED
      Mappings:
      Namespace Name Mixin selector
      official c Lghd$a;c:Lghd$a;
      intermediary field_47624 Lnet/minecraft/class_9039$class_9040;field_47624:Lnet/minecraft/class_9039$class_9040;
      named APPLIED Lnet/minecraft/client/resource/server/PackStateChangeCallback$State;APPLIED:Lnet/minecraft/client/resource/server/PackStateChangeCallback$State;
    • DISCARDED

      public static final PackStateChangeCallback.State DISCARDED
      Mappings:
      Namespace Name Mixin selector
      official d Lghd$a;d:Lghd$a;
      intermediary field_47625 Lnet/minecraft/class_9039$class_9040;field_47625:Lnet/minecraft/class_9039$class_9040;
      named DISCARDED Lnet/minecraft/client/resource/server/PackStateChangeCallback$State;DISCARDED:Lnet/minecraft/client/resource/server/PackStateChangeCallback$State;
    • DOWNLOAD_FAILED

      public static final PackStateChangeCallback.State DOWNLOAD_FAILED
      Mappings:
      Namespace Name Mixin selector
      official e Lghd$a;e:Lghd$a;
      intermediary field_47626 Lnet/minecraft/class_9039$class_9040;field_47626:Lnet/minecraft/class_9039$class_9040;
      named DOWNLOAD_FAILED Lnet/minecraft/client/resource/server/PackStateChangeCallback$State;DOWNLOAD_FAILED:Lnet/minecraft/client/resource/server/PackStateChangeCallback$State;
    • ACTIVATION_FAILED

      public static final PackStateChangeCallback.State ACTIVATION_FAILED
      Mappings:
      Namespace Name Mixin selector
      official f Lghd$a;f:Lghd$a;
      intermediary field_47627 Lnet/minecraft/class_9039$class_9040;field_47627:Lnet/minecraft/class_9039$class_9040;
      named ACTIVATION_FAILED Lnet/minecraft/client/resource/server/PackStateChangeCallback$State;ACTIVATION_FAILED:Lnet/minecraft/client/resource/server/PackStateChangeCallback$State;
  • Constructor Details

    • State

      private State()
  • Method Details

    • values

      public static PackStateChangeCallback.State[] 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 PackStateChangeCallback.State 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