Add a way to add hunger

Submitted by cap174 on Sat, 02/23/2019 - 21:55
Upvotes: 0
Issue description

Pretty much what the title suggests - I'm making a cake and it would be great if there was a procedure to replenish hunger. Thanks!

Issue comments

Submitted by Klemen on Sun, 02/24/2019 - 10:51

We will consider adding this. You can use these methods for now:

entity.getFoodStats().getFoodLevel()
entity.getFoodStats().setFoodLevel(int)

 

Submitted by Klemen on Thu, 02/28/2019 - 20:04

This feature will be added in MCreator 1.8.3. I am closing this ticket now.