Custom code to deduct/add hunger directly?

Started by Tykinator on Thu, 03/05/2015 - 15:41

Topic category: Advanced modding

Last seen on 20:39, 17. Mar 2017
Joined Feb 2015
User points:

User statistics:

  • Modifications:
  • Mods of the week:
  • Forum topics:
  • Comments:
  • Wiki pages:
  • Tracker tickets:
  • Invalid tickets:
Custom code to deduct/add hunger directly?
Thu, 03/05/2015 - 15:41

I want to add magic-like effects but using hunger potion effect to take away hunger bars seems sloppy.

Does anyone know how to use custom code to deduct / add certain amounts of hunger? Please assist me. Thanks! :)


(This is in MCreator 1.5.4 [1.7.10] by the way.)

0Upvote this forum topic