public class DummyBossBar extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
DummyBossBar.Builder |
| Modifier and Type | Method and Description |
|---|---|
void |
create() |
void |
destroy() |
long |
getBossBarId() |
org.cloudburstmc.api.util.data.BlockColor |
getColor() |
float |
getLength() |
int |
getMixedColor() |
CloudPlayer |
getPlayer() |
String |
getText() |
void |
reshow()
Once the player has teleported, resend Show BossBar
|
void |
setColor(org.cloudburstmc.api.util.data.BlockColor color)
Color is not working in the current version.
|
void |
setLength(float length) |
void |
setText(String text) |
void |
updateBossEntityPosition()
Don't let the entity go too far from the player, or the BossBar will disappear.
|
public CloudPlayer getPlayer()
public long getBossBarId()
public String getText()
public void setText(String text)
public float getLength()
public void setLength(float length)
public void setColor(org.cloudburstmc.api.util.data.BlockColor color)
color - the boss bar colorpublic int getMixedColor()
public org.cloudburstmc.api.util.data.BlockColor getColor()
public void updateBossEntityPosition()
public void create()
public void reshow()
public void destroy()
Copyright © 2021. All rights reserved.