Package net.minecraft.advancement
Enum Class AdvancementFrame
- All Implemented Interfaces:
Serializable,Comparable<AdvancementFrame>,Constable,StringIdentifiable
- Mappings:
Namespace Name official alintermediary net/minecraft/class_189named net/minecraft/advancement/AdvancementFrame
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>Nested classes/interfaces inherited from interface net.minecraft.util.StringIdentifiable
StringIdentifiable.BasicCodec<S extends StringIdentifiable>, StringIdentifiable.EnumCodec<E extends Enum<E> & StringIdentifiable> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<AdvancementFrame>private final Stringprivate final Formattingprivate final TextFields inherited from interface net.minecraft.util.StringIdentifiable
CACHED_MAP_THRESHOLD -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasString()Returns the unique string representation of the enum, used for serialization.getChatAnnouncementText(AdvancementEntry advancementEntry, ServerPlayerEntity player) static AdvancementFrameReturns the enum constant of this class with the specified name.static AdvancementFrame[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TASK
- Mappings:
Namespace Name Mixin selector official aLal;a:Lal;intermediary field_1254Lnet/minecraft/class_189;field_1254:Lnet/minecraft/class_189;named TASKLnet/minecraft/advancement/AdvancementFrame;TASK:Lnet/minecraft/advancement/AdvancementFrame;
-
CHALLENGE
- Mappings:
Namespace Name Mixin selector official bLal;b:Lal;intermediary field_1250Lnet/minecraft/class_189;field_1250:Lnet/minecraft/class_189;named CHALLENGELnet/minecraft/advancement/AdvancementFrame;CHALLENGE:Lnet/minecraft/advancement/AdvancementFrame;
-
GOAL
- Mappings:
Namespace Name Mixin selector official cLal;c:Lal;intermediary field_1249Lnet/minecraft/class_189;field_1249:Lnet/minecraft/class_189;named GOALLnet/minecraft/advancement/AdvancementFrame;GOAL:Lnet/minecraft/advancement/AdvancementFrame;
-
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official dLal;d:Lcom/mojang/serialization/Codec;intermediary field_47186Lnet/minecraft/class_189;field_47186:Lcom/mojang/serialization/Codec;named CODECLnet/minecraft/advancement/AdvancementFrame;CODEC:Lcom/mojang/serialization/Codec;
-
id
- Mappings:
Namespace Name Mixin selector official eLal;e:Ljava/lang/String;intermediary field_1251Lnet/minecraft/class_189;field_1251:Ljava/lang/String;named idLnet/minecraft/advancement/AdvancementFrame;id:Ljava/lang/String;
-
titleFormat
- Mappings:
Namespace Name Mixin selector official fLal;f:Ln;intermediary field_1255Lnet/minecraft/class_189;field_1255:Lnet/minecraft/class_124;named titleFormatLnet/minecraft/advancement/AdvancementFrame;titleFormat:Lnet/minecraft/util/Formatting;
-
toastText
- Mappings:
Namespace Name Mixin selector official gLal;g:Lvf;intermediary field_26386Lnet/minecraft/class_189;field_26386:Lnet/minecraft/class_2561;named toastTextLnet/minecraft/advancement/AdvancementFrame;toastText:Lnet/minecraft/text/Text;
-
-
Constructor Details
-
AdvancementFrame
- Mappings:
Namespace Name Mixin selector official <init>Lal;<init>(Ljava/lang/String;ILjava/lang/String;Ln;)Vintermediary <init>Lnet/minecraft/class_189;<init>(Ljava/lang/String;ILjava/lang/String;Lnet/minecraft/class_124;)Vnamed <init>Lnet/minecraft/advancement/AdvancementFrame;<init>(Ljava/lang/String;ILjava/lang/String;Lnet/minecraft/util/Formatting;)V
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getTitleFormat
- Mappings:
Namespace Name Mixin selector official aLal;a()Ln;intermediary method_830Lnet/minecraft/class_189;method_830()Lnet/minecraft/class_124;named getTitleFormatLnet/minecraft/advancement/AdvancementFrame;getTitleFormat()Lnet/minecraft/util/Formatting;
-
getToastText
- Mappings:
Namespace Name Mixin selector official bLal;b()Lvf;intermediary method_30756Lnet/minecraft/class_189;method_30756()Lnet/minecraft/class_2561;named getToastTextLnet/minecraft/advancement/AdvancementFrame;getToastText()Lnet/minecraft/text/Text;
-
asString
Returns the unique string representation of the enum, used for serialization.- Specified by:
asStringin interfaceStringIdentifiable- Returns:
- the unique string representation of the enum, used for serialization
- Mappings:
Namespace Name Mixin selector official cLavk;c()Ljava/lang/String;intermediary method_15434Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;named asStringLnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
-
getChatAnnouncementText
public MutableText getChatAnnouncementText(AdvancementEntry advancementEntry, ServerPlayerEntity player) - Mappings:
Namespace Name Mixin selector official aLal;a(Laf;Lane;)Lvt;intermediary method_54932Lnet/minecraft/class_189;method_54932(Lnet/minecraft/class_8779;Lnet/minecraft/class_3222;)Lnet/minecraft/class_5250;named getChatAnnouncementTextLnet/minecraft/advancement/AdvancementFrame;getChatAnnouncementText(Lnet/minecraft/advancement/AdvancementEntry;Lnet/minecraft/server/network/ServerPlayerEntity;)Lnet/minecraft/text/MutableText;
-