Enum Class AdvancementFrame

java.lang.Object
java.lang.Enum<AdvancementFrame>
net.minecraft.advancement.AdvancementFrame
All Implemented Interfaces:
Serializable, Comparable<AdvancementFrame>, Constable

public enum AdvancementFrame extends Enum<AdvancementFrame>
Mappings:
Namespace Name
official ar
intermediary net/minecraft/class_189
named net/minecraft/advancement/AdvancementFrame
  • Enum Constant Details

    • TASK

      public static final AdvancementFrame TASK
      Mappings:
      Namespace Name Mixin selector
      official a Lar;a:Lar;
      intermediary field_1254 Lnet/minecraft/class_189;field_1254:Lnet/minecraft/class_189;
      named TASK Lnet/minecraft/advancement/AdvancementFrame;TASK:Lnet/minecraft/advancement/AdvancementFrame;
    • CHALLENGE

      public static final AdvancementFrame CHALLENGE
      Mappings:
      Namespace Name Mixin selector
      official b Lar;b:Lar;
      intermediary field_1250 Lnet/minecraft/class_189;field_1250:Lnet/minecraft/class_189;
      named CHALLENGE Lnet/minecraft/advancement/AdvancementFrame;CHALLENGE:Lnet/minecraft/advancement/AdvancementFrame;
    • GOAL

      public static final AdvancementFrame GOAL
      Mappings:
      Namespace Name Mixin selector
      official c Lar;c:Lar;
      intermediary field_1249 Lnet/minecraft/class_189;field_1249:Lnet/minecraft/class_189;
      named GOAL Lnet/minecraft/advancement/AdvancementFrame;GOAL:Lnet/minecraft/advancement/AdvancementFrame;
  • Field Details

    • id

      private final String id
      Mappings:
      Namespace Name Mixin selector
      official d Lar;d:Ljava/lang/String;
      intermediary field_1251 Lnet/minecraft/class_189;field_1251:Ljava/lang/String;
      named id Lnet/minecraft/advancement/AdvancementFrame;id:Ljava/lang/String;
    • titleFormat

      private final Formatting titleFormat
      Mappings:
      Namespace Name Mixin selector
      official e Lar;e:Ln;
      intermediary field_1255 Lnet/minecraft/class_189;field_1255:Lnet/minecraft/class_124;
      named titleFormat Lnet/minecraft/advancement/AdvancementFrame;titleFormat:Lnet/minecraft/util/Formatting;
    • toastText

      private final Text toastText
      Mappings:
      Namespace Name Mixin selector
      official f Lar;f:Ltl;
      intermediary field_26386 Lnet/minecraft/class_189;field_26386:Lnet/minecraft/class_2561;
      named toastText Lnet/minecraft/advancement/AdvancementFrame;toastText:Lnet/minecraft/text/Text;
  • Constructor Details

    • AdvancementFrame

      private AdvancementFrame(String id, Formatting titleFormat)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lar;<init>(Ljava/lang/String;ILjava/lang/String;Ln;)V
      intermediary <init> Lnet/minecraft/class_189;<init>(Ljava/lang/String;ILjava/lang/String;Lnet/minecraft/class_124;)V
      named <init> Lnet/minecraft/advancement/AdvancementFrame;<init>(Ljava/lang/String;ILjava/lang/String;Lnet/minecraft/util/Formatting;)V
  • Method Details

    • values

      public static AdvancementFrame[] 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 AdvancementFrame 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
    • getId

      public String getId()
      Mappings:
      Namespace Name Mixin selector
      official a Lar;a()Ljava/lang/String;
      intermediary method_831 Lnet/minecraft/class_189;method_831()Ljava/lang/String;
      named getId Lnet/minecraft/advancement/AdvancementFrame;getId()Ljava/lang/String;
    • forName

      public static AdvancementFrame forName(String name)
      Mappings:
      Namespace Name Mixin selector
      official a Lar;a(Ljava/lang/String;)Lar;
      intermediary method_833 Lnet/minecraft/class_189;method_833(Ljava/lang/String;)Lnet/minecraft/class_189;
      named forName Lnet/minecraft/advancement/AdvancementFrame;forName(Ljava/lang/String;)Lnet/minecraft/advancement/AdvancementFrame;
    • getTitleFormat

      public Formatting getTitleFormat()
      Mappings:
      Namespace Name Mixin selector
      official b Lar;b()Ln;
      intermediary method_830 Lnet/minecraft/class_189;method_830()Lnet/minecraft/class_124;
      named getTitleFormat Lnet/minecraft/advancement/AdvancementFrame;getTitleFormat()Lnet/minecraft/util/Formatting;
    • getToastText

      public Text getToastText()
      Mappings:
      Namespace Name Mixin selector
      official c Lar;c()Ltl;
      intermediary method_30756 Lnet/minecraft/class_189;method_30756()Lnet/minecraft/class_2561;
      named getToastText Lnet/minecraft/advancement/AdvancementFrame;getToastText()Lnet/minecraft/text/Text;