Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Bukkit event for hunger?

I am trying to make a plugin that removes hunger from Minecraft. However, I cannot find the event for it!

Is there an event called when a player loses hunger?

Something like PlayerHungerChangeEvent?

like image 398
Minecraft Man Avatar asked Dec 13 '22 23:12

Minecraft Man


1 Answers

I believe you are looking for the FoodLevelChangeEvent

It is very oddly named, for future reference, refer to the bukkit documentation :)

like image 159
Aaron N. Brock Avatar answered Jan 05 '23 17:01

Aaron N. Brock