hungertweaker-1.6.0
Curse Maven Snippet
What's new
HungerTweaker Community Edition 1.6.0
Added
- Added CraftTweaker support for Nutrition, including:
- The five default nutrients: dairy, fruit, grain, protein, and vegetable
- Custom nutrient access
- Reading, setting, adding, and resetting player nutrition
- Food nutrition calculation
- Food nutrient registration and removal
- Nutrition food-eaten events
- Added CraftTweaker support for The Spice of Life.
- Added CraftTweaker support for Spice of Life: Carrot Edition.
- Added FoodSpoiling food-value events and spoilage-based saturation modifiers.
- Added Sanity integration:
- Sanity read, set, recovery, and consumption methods
- Configurable Sanity values for foods
- Rotten food penalties
- FoodSpoiling freshness integration
- Nutrition-based Sanity factors
- Sanity food-eaten events
- Added EditableEdibles-compatible food effects:
- Chance-based potion effects
- Weighted potion effect selection
- Potion duration and amplifier stacking
- Potion cures
- Positive, negative, and all potion-effect cures
- Always-edible food support
- Best-effort cancellation of default food potion effects
- Added Potion Core compatibility through CraftTweaker's standard `IPotionEffect` values.
- Added Hunger Overhaul-compatible CraftTweaker controls:
- Food hunger and saturation modifiers
- Eating speed
- Well Fed effects
- Hunger and saturation loss rate
- Health regeneration rate
- Starvation damage
- Respawn hunger
- Food stack sizes
- Constant hunger loss
- Low hunger and low health effects
- Animal breeding and growth delays
- Crop growth conditions and multipliers
- Bone meal effectiveness
- Added optional Tough As Nails and SimpleDifficulty CT integrations and drink events.
- Added extensive README documentation with:
- Complete method signatures
- Parameter types and meanings
- Return values
- Event timing
- Required imports
- Practical CraftTweaker examples
- Compatibility and limitation notes
### Compatibility and Stability
- Optional compatibility classes are now registered only after Forge confirms that the corresponding mod is loaded.
- Prevented missing optional mods from causing CraftTweaker or ProbeZS class-loading crashes.
- Added API incompatibility protection for optional integrations.
- Nutrition compatibility supports branches and forks that preserve the expected `ca.wescook.nutrition` package layout and public API.
- HungerTweaker does not require Hunger Overhaul or EditableEdibles to use their compatible CraftTweaker features.
- Tough As Nails and SimpleDifficulty integrations remain independent and do not require each other.
Fixes
- Fixed optional integration loading behavior when only one compatible mod is installed.
- Fixed temporary food-effect state cleanup when eating is interrupted.
- Fixed `FoodEffects.clearEffects()` so it also removes default-effect cancellation rules.
- Improved compatibility with different optional mod combinations.
Scope
This release provides a CraftTweaker compatibility layer and reimplements the requested core features. It does not completely port every internal system from Hunger Overhaul, EditableEdibles, Potion Core, or Sanity.
All Relations
- All Relations
- Embedded Library
- Optional Dependency
- Required Dependency
- Tool
- Incompatible
- Include

