T
- player typepublic interface LegacyViaAPI<T>
Modifier and Type | Method and Description |
---|---|
default BossBar |
createLegacyBossBar(java.lang.String title,
BossColor color,
BossStyle style)
Creates a new bossbar instance with full health.
|
BossBar |
createLegacyBossBar(java.lang.String title,
float health,
BossColor color,
BossStyle style)
Creates a new bossbar instance.
|
BossBar createLegacyBossBar(java.lang.String title, float health, BossColor color, BossStyle style)
title
- titlehealth
- health, between 0 and 1 (inclusive)color
- colorstyle
- style