Custom code to deduct/add hunger directly?

Started by Tykinator on Thu, 03/05/2015 - 15:41
Last seen on 20:39, 17. Mar 2017
Joined Feb 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
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.)