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
named net/minecraft/client/resource/server/PackStateChangeCallback$State
intermediary net/minecraft/class_9039$class_9060
official grt$b
  • Enum Constant Details

    • ACCEPTED

      public static final PackStateChangeCallback.State ACCEPTED
      Mappings:
      Namespace Name Mixin selector
      named ACCEPTED Lnet/minecraft/client/resource/server/PackStateChangeCallback$State;ACCEPTED:Lnet/minecraft/client/resource/server/PackStateChangeCallback$State;
      intermediary field_47699 Lnet/minecraft/class_9039$class_9060;field_47699:Lnet/minecraft/class_9039$class_9060;
      official a Lgrt$b;a:Lgrt$b;
    • DOWNLOADED

      public static final PackStateChangeCallback.State DOWNLOADED
      Mappings:
      Namespace Name Mixin selector
      named DOWNLOADED Lnet/minecraft/client/resource/server/PackStateChangeCallback$State;DOWNLOADED:Lnet/minecraft/client/resource/server/PackStateChangeCallback$State;
      intermediary field_47700 Lnet/minecraft/class_9039$class_9060;field_47700:Lnet/minecraft/class_9039$class_9060;
      official b Lgrt$b;b:Lgrt$b;
  • 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