BossBar

Spokers

Пользователь
Сообщения
70
Решения
1
1)Как работать с BossBar(API)?
2)Spigot 1.8
3)Нету
 
Java:
//Create a new BossBar
BossBar bossBar = BossBarAPI.addBar(player, // The receiver of the BossBar
      new TextComponent("Hi " + player.getName() + "!"), // Displayed message
      BossBarAPI.Color.BLUE, // Color of the bar
      BossBarAPI.Style.NOTCHED_20, // Bar style
      1.0f, // Progress (0.0 - 1.0)
      20, // Timeout
      2); // Timeout-interval
 
Java:
//Create a new BossBar
BossBar bossBar = BossBarAPI.addBar(player, // The receiver of the BossBar
      new TextComponent("Hi " + player.getName() + "!"), // Displayed message
      BossBarAPI.Color.BLUE, // Color of the bar
      BossBarAPI.Style.NOTCHED_20, // Bar style
      1.0f, // Progress (0.0 - 1.0)
      20, // Timeout
      2); // Timeout-interval
Требует ли это перехода на 1.12?
 
Назад
Сверху Снизу