Interface HologramAPI


public interface HologramAPI
The HologramAPI which handles connections between multiple Hologram sources
  • Method Details

    • createHologram

      Hologram createHologram(Outpost plugin, org.bukkit.Location location, String id, Object extra)
      Create a Hologram
      Parameters:
      location - The starting Location
      extra -
      id -
      Returns:
      The created Hologram
    • removeIfPreset

      boolean removeIfPreset(Outpost plugin, String id)
    • setLine

      void setLine(Hologram hologram, int lineIndex, Line line)
      Set a holograms line at an index
      Parameters:
      hologram - The parent Hologram
      lineIndex - The Line index
      line - The Line
    • updateLine

      void updateLine(Hologram hologram, int lineIndex, Line line)
      Update a Holograms line
      Parameters:
      hologram - The parent Hologram
      lineIndex - The Line index
      line - The Line
    • appendLine

      void appendLine(Hologram hologram, Line line)
      Append a Line to a Hologram
      Parameters:
      hologram - The parent Hologram
      line - The Line
    • teleport

      void teleport(Hologram hologram, org.bukkit.Location location)
      Teleport a hologram
      Parameters:
      hologram - The Hologram to teleport
      location - The Location to teleport it to
    • delete

      void delete(Hologram hologram)
      Delete a hologram
    • showTo

      void showTo(VisibilityManager visibilityManager, org.bukkit.entity.Player player)
      Show a hologram to a player
      Parameters:
      visibilityManager - The VisibilityManager to use
      player - The player
    • hideTo

      void hideTo(VisibilityManager visibilityManager, org.bukkit.entity.Player player)
      Hide a hologram from a player
      Parameters:
      visibilityManager - The VisibilityManager to use
      player - The player