Package net.minecraft.advancement
Enum Class AdvancementType
- All Implemented Interfaces:
Serializable,Comparable<AdvancementType>,Constable
- Mappings:
Namespace Name official sintermediary net/minecraft/class_3358named net/minecraft/advancement/AdvancementType
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateAdvancementType(String type, int textureOffset, Formatting color) -
Method Summary
Modifier and TypeMethodDescriptionstatic AdvancementTypefromString(String type) getColor()intgetType()static AdvancementTypeReturns the enum constant of this class with the specified name.static AdvancementType[]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 aLs;a:Ls;intermediary field_16484Lnet/minecraft/class_3358;field_16484:Lnet/minecraft/class_3358;named TASKLnet/minecraft/advancement/AdvancementType;TASK:Lnet/minecraft/advancement/AdvancementType;
-
CHALLENGE
- Mappings:
Namespace Name Mixin selector official bLs;b:Ls;intermediary field_16485Lnet/minecraft/class_3358;field_16485:Lnet/minecraft/class_3358;named CHALLENGELnet/minecraft/advancement/AdvancementType;CHALLENGE:Lnet/minecraft/advancement/AdvancementType;
-
GOAL
- Mappings:
Namespace Name Mixin selector official cLs;c:Ls;intermediary field_16486Lnet/minecraft/class_3358;field_16486:Lnet/minecraft/class_3358;named GOALLnet/minecraft/advancement/AdvancementType;GOAL:Lnet/minecraft/advancement/AdvancementType;
-
-
Field Details
-
type
- Mappings:
Namespace Name Mixin selector official dLs;d:Ljava/lang/String;intermediary field_16487Lnet/minecraft/class_3358;field_16487:Ljava/lang/String;named typeLnet/minecraft/advancement/AdvancementType;type:Ljava/lang/String;
-
textureOffset
private final int textureOffset- Mappings:
Namespace Name Mixin selector official eLs;e:Iintermediary field_16488Lnet/minecraft/class_3358;field_16488:Inamed textureOffsetLnet/minecraft/advancement/AdvancementType;textureOffset:I
-
color
- Mappings:
Namespace Name Mixin selector official fLs;f:La;intermediary field_16489Lnet/minecraft/class_3358;field_16489:Lnet/minecraft/class_1442;named colorLnet/minecraft/advancement/AdvancementType;color:Lnet/minecraft/util/Formatting;
-
-
Constructor Details
-
AdvancementType
- Mappings:
Namespace Name Mixin selector official <init>Ls;<init>(Ljava/lang/String;ILjava/lang/String;ILa;)Vintermediary <init>Lnet/minecraft/class_3358;<init>(Ljava/lang/String;ILjava/lang/String;ILnet/minecraft/class_1442;)Vnamed <init>Lnet/minecraft/advancement/AdvancementType;<init>(Ljava/lang/String;ILjava/lang/String;ILnet/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
-
getType
- Mappings:
Namespace Name Mixin selector official aLs;a()Ljava/lang/String;intermediary method_15024Lnet/minecraft/class_3358;method_15024()Ljava/lang/String;named getTypeLnet/minecraft/advancement/AdvancementType;getType()Ljava/lang/String;
-
getTextureOffest
- Mappings:
Namespace Name Mixin selector official bLs;b()Iintermediary method_15026Lnet/minecraft/class_3358;method_15026()Inamed getTextureOffestLnet/minecraft/advancement/AdvancementType;getTextureOffest()I
-
fromString
- Mappings:
Namespace Name Mixin selector official aLs;a(Ljava/lang/String;)Ls;intermediary method_15025Lnet/minecraft/class_3358;method_15025(Ljava/lang/String;)Lnet/minecraft/class_3358;named fromStringLnet/minecraft/advancement/AdvancementType;fromString(Ljava/lang/String;)Lnet/minecraft/advancement/AdvancementType;
-
getColor
- Mappings:
Namespace Name Mixin selector official cLs;c()La;intermediary method_15027Lnet/minecraft/class_3358;method_15027()Lnet/minecraft/class_1442;named getColorLnet/minecraft/advancement/AdvancementType;getColor()Lnet/minecraft/util/Formatting;
-