Interface IHoloLine


public interface IHoloLine
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Destroy the hologram line and also remove it from the hologram
    Get the hologram bounded to.
    Get the text of the hologram line.
    boolean
    Check if the hologram line is destroyed.
    void
    Remove the hologram line but keeping the line object in its bounded hologram
    void
    Reveals the hologram line if the line has disappeared been removed by the server or another plugin
    void
    Set the hologram bounded to.
    void
    Set the text of the hologram line.
    void
    setText(String text, boolean update)
    Set the text of the hologram line.
    void
    Update the hologram line.
  • Method Details

    • getText

      String getText()
      Get the text of the hologram line.
      Returns:
      the text
    • getHologram

      IHologram getHologram()
      Get the hologram bounded to.
      Returns:
      the hologram
    • update

      void update()
      Update the hologram line.
    • isDestroyed

      boolean isDestroyed()
      Check if the hologram line is destroyed.
      Returns:
      true if the hologram line is destroyed
    • setHologram

      void setHologram(IHologram hologram)
      Set the hologram bounded to.
      Parameters:
      hologram - - the hologram
    • setText

      void setText(String text)
      Set the text of the hologram line.
      Parameters:
      text - - the text
    • setText

      void setText(String text, boolean update)
      Set the text of the hologram line.
      Parameters:
      text - - the text
      update - - if the hologram line should be updated
    • reveal

      void reveal()
      Reveals the hologram line if the line has disappeared been removed by the server or another plugin
    • remove

      void remove()
      Remove the hologram line but keeping the line object in its bounded hologram
    • destroy

      void destroy()
      Destroy the hologram line and also remove it from the hologram