如题=Bukkit里好像没有player.hunger
这个东西
这个东西
Player
float getExhaustion()
Gets the players current exhaustion level.
Exhaustion controls how fast the food level drops. While you have a certain amount of exhaustion, your saturation will drop to zero, and then your food will drop to zero.
Returns:
Exhaustion level
float getExhaustion()
Gets the players current exhaustion level.
Exhaustion controls how fast the food level drops. While you have a certain amount of exhaustion, your saturation will drop to zero, and then your food will drop to zero.
Returns:
Exhaustion level
本帖最后由 107874017 于 2016-4-6 21:53 编辑
getFoodLevel()
就是这货了XD
其实楼上那个也可以x
不过我习惯这个
getFoodLevel()
就是这货了XD
其实楼上那个也可以x
不过我习惯这个
q513902026 发表于 2016-4-5 17:22
Player
float getExhaustion()
Gets the players current exhaustion level.
谢谢=-=