Interface RankingStatueController
- All Superinterfaces:
HologramController
Extending API if
HologramControllerType.RANKING_STATUE
is used.
Cast HologramEntity.getController()
to this class to access the methods.
-
Method Summary
Methods inherited from interface de.marcely.bedwars.api.world.hologram.HologramController
applyProperties, deserialize, getHologram, getType, handleInteract, isActive, serialize
-
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
-