Class BossBar
java.lang.Object
org.geysermc.geyser.session.cache.BossBar
-
Constructor Summary
ConstructorDescriptionBossBar(GeyserSession session, long entityId, net.kyori.adventure.text.Component title, float health, int color, int overlay, int darkenSky)
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
void
updateColor(int color)
void
updateHealth(float health)
void
updateTitle(net.kyori.adventure.text.Component title)
-
Constructor Details
-
BossBar
public BossBar(GeyserSession session, long entityId, net.kyori.adventure.text.Component title, float health, int color, int overlay, int darkenSky)
-
-
Method Details
-
addBossBar
public void addBossBar() -
updateBossBar
public void updateBossBar() -
updateTitle
public void updateTitle(net.kyori.adventure.text.Component title) -
updateHealth
public void updateHealth(float health) -
updateColor
public void updateColor(int color) -
removeBossBar
public void removeBossBar()
-