Package net.minecraft.advancement
Enum Class AdvancementFrame
- All Implemented Interfaces:
Serializable
,Comparable<AdvancementFrame>
,Constable
,StringIdentifiable
- Mappings:
Namespace Name named net/minecraft/advancement/AdvancementFrame
intermediary net/minecraft/class_189
official an
-
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
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<AdvancementFrame> private final String
private final Formatting
private final Text
Fields inherited from interface net.minecraft.util.StringIdentifiable
CACHED_MAP_THRESHOLD
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionasString()
Returns the unique string representation of the enum, used for serialization.getChatAnnouncementText
(AdvancementEntry advancementEntry, ServerPlayerEntity player) static AdvancementFrame
Returns 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 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
Lan;a:Lan;
-
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
Lan;b:Lan;
-
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
Lan;c:Lan;
-
-
Field Details
-
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
Lan;d:Lcom/mojang/serialization/Codec;
-
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
Lan;e:Ljava/lang/String;
-
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
Lan;f:Ln;
-
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
Lan;g:Lxv;
-
-
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;)V
intermediary <init>
Lnet/minecraft/class_189;<init>(Ljava/lang/String;ILjava/lang/String;Lnet/minecraft/class_124;)V
official <init>
Lan;<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 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
Lan;a()Ln;
-
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
Lan;b()Lxv;
-
asString
Returns the unique string representation of the enum, used for serialization.- Specified by:
asString
in interfaceStringIdentifiable
- 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
Lbba;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
Lan;a(Lah;Lasi;)Lyj;
-