Loading...
Beta Modpages Unclaimed

HungerTweaker

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

0 Likes
762340 Downloads
Created by CoolSquid

Description

HungerTweaker exposes the AppleCore API to CraftTweaker scripts, and can be used to modify a variety of food and hunger-related properties.

 

HungerTweaker consists of two parts. Firstly, it includes a simplified wrapper around the AppleCore API. This can be used to set a variety of default values, as well as modify the properties of food items. Secondly, it provides access to most of AppleCore's events. This can be used to dynamically modify and react to changes in a player's hunger, exhaustion, starvation, and regen.

 

The simplified wrapper is designed to be easy to use, and largely consists of static ZenMethods such as mods.hungertweaker.Hunger.setMaxHunger(20). It has access to no other context than the previous value of the property, which can be used in expressions, such as mods.hungertweaker.Hunger.setMaxHunger("x/2").

 

The event system functions largely like CraftTweaker's own event system. Scripts can register event handler functions, which are invoked whenever the event occurs and have access to context, such as the IPlayer in question. As such, the event system can be used to produce far more advanced results than the simplified wrapper.

 

HungerTweaker attempts to apply its changes after all other mods. The simplified options are handled before the events, and event handlers may override the default values set by the simplified options.

 

For a more complete overview, visit the HungerTweaker wiki.


AD Become Premium to remove Ads!

What means Verified?

  • Compatibility: The mod should be compatible with the latest version of Minecraft and be clearly labeled with its supported versions.
  • Functionality: The mod should work as advertised and not cause any game-breaking bugs or crashes.
  • Security: The mod should not contain any malicious code or attempts to steal personal information.
  • Performance: The mod should not cause a significant decrease in the game's performance, such as by causing lag or reducing frame rates.
  • Originality: The mod should be original and not a copy of someone else's work.
  • Up-to-date: The mod should be regularly updated to fix bugs, improve performance, and maintain compatibility with the latest version of Minecraft.
  • Support: The mod should have an active developer who provides support and troubleshooting assistance to users.
  • License: The mod should be released under a clear and open source license that allows others to use, modify, and redistribute the code.
  • Documentation: The mod should come with clear and detailed documentation on how to install and use it.

AD Become Premium to remove Ads!

How to Install

1

Download Forge & Java

Download Forge from the offical Site or here. If you dont have Java installed then install it now from here. After Downloading Forge you can run the file with Java.

2

Prepare

Lounch Minecraft and select your Forge istallation as Version this will create a Folder called Mods.

3

Add Mods

Type Win+R and type %appdata% and open the .minecraft Folder. There will you find your Folder called Mods. Place all Mods you want to play in this Folder

4

Enjoy

You are now Ready. Re-start your Game and start Playing.

More Mods like this

ModTweaker

ModTweaker is an addon for CraftTweaker, a recipe manipulator utility for Minecraft. It allows you to modify the recipes of other mods that add their own crafting mechanics

JEITweaker

Adds CraftTweaker support to Just Enough Items

LootTweaker

A CraftTweaker addon that allows loot tables to be tweaked

Recipe Stages

Allows for Crafting table recipes to be locked behind stages.

Initial Inventory

Allows you to set an Initial Inventory for a player using ZenScript

Item Stages

Allows items to be restricted to a stage.

Dimension Stages

Allows access to dimensions to be restricted based on stages.

LootTableTweaker

LootTable support for CraftTweaker / MineTweaker3

Waila Stages

Allows access to Waila HUD and specific tool tip info to be restricted based on stages,