Package net.minecraft.advancement
Enum Class AdvancementFrame
- All Implemented Interfaces:
Serializable,Comparable<AdvancementFrame>,Constable,StringIdentifiable
- Mappings:
Namespace Name named net/minecraft/advancement/AdvancementFrameintermediary net/minecraft/class_189official am
-
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 named TASKLnet/minecraft/advancement/AdvancementFrame;TASK:Lnet/minecraft/advancement/AdvancementFrame;intermediary field_1254Lnet/minecraft/class_189;field_1254:Lnet/minecraft/class_189;official aLam;a:Lam;
-
CHALLENGE
- Mappings:
Namespace Name Mixin selector named CHALLENGELnet/minecraft/advancement/AdvancementFrame;CHALLENGE:Lnet/minecraft/advancement/AdvancementFrame;intermediary field_1250Lnet/minecraft/class_189;field_1250:Lnet/minecraft/class_189;official bLam;b:Lam;
-
GOAL
- Mappings:
Namespace Name Mixin selector named GOALLnet/minecraft/advancement/AdvancementFrame;GOAL:Lnet/minecraft/advancement/AdvancementFrame;intermediary field_1249Lnet/minecraft/class_189;field_1249:Lnet/minecraft/class_189;official cLam;c:Lam;
-
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/advancement/AdvancementFrame;CODEC:Lcom/mojang/serialization/Codec;intermediary field_47186Lnet/minecraft/class_189;field_47186:Lcom/mojang/serialization/Codec;official dLam;d:Lcom/mojang/serialization/Codec;
-
id
- Mappings:
Namespace Name Mixin selector named idLnet/minecraft/advancement/AdvancementFrame;id:Ljava/lang/String;intermediary field_1251Lnet/minecraft/class_189;field_1251:Ljava/lang/String;official eLam;e:Ljava/lang/String;
-
titleFormat
- Mappings:
Namespace Name Mixin selector named titleFormatLnet/minecraft/advancement/AdvancementFrame;titleFormat:Lnet/minecraft/util/Formatting;intermediary field_1255Lnet/minecraft/class_189;field_1255:Lnet/minecraft/class_124;official fLam;f:Ln;
-
toastText
- Mappings:
Namespace Name Mixin selector named toastTextLnet/minecraft/advancement/AdvancementFrame;toastText:Lnet/minecraft/text/Text;intermediary field_26386Lnet/minecraft/class_189;field_26386:Lnet/minecraft/class_2561;official gLam;g:Lwz;
-
-
Constructor Details
-
AdvancementFrame
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/advancement/AdvancementFrame;<init>(Ljava/lang/String;ILjava/lang/String;Lnet/minecraft/util/Formatting;)Vintermediary <init>Lnet/minecraft/class_189;<init>(Ljava/lang/String;ILjava/lang/String;Lnet/minecraft/class_124;)Vofficial <init>Lam;<init>(Ljava/lang/String;ILjava/lang/String;Ln;)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 named getTitleFormatLnet/minecraft/advancement/AdvancementFrame;getTitleFormat()Lnet/minecraft/util/Formatting;intermediary method_830Lnet/minecraft/class_189;method_830()Lnet/minecraft/class_124;official aLam;a()Ln;
-
getToastText
- Mappings:
Namespace Name Mixin selector named getToastTextLnet/minecraft/advancement/AdvancementFrame;getToastText()Lnet/minecraft/text/Text;intermediary method_30756Lnet/minecraft/class_189;method_30756()Lnet/minecraft/class_2561;official bLam;b()Lwz;
-
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 named asStringLnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;intermediary method_15434Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;official cLazk;c()Ljava/lang/String;
-
getChatAnnouncementText
public MutableText getChatAnnouncementText(AdvancementEntry advancementEntry, ServerPlayerEntity player) - Mappings:
Namespace Name Mixin selector named getChatAnnouncementTextLnet/minecraft/advancement/AdvancementFrame;getChatAnnouncementText(Lnet/minecraft/advancement/AdvancementEntry;Lnet/minecraft/server/network/ServerPlayerEntity;)Lnet/minecraft/text/MutableText;intermediary method_54932Lnet/minecraft/class_189;method_54932(Lnet/minecraft/class_8779;Lnet/minecraft/class_3222;)Lnet/minecraft/class_5250;official aLam;a(Lag;Laqv;)Lxn;
-