Class LeaderboardHologram
java.lang.Object
com.maximde.hologramlib.hologram.custom.LeaderboardHologram
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic classstatic enumstatic final recordstatic enumstatic enum -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionorg.bukkit.Locationvoidhide(org.bukkit.entity.Player player) voidremovePlayer(UUID uuid) rotate(float x, float y) voidvoidsetPlayerScore(UUID uuid, String name, double score) voidsetPlayerScore(UUID uuid, String name, long score) voidshow(org.bukkit.entity.Player player) teleport(org.bukkit.Location location) voidupdate()Updates the leaderboard display with current data Formats and displays the leaderboard entries according to the specified options, including special formatting for top 3 places and optional player head displayprotected voidvalidateId(String id)
-
Constructor Details
-
LeaderboardHologram
-
-
Method Details
-
validateId
-
setPlayerScore
-
setPlayerScore
-
setAllScores
-
removePlayer
-
hide
public void hide(org.bukkit.entity.Player player) -
show
public void show(org.bukkit.entity.Player player) -
update
public void update()Updates the leaderboard display with current data Formats and displays the leaderboard entries according to the specified options, including special formatting for top 3 places and optional player head display -
rotate
-
setFixedRotation
-
teleport
-
getLocation
public org.bukkit.Location getLocation() -
getAllTextHolograms
-
getEntryHolograms
-