Jump to content

Eat when your hunger is full


Recommended Posts

You put an additional line of code in your statics.

public static final Item CLASSNAME = new ITEMNAME(ID).setAlwaysEdible().setItemName("ITEMNAME");


See what I did there? I added the .setAlwaysEdible() line. This'll make your food always consumable.


Hope this helps!


Link to comment
Share on other sites

This topic is now closed to further replies.


  • Create New...

Important Information

By using this site, you agree to our Terms of Use.