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
-
Field Summary
Modifier and TypeFieldDescriptionprivate final ResourceLocation
private final ResourceLocation
private final ResourceLocation
private final ResourceLocation
-
Constructor Summary
ModifierConstructorDescriptionprivate
AdvancementWidgetType
(ResourceLocation p_295820_, ResourceLocation p_294158_, ResourceLocation p_294676_, ResourceLocation p_296261_) -
Method Summary
Modifier and TypeMethodDescriptionframeSprite
(FrameType p_294952_) 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_295820_, ResourceLocation p_294158_, ResourceLocation p_294676_, ResourceLocation p_296261_)
-
-
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
-