Enum Class AdvancementWidgetType
java.lang.Object
java.lang.Enum<AdvancementWidgetType>
net.minecraft.client.gui.screens.advancements.AdvancementWidgetType
- All Implemented Interfaces:
Serializable
,Comparable<AdvancementWidgetType>
,Constable
-
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
FieldsModifier and TypeFieldDescriptionprivate final ResourceLocation
private final ResourceLocation
private final ResourceLocation
private final ResourceLocation
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
AdvancementWidgetType
(ResourceLocation p_300112_, ResourceLocation p_300140_, ResourceLocation p_299008_, ResourceLocation p_301311_) -
Method Summary
Modifier and TypeMethodDescriptionframeSprite
(AdvancementType p_311711_) static AdvancementWidgetType
Returns the enum constant of this class with the specified name.static AdvancementWidgetType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
OBTAINED
-
UNOBTAINED
-
-
Field Details
-
boxSprite
-
taskFrameSprite
-
challengeFrameSprite
-
goalFrameSprite
-
-
Constructor Details
-
AdvancementWidgetType
private AdvancementWidgetType(ResourceLocation p_300112_, ResourceLocation p_300140_, ResourceLocation p_299008_, ResourceLocation p_301311_)
-
-
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
-
boxSprite
-
frameSprite
-