Class KeyedBossBars

java.lang.Object
ru.dragonestia.msb3.api.ui.bossbar.KeyedBossBars

public class KeyedBossBars extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    hide(net.minestom.server.entity.Player player, String bossBarId)
     
    void
    hideAll(net.minestom.server.entity.Player player)
     
    net.kyori.adventure.bossbar.BossBar
    show(net.minestom.server.entity.Player player, String bossBarId, net.kyori.adventure.bossbar.BossBar bossBar)
     
    net.kyori.adventure.bossbar.BossBar
    showText(net.minestom.server.entity.Player player, String bossBarId, net.kyori.adventure.text.Component text)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • KeyedBossBars

      public KeyedBossBars()
  • Method Details

    • hideAll

      public void hideAll(net.minestom.server.entity.Player player)
    • hide

      public void hide(net.minestom.server.entity.Player player, String bossBarId)
    • show

      public net.kyori.adventure.bossbar.BossBar show(net.minestom.server.entity.Player player, String bossBarId, net.kyori.adventure.bossbar.BossBar bossBar)
    • showText

      public net.kyori.adventure.bossbar.BossBar showText(net.minestom.server.entity.Player player, String bossBarId, net.kyori.adventure.text.Component text)