Package com.sucy.skill.data
Class PlayerStats
java.lang.Object
com.sucy.skill.data.PlayerStats
- All Implemented Interfaces:
mc.promcteam.engine.mccore.scoreboard.StatHolder
Stat provider for the MCCore stat scoreboard
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
PlayerStats
Constructor- Parameters:
player- player to show stats for
-
-
Method Details
-
init
public static void init()Initializes the offline players used by the scoreboard. This is done by the API on startup so do not call this method. -
clear
public static void clear()Clears the initialized offline players. This is done by the API upon disable so do not call this method. -
getNames
- Specified by:
getNamesin interfacemc.promcteam.engine.mccore.scoreboard.StatHolder- Returns:
- map of stats for the scoreboard
-
getValues
- Specified by:
getValuesin interfacemc.promcteam.engine.mccore.scoreboard.StatHolder- Returns:
- populated list of values
-