public static enum BossEventPacket.Action extends Enum<BossEventPacket.Action>
| Enum Constant and Description |
|---|
CREATE
Creates the bossbar to the player.
|
REGISTER_PLAYER
Registers a player to a boss fight.
|
REMOVE
Removes the bossbar from the client.
|
UNREGISTER_PLAYER
Unregisters a player from a boss fight.
|
UPDATE_NAME
Also appears to not be implemented.
|
UPDATE_PERCENTAGE
Appears not to be implemented.
|
UPDATE_PROPERTIES
Darken the sky when the boss bar is shown.
|
UPDATE_STYLE
Not implemented :( Intended to alter bar appearance, but these currently produce no effect on clientside whatsoever.
|
| Modifier and Type | Method and Description |
|---|---|
static BossEventPacket.Action |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BossEventPacket.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BossEventPacket.Action CREATE
public static final BossEventPacket.Action REGISTER_PLAYER
public static final BossEventPacket.Action REMOVE
public static final BossEventPacket.Action UNREGISTER_PLAYER
public static final BossEventPacket.Action UPDATE_PERCENTAGE
public static final BossEventPacket.Action UPDATE_NAME
public static final BossEventPacket.Action UPDATE_PROPERTIES
public static final BossEventPacket.Action UPDATE_STYLE
public static BossEventPacket.Action[] values()
for (BossEventPacket.Action c : BossEventPacket.Action.values()) System.out.println(c);
public static BossEventPacket.Action valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2018–2022 NukkitX. All rights reserved.