Class StatBoard
java.lang.Object
studio.magemonkey.codex.mccore.scoreboard.Board
studio.magemonkey.codex.mccore.scoreboard.StatBoard
Stat board for displaying various statistics
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddStats(StatHolder holder) Add stats to the scoreboardvoidclearStats(StatHolder holder) Clears the stats from a stat holdervoidupdate()Updates the stats for this scoreboardMethods inherited from class studio.magemonkey.codex.mccore.scoreboard.Board
clearDisplay, equals, getName, getPlayer, getScoreboard, hashCode, set, setHealthLabel, setPlayer, showPlayer
-
Constructor Details
-
StatBoard
Constructor- Parameters:
title- scoreboard title
-
-
Method Details
-
addStats
Add stats to the scoreboard- Parameters:
holder- holder of the stats
-
clearStats
Clears the stats from a stat holder- Parameters:
holder- stat holder
-
update
public void update()Updates the stats for this scoreboard
-