Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Eat when your hunger is full


mrkarp
 Share

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.
 Share



×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.