Enum Class AdvancementFrame

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

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

    • TASK

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

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

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

    • CODEC

      public static final com.mojang.serialization.Codec<AdvancementFrame> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/advancement/AdvancementFrame;CODEC:Lcom/mojang/serialization/Codec;
      intermediary field_47186 Lnet/minecraft/class_189;field_47186:Lcom/mojang/serialization/Codec;
      official d Lal;d:Lcom/mojang/serialization/Codec;
    • id

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

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

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

    • AdvancementFrame

      private AdvancementFrame(String id, Formatting titleFormat)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/advancement/AdvancementFrame;<init>(Ljava/lang/String;ILjava/lang/String;Lnet/minecraft/util/Formatting;)V
      intermediary <init> Lnet/minecraft/class_189;<init>(Ljava/lang/String;ILjava/lang/String;Lnet/minecraft/class_124;)V
      official <init> Lal;<init>(Ljava/lang/String;ILjava/lang/String;Ln;)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
    • getTitleFormat

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

      public Text getToastText()
      Mappings:
      Namespace Name Mixin selector
      named getToastText Lnet/minecraft/advancement/AdvancementFrame;getToastText()Lnet/minecraft/text/Text;
      intermediary method_30756 Lnet/minecraft/class_189;method_30756()Lnet/minecraft/class_2561;
      official b Lal;b()Lxp;
    • asString

      public String asString()
      Returns the unique string representation of the enum, used for serialization.
      Specified by:
      asString in interface StringIdentifiable
      Returns:
      the unique string representation of the enum, used for serialization
      Mappings:
      Namespace Name Mixin selector
      named asString Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
      intermediary method_15434 Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;
      official c Lazu;c()Ljava/lang/String;
    • getChatAnnouncementText

      public MutableText getChatAnnouncementText(AdvancementEntry advancementEntry, ServerPlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      named getChatAnnouncementText Lnet/minecraft/advancement/AdvancementFrame;getChatAnnouncementText(Lnet/minecraft/advancement/AdvancementEntry;Lnet/minecraft/server/network/ServerPlayerEntity;)Lnet/minecraft/text/MutableText;
      intermediary method_54932 Lnet/minecraft/class_189;method_54932(Lnet/minecraft/class_8779;Lnet/minecraft/class_3222;)Lnet/minecraft/class_5250;
      official a Lal;a(Laf;Larg;)Lyd;