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 ai
intermediary net/minecraft/class_189
named 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 String
id
private int
textureV
private Formatting
titleFormat
private Text
toastText
-
Constructor Summary
Constructors Modifier Constructor Description private
AdvancementFrame(String id, int texV, Formatting titleFormat)
-
Method Summary
Modifier and Type Method Description static AdvancementFrame
forName(String name)
String
getId()
int
getTextureV()
Formatting
getTitleFormat()
Text
getToastText()
static AdvancementFrame
valueOf(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 a
Lai;a:Lai;
intermediary field_1254
Lnet/minecraft/class_189;field_1254:Lnet/minecraft/class_189;
named TASK
Lnet/minecraft/advancement/AdvancementFrame;TASK:Lnet/minecraft/advancement/AdvancementFrame;
-
CHALLENGE
- Mappings:
Namespace Name Mixin selector official b
Lai;b:Lai;
intermediary field_1250
Lnet/minecraft/class_189;field_1250:Lnet/minecraft/class_189;
named CHALLENGE
Lnet/minecraft/advancement/AdvancementFrame;CHALLENGE:Lnet/minecraft/advancement/AdvancementFrame;
-
GOAL
- Mappings:
Namespace Name Mixin selector official c
Lai;c:Lai;
intermediary field_1249
Lnet/minecraft/class_189;field_1249:Lnet/minecraft/class_189;
named GOAL
Lnet/minecraft/advancement/AdvancementFrame;GOAL:Lnet/minecraft/advancement/AdvancementFrame;
-
-
Field Details
-
id
- Mappings:
Namespace Name Mixin selector official d
Lai;d:Ljava/lang/String;
intermediary field_1251
Lnet/minecraft/class_189;field_1251:Ljava/lang/String;
named id
Lnet/minecraft/advancement/AdvancementFrame;id:Ljava/lang/String;
-
textureV
private final int textureV- Mappings:
Namespace Name Mixin selector official e
Lai;e:I
intermediary field_1252
Lnet/minecraft/class_189;field_1252:I
named textureV
Lnet/minecraft/advancement/AdvancementFrame;textureV:I
-
titleFormat
- Mappings:
Namespace Name Mixin selector official f
Lai;f:Lk;
intermediary field_1255
Lnet/minecraft/class_189;field_1255:Lnet/minecraft/class_124;
named titleFormat
Lnet/minecraft/advancement/AdvancementFrame;titleFormat:Lnet/minecraft/util/Formatting;
-
toastText
- Mappings:
Namespace Name Mixin selector official g
Lai;g:Loi;
intermediary field_26386
Lnet/minecraft/class_189;field_26386:Lnet/minecraft/class_2561;
named toastText
Lnet/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;)V
intermediary <init>
Lnet/minecraft/class_189;<init>(Ljava/lang/String;ILjava/lang/String;ILnet/minecraft/class_124;)V
named <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 a
Lai;a()Ljava/lang/String;
intermediary method_831
Lnet/minecraft/class_189;method_831()Ljava/lang/String;
named getId
Lnet/minecraft/advancement/AdvancementFrame;getId()Ljava/lang/String;
-
getTextureV
- Mappings:
Namespace Name Mixin selector official b
Lai;b()I
intermediary method_832
Lnet/minecraft/class_189;method_832()I
named getTextureV
Lnet/minecraft/advancement/AdvancementFrame;getTextureV()I
-
forName
- Mappings:
Namespace Name Mixin selector official a
Lai;a(Ljava/lang/String;)Lai;
intermediary method_833
Lnet/minecraft/class_189;method_833(Ljava/lang/String;)Lnet/minecraft/class_189;
named forName
Lnet/minecraft/advancement/AdvancementFrame;forName(Ljava/lang/String;)Lnet/minecraft/advancement/AdvancementFrame;
-
getTitleFormat
- Mappings:
Namespace Name Mixin selector official c
Lai;c()Lk;
intermediary method_830
Lnet/minecraft/class_189;method_830()Lnet/minecraft/class_124;
named getTitleFormat
Lnet/minecraft/advancement/AdvancementFrame;getTitleFormat()Lnet/minecraft/util/Formatting;
-
getToastText
- Mappings:
Namespace Name Mixin selector official d
Lai;d()Loi;
intermediary method_30756
Lnet/minecraft/class_189;method_30756()Lnet/minecraft/class_2561;
named getToastText
Lnet/minecraft/advancement/AdvancementFrame;getToastText()Lnet/minecraft/text/Text;
-