Class PersonalBossBar

java.lang.Object
ru.cwcode.cwutils.dynamicBossBar.personal.v2.PersonalBossBar
Direct Known Subclasses:
PersonalBossBar_v1_16_5

public class PersonalBossBar extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final Function<org.bukkit.entity.Player,net.kyori.adventure.bossbar.BossBar.Color>
     
    protected final Function<org.bukkit.entity.Player,net.kyori.adventure.bossbar.BossBar.Overlay>
     
    protected final Function<org.bukkit.entity.Player,Float>
     
    protected final Function<org.bukkit.entity.Player,Boolean>
     
    protected final Supplier<Boolean>
     
    protected final Function<org.bukkit.entity.Player,net.kyori.adventure.text.Component>
     
    protected final UUID
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected net.kyori.adventure.bossbar.BossBar
     
    protected void
     
    protected void
    hide(org.bukkit.entity.Player player, net.kyori.adventure.bossbar.BossBar bossBar)
     
    protected void
    remove(org.bukkit.entity.Player player)
     
    protected boolean
     
    protected void
    show(org.bukkit.entity.Player player, net.kyori.adventure.bossbar.BossBar bossBar)
     
    protected void
    update(org.bukkit.entity.Player player)
     

    Methods inherited from class java.lang.Object

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

    • uuid

      protected final UUID uuid
    • title

      protected final Function<org.bukkit.entity.Player,net.kyori.adventure.text.Component> title
    • progress

      protected final Function<org.bukkit.entity.Player,Float> progress
    • shouldDisplay

      protected final Function<org.bukkit.entity.Player,Boolean> shouldDisplay
    • color

      protected final Function<org.bukkit.entity.Player,net.kyori.adventure.bossbar.BossBar.Color> color
    • overlay

      protected final Function<org.bukkit.entity.Player,net.kyori.adventure.bossbar.BossBar.Overlay> overlay
    • shouldRemove

      protected final Supplier<Boolean> shouldRemove
  • Constructor Details

    • PersonalBossBar

      public PersonalBossBar()
  • Method Details

    • delete

      protected void delete()
    • remove

      protected void remove(org.bukkit.entity.Player player)
    • shouldRemove

      protected boolean shouldRemove()
    • update

      protected void update(org.bukkit.entity.Player player)
    • createBossBar

      protected net.kyori.adventure.bossbar.BossBar createBossBar()
    • hide

      protected void hide(org.bukkit.entity.Player player, net.kyori.adventure.bossbar.BossBar bossBar)
    • show

      protected void show(org.bukkit.entity.Player player, net.kyori.adventure.bossbar.BossBar bossBar)