Enum SUpdateBossInfoPacket.Operation
- java.lang.Object
-
- java.lang.Enum<SUpdateBossInfoPacket.Operation>
-
- net.minecraft.network.play.server.SUpdateBossInfoPacket.Operation
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SUpdateBossInfoPacket.Operation>
- Enclosing class:
- SUpdateBossInfoPacket
public static enum SUpdateBossInfoPacket.Operation extends java.lang.Enum<SUpdateBossInfoPacket.Operation>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADD
REMOVE
UPDATE_NAME
UPDATE_PCT
UPDATE_PROPERTIES
UPDATE_STYLE
-
Constructor Summary
Constructors Modifier Constructor Description private
Operation()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SUpdateBossInfoPacket.Operation
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SUpdateBossInfoPacket.Operation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADD
public static final SUpdateBossInfoPacket.Operation ADD
-
REMOVE
public static final SUpdateBossInfoPacket.Operation REMOVE
-
UPDATE_PCT
public static final SUpdateBossInfoPacket.Operation UPDATE_PCT
-
UPDATE_NAME
public static final SUpdateBossInfoPacket.Operation UPDATE_NAME
-
UPDATE_STYLE
public static final SUpdateBossInfoPacket.Operation UPDATE_STYLE
-
UPDATE_PROPERTIES
public static final SUpdateBossInfoPacket.Operation UPDATE_PROPERTIES
-
-
Method Detail
-
values
public static SUpdateBossInfoPacket.Operation[] 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 (SUpdateBossInfoPacket.Operation c : SUpdateBossInfoPacket.Operation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SUpdateBossInfoPacket.Operation 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
-
-