Interface VisibilityManager


public interface VisibilityManager
The VisibilityManager which manages Hologram visibility
  • Method Details

    • getHologram

      Hologram getHologram()
      Get the linked Hologram that this VisibilityManager represents
      Returns:
      The Hologram
    • isVisibleByDefault

      boolean isVisibleByDefault()
      Check if the Hologram is visible to players by default
      Returns:
      The Boolean value for if its visible by default.
    • setVisibleByDefault

      void setVisibleByDefault(boolean visibleByDefault)
      Set the Hologram visible by default Boolean value
      Parameters:
      visibleByDefault - The new visible by default Boolean
    • showTo

      void showTo(org.bukkit.entity.Player player)
      Show the Hologram to a Player
      Parameters:
      player - The Player to display the Hologram to
    • hideTo

      void hideTo(org.bukkit.entity.Player player)
      Hide the Hologram from a Player
      Parameters:
      player - The Player to hide the Hologram from
    • isVisibleTo

      boolean isVisibleTo(org.bukkit.entity.Player player)
      Check if the Hologram is visible to a Player
      Parameters:
      player - The Player to check the visibility status of
      Returns:
      The Boolean visibility status
    • resetVisibility

      void resetVisibility(org.bukkit.entity.Player player)
      Reset the visibility of the Hologram for a Player
      Parameters:
      player - The Player to reset the visibility for
    • resetVisibilityAll

      void resetVisibilityAll()
      Reset the visibility for all online Players