Interface LegacyViaAPI<T>
- Type Parameters:
T- player type
public interface LegacyViaAPI<T>
API only applicable on or to legacy versions of Minecraft.
-
Method Summary
Modifier and TypeMethodDescriptioncreateLegacyBossBar(String title, float health, BossColor color, BossStyle style) Creates a new bossbar instance.default BossBarcreateLegacyBossBar(String title, BossColor color, BossStyle style) Creates a new bossbar instance with full health.
-
Method Details
-
createLegacyBossBar
Creates a new bossbar instance. This only works on pre 1.9 servers for 1.9+ clients.- Parameters:
title- titlehealth- health, between 0 and 1 (inclusive)color- colorstyle- style- Returns:
- new bossbar instance
-
createLegacyBossBar
Creates a new bossbar instance with full health. This only works on pre 1.9 servers for 1.9+ clients.- Parameters:
title- titlecolor- colorstyle- style- Returns:
- new bossbar instance
-