Enum Class AdvancementObtainedStatus

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

@Environment(CLIENT) public enum AdvancementObtainedStatus extends Enum<AdvancementObtainedStatus>
Mappings:
Namespace Name
official ecs
intermediary net/minecraft/class_455
named net/minecraft/client/gui/screen/advancement/AdvancementObtainedStatus
  • Enum Constant Details

    • OBTAINED

      public static final AdvancementObtainedStatus OBTAINED
      Mappings:
      Namespace Name Mixin selector
      official a Lecs;a:Lecs;
      intermediary field_2701 Lnet/minecraft/class_455;field_2701:Lnet/minecraft/class_455;
      named OBTAINED Lnet/minecraft/client/gui/screen/advancement/AdvancementObtainedStatus;OBTAINED:Lnet/minecraft/client/gui/screen/advancement/AdvancementObtainedStatus;
    • UNOBTAINED

      public static final AdvancementObtainedStatus UNOBTAINED
      Mappings:
      Namespace Name Mixin selector
      official b Lecs;b:Lecs;
      intermediary field_2699 Lnet/minecraft/class_455;field_2699:Lnet/minecraft/class_455;
      named UNOBTAINED Lnet/minecraft/client/gui/screen/advancement/AdvancementObtainedStatus;UNOBTAINED:Lnet/minecraft/client/gui/screen/advancement/AdvancementObtainedStatus;
  • Field Details

    • spriteIndex

      private final int spriteIndex
      Mappings:
      Namespace Name Mixin selector
      official c Lecs;c:I
      intermediary field_2700 Lnet/minecraft/class_455;field_2700:I
      named spriteIndex Lnet/minecraft/client/gui/screen/advancement/AdvancementObtainedStatus;spriteIndex:I
  • Constructor Details

    • AdvancementObtainedStatus

      private AdvancementObtainedStatus(int spriteIndex)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lecs;<init>(Ljava/lang/String;II)V
      intermediary <init> Lnet/minecraft/class_455;<init>(Ljava/lang/String;II)V
      named <init> Lnet/minecraft/client/gui/screen/advancement/AdvancementObtainedStatus;<init>(Ljava/lang/String;II)V
  • Method Details

    • values

      public static AdvancementObtainedStatus[] 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 AdvancementObtainedStatus 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
    • getSpriteIndex

      public int getSpriteIndex()
      Mappings:
      Namespace Name Mixin selector
      official a Lecs;a()I
      intermediary method_2320 Lnet/minecraft/class_455;method_2320()I
      named getSpriteIndex Lnet/minecraft/client/gui/screen/advancement/AdvancementObtainedStatus;getSpriteIndex()I