Interface ILeaderboardHologram


public interface ILeaderboardHologram
Represents a leaderboard hologram.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Generate the hologram.
    int
    Get the ID of this hologram.
    Get the location of the hologram.
    Get the parkour that this hologram belongs to.
    void
    Refresh the leaderboard statistics.
    void
    Remove the hologram from the world.
  • Method Details

    • generate

      void generate()
      Generate the hologram. Only ever call this once, unless remove() has been called since the last time it was generated.
    • remove

      void remove()
      Remove the hologram from the world.
    • refresh

      void refresh()
      Refresh the leaderboard statistics.
    • getLocation

      Location getLocation()
      Get the location of the hologram.
      Returns:
      the location of the hologram.
    • getParkour

      IParkour getParkour()
      Get the parkour that this hologram belongs to.
      Returns:
      the parkour this hologram belongs to, or null if this is an overall leaderboard hologram.
    • getId

      int getId()
      Get the ID of this hologram.
      Returns:
      the ID of the hologram.