Jump to content

Eat when your hunger is full


mrkarp

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

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

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