the 1.18.2 names are:
ServerPlayer#getStats
ServerStatsCounter
you can then use ServerStatsCounter#getValue with to get the value of the Stat:
Stats.CUSTOM.get(<the stat you want>)
How can i put in an int var the value of a stats of a player?
4 replies
Important Information
By using this site, you agree to our Terms of Use.