@Environment(value=CLIENT) public class ClientBossBar extends BossBar
BossBar.Color, BossBar.Style
Modifier and Type | Field and Description |
---|---|
protected float |
healthLatest |
protected long |
timeHealthSet |
color, darkenSky, dragonMusic, name, percent, style, thickenFog
Constructor and Description |
---|
ClientBossBar(BossBarS2CPacket packet) |
Modifier and Type | Method and Description |
---|---|
float |
getPercent() |
void |
handlePacket(BossBarS2CPacket packet) |
void |
setPercent(float percentage) |
getColor, getDarkenSky, getName, getOverlay, getThickenFog, getUuid, hasDragonMusic, setColor, setDarkenSky, setDragonMusic, setName, setOverlay, setThickenFog
public ClientBossBar(BossBarS2CPacket packet)
public void setPercent(float percentage)
setPercent
in class BossBar
public float getPercent()
getPercent
in class BossBar
public void handlePacket(BossBarS2CPacket packet)