Interface HologramAPI<L>


public interface HologramAPI<L>
API for spawning and managing holograms in modules.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    deleteArenaHolograms(int arenaId)
    Delete all holograms associated with a specific arena.
    spawn(int arenaId, L location, List<String> lines)
    Spawn a hologram at the given location with the provided text lines.
  • Method Details

    • spawn

      Hologram<L> spawn(int arenaId, L location, List<String> lines)
      Spawn a hologram at the given location with the provided text lines.
      Parameters:
      arenaId - arena identifier used for cleanup
      location - base location where the hologram should appear
      lines - lines to render (top to bottom)
      Returns:
      spawned hologram instance, or null if creation failed
    • deleteArenaHolograms

      void deleteArenaHolograms(int arenaId)
      Delete all holograms associated with a specific arena.
      Parameters:
      arenaId - arena identifier