Interface RankingStatueController

All Superinterfaces:
HologramController

public interface RankingStatueController extends HologramController
Extending API if HologramControllerType.RANKING_STATUE is used.

Cast HologramEntity.getController() to this class to access the methods.

  • Method Details

    • getPlace

      int getPlace()
      Get the place of the player in the ranking.
      Returns:
      The place of the player in the ranking, may be a number between 1 and 3
    • setPlace

      void setPlace(int place)
      Set the place of the player in the ranking.

      Make sure to call HologramController.applyProperties() after changing the place to update the hologram.

      Must be between 1 and 3.

      Parameters:
      place - The place of the player in the ranking