Interface IHologram


public interface IHologram
Represents a generic Hologram.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the location of the hologram in the world.
    Get the internal name of the hologram.
    Retrieves the parkour associated with this hologram.
    void
    Removes the hologram from the world.
    void
    Sets the lines of text to be displayed in the hologram.
    void
    Sets the location of the hologram in the world.
  • Method Details

    • remove

      void remove()
      Removes the hologram from the world.
    • getLocation

      Location getLocation()
      Gets the location of the hologram in the world.
      Returns:
      the location of the hologram.
    • getParkour

      IParkour getParkour()
      Retrieves the parkour associated with this hologram.
      Returns:
      the instance of IParkour associated with this hologram, or null if no parkour is linked.
    • setLines

      void setLines(List<String> lines)
      Sets the lines of text to be displayed in the hologram.
      Parameters:
      lines - the list of strings representing the lines of text to display in the hologram.
    • setLocation

      void setLocation(Location location)
      Sets the location of the hologram in the world.
      Parameters:
      location - the new location of the hologram.
    • getName

      String getName()
      Get the internal name of the hologram.
      Returns:
      the internal name of the hologram.