Package net.minecraft.advancement
Enum AdvancementFrame
- All Implemented Interfaces:
Serializable,Comparable<AdvancementFrame>,java.lang.constant.Constable
public enum AdvancementFrame extends Enum<AdvancementFrame>
- Mappings:
Namespace Name official aiintermediary 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>> -
Enum Constant Summary
-
Field Summary
Fields Modifier and Type Field Description private Stringidprivate inttextureVprivate FormattingtitleFormatprivate TexttoastText -
Constructor Summary
Constructors Modifier Constructor Description privateAdvancementFrame(String id, int texV, Formatting titleFormat) -
Method Summary
Modifier and Type Method Description static AdvancementFrameforName(String name)StringgetId()intgetTextureV()FormattinggetTitleFormat()TextgetToastText()static AdvancementFramevalueOf(String name)Returns the enum constant of this type with the specified name.static AdvancementFrame[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
TASK
- Mappings:
Namespace Name Mixin selector official aLai;a:Lai;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 bLai;b:Lai;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 cLai;c:Lai;intermediary field_1249Lnet/minecraft/class_189;field_1249:Lnet/minecraft/class_189;named GOALLnet/minecraft/advancement/AdvancementFrame;GOAL:Lnet/minecraft/advancement/AdvancementFrame;
-
-
Field Details
-
id
- Mappings:
Namespace Name Mixin selector official dLai;d:Ljava/lang/String;intermediary field_1251Lnet/minecraft/class_189;field_1251:Ljava/lang/String;named idLnet/minecraft/advancement/AdvancementFrame;id:Ljava/lang/String;
-
textureV
private final int textureV- Mappings:
Namespace Name Mixin selector official eLai;e:Iintermediary field_1252Lnet/minecraft/class_189;field_1252:Inamed textureVLnet/minecraft/advancement/AdvancementFrame;textureV:I
-
titleFormat
- Mappings:
Namespace Name Mixin selector official fLai;f:Lk;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 gLai;g:Loi;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>Lai;<init>(Ljava/lang/String;ILjava/lang/String;ILk;)Vintermediary <init>Lnet/minecraft/class_189;<init>(Ljava/lang/String;ILjava/lang/String;ILnet/minecraft/class_124;)Vnamed <init>Lnet/minecraft/advancement/AdvancementFrame;<init>(Ljava/lang/String;ILjava/lang/String;ILnet/minecraft/util/Formatting;)V
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
getId
- Mappings:
Namespace Name Mixin selector official aLai;a()Ljava/lang/String;intermediary method_831Lnet/minecraft/class_189;method_831()Ljava/lang/String;named getIdLnet/minecraft/advancement/AdvancementFrame;getId()Ljava/lang/String;
-
getTextureV
- Mappings:
Namespace Name Mixin selector official bLai;b()Iintermediary method_832Lnet/minecraft/class_189;method_832()Inamed getTextureVLnet/minecraft/advancement/AdvancementFrame;getTextureV()I
-
forName
- Mappings:
Namespace Name Mixin selector official aLai;a(Ljava/lang/String;)Lai;intermediary method_833Lnet/minecraft/class_189;method_833(Ljava/lang/String;)Lnet/minecraft/class_189;named forNameLnet/minecraft/advancement/AdvancementFrame;forName(Ljava/lang/String;)Lnet/minecraft/advancement/AdvancementFrame;
-
getTitleFormat
- Mappings:
Namespace Name Mixin selector official cLai;c()Lk;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 dLai;d()Loi;intermediary method_30756Lnet/minecraft/class_189;method_30756()Lnet/minecraft/class_2561;named getToastTextLnet/minecraft/advancement/AdvancementFrame;getToastText()Lnet/minecraft/text/Text;
-