Module gomint.api

Interface BossBar


  • public interface BossBar
    Version:
    1.0
    Author:
    geNAZt
    • Method Detail

      • addPlayer

        void addPlayer​(EntityPlayer player)
        Add a player to this boss bar. This has to be done manually for all non boss entities.
        Parameters:
        player - which should be added to this bossbar
      • removePlayer

        void removePlayer​(EntityPlayer player)
        Remove a player from the boss bar. his has to be done manually for all non boss entities.
        Parameters:
        player - which should be removed from this bossbar
      • setTitle

        void setTitle​(String title)
        Set the title of this boss bar
        Parameters:
        title - of the boss bar
      • getTitle

        String getTitle()
        Get the title of this boss bar
        Returns:
        title of the boss bar