promotional bannermobile promotional banner

HungerTweaker

Modify food and hunger-related properties with ZenScript (CraftTweaker).
Back to Files

HungerTweaker-1.12.2-1.2.0.jar

File nameHungerTweaker-1.12.2-1.2.0.jar
Uploader
CoolSquidCoolSquid
Uploaded
Aug 22, 2019
Downloads
2.0K
Size
51.9 KB
Mod Loaders
Forge
File ID
2767639
Type
R
Release
Supported game versions
  • 1.12.2

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:hungertweaker-321315:2767639")

Learn more about Curse Maven

What's new

  • Added getters and setters for "alwaysEdible" (boolean), "wolfFood" (boolean), "effect" (IPotionEffect) and "effectProbability" (float, 0-1) to the "FoodValues" ZenClass.
  • Added the "PeacefulHungerRegenEvent". The normal "PeacefulRegenEvent" can be used to control health regen in peaceful, while the new event can be used to control hunger regen.
  • Replaced "setStatus" with "setHealthStatus" and added "setHungerStatus" to the "PeacefulRegen" ZenClass.