Package net.minestom.server.stat
Class PlayerStatistic
java.lang.Object
net.minestom.server.stat.PlayerStatistic
public class PlayerStatistic
extends java.lang.Object
Represents a single statistic in the "statistics" game menu.
You can retrieve the statistics map with Player.getStatisticValueMap()
and modify it with your own values.
-
Constructor Summary
Constructors Constructor Description PlayerStatistic(StatisticCategory category, int statisticId)
PlayerStatistic(StatisticType type)
-
Method Summary
Modifier and Type Method Description StatisticCategory
getCategory()
int
getStatisticId()
-
Constructor Details
-
Method Details
-
getCategory
-
getStatisticId
public int getStatisticId()
-