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 ghe$b
intermediary net/minecraft/class_9039$class_9060
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 Lghe$b;a:Lghe$b;
      intermediary field_47699 Lnet/minecraft/class_9039$class_9060;field_47699:Lnet/minecraft/class_9039$class_9060;
      named ACCEPTED Lnet/minecraft/client/resource/server/PackStateChangeCallback$State;ACCEPTED:Lnet/minecraft/client/resource/server/PackStateChangeCallback$State;
    • DOWNLOADED

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