Package net.minestom.server.statistic
Class PlayerStatistic
java.lang.Object
net.minestom.server.statistic.PlayerStatistic
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
ConstructorDescriptionPlayerStatistic
(@NotNull StatisticCategory category, int statisticId) PlayerStatistic
(@NotNull StatisticType type) -
Method Summary
-
Constructor Details
-
PlayerStatistic
-
PlayerStatistic
-
-
Method Details
-
getCategory
-
getStatisticId
public int getStatisticId()
-