Package net.minecraft.world
Enum BossInfo.Overlay
- java.lang.Object
-
- java.lang.Enum<BossInfo.Overlay>
-
- net.minecraft.world.BossInfo.Overlay
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<BossInfo.Overlay>
- Enclosing class:
- BossInfo
public static enum BossInfo.Overlay extends java.lang.Enum<BossInfo.Overlay>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NOTCHED_10
NOTCHED_12
NOTCHED_20
NOTCHED_6
PROGRESS
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
name
-
Constructor Summary
Constructors Modifier Constructor Description private
Overlay(java.lang.String p_i48621_3_)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BossInfo.Overlay
byName(java.lang.String p_201485_0_)
java.lang.String
getName()
static BossInfo.Overlay
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static BossInfo.Overlay[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PROGRESS
public static final BossInfo.Overlay PROGRESS
-
NOTCHED_6
public static final BossInfo.Overlay NOTCHED_6
-
NOTCHED_10
public static final BossInfo.Overlay NOTCHED_10
-
NOTCHED_12
public static final BossInfo.Overlay NOTCHED_12
-
NOTCHED_20
public static final BossInfo.Overlay NOTCHED_20
-
-
Method Detail
-
values
public static BossInfo.Overlay[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (BossInfo.Overlay c : BossInfo.Overlay.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BossInfo.Overlay valueOf(java.lang.String name)
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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getName
public java.lang.String getName()
-
byName
public static BossInfo.Overlay byName(java.lang.String p_201485_0_)
-
-