Custom code to deduct/add hunger directly?

1 post / 0 new
Offline
Last seen: 3 months 1 week ago
Joined: 02/24/2015 - 19:32
Gems: 0
Custom code to deduct/add hunger directly?

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