Interface Hologram<L>


public interface Hologram<L>
Represents a hologram spawned in the world.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Remove the hologram entity from the world.
    Get the UUID of the underlying entity.
    Get the current location of the hologram.
    void
    Update the displayed lines.
    void
    teleport(L location)
    Teleport the hologram to a new location.
  • Method Details

    • getId

      UUID getId()
      Get the UUID of the underlying entity.
    • getLocation

      L getLocation()
      Get the current location of the hologram.
    • setLines

      void setLines(List<String> lines)
      Update the displayed lines.
    • teleport

      void teleport(L location)
      Teleport the hologram to a new location.
    • delete

      void delete()
      Remove the hologram entity from the world.