跳到正文

HungerTweaker Community Edition

作者:lonelyxiya

HungerTweaker Community Edition is a project maintained by CanoeStudio. Its purpose is to update the mod's integration with CraftTweaker (CrT) mod event extensions.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

HungerTweaker Community Edition

HungerTweaker Community Edition is an unofficial community-maintained continuation of the original HungerTweaker project for Minecraft 1.12.2. It exposes the AppleCore hunger API to CraftTweaker scripts, allowing modpack developers to configure food values and react to hunger, exhaustion, starvation, and regeneration events.

This project is maintained by CanoeStudio. It is not affiliated with or endorsed by the original author or the original HungerTweaker project.

Original Project Credit

This project is based on the original HungerTweaker project:

– Original repository: https://github.com/coolsquid/HungerTweaker
– Original Wiki and API documentation: https://github.com/coolsquid/HungerTweaker/wiki

Credit goes to coolsquid and the original HungerTweaker contributors for the original project, API design, and implementation.

How This Project Differs

HungerTweaker Community Edition keeps the original HungerTweaker and AppleCore CraftTweaker API while adding:

– Nutrition compatibility APIs for the five default nutrients (`dairy`, `fruit`, `grain`, `protein`, and `vegetable`), custom nutrient maps, player nutrition values, food nutrition calculation, and Nutrition food-eaten events.
– The Spice of Life compatibility APIs for diminishing-return modifiers, food history, food groups, statistics, and food-eaten events.
– Spice of Life: Carrot Edition compatibility APIs for unique-food progress, milestones, health modifiers, configuration checks, synchronization, and food-eaten events.
– FoodSpoiling compatibility APIs for rot state, expiration, remaining lifetime, spoilage, freshness, and spoilage-based saturation adjustment events.
– Optional-mod compatibility handling, allowing either Spice of Life variant to be installed and used independently.
– A complete in-repository CraftTweaker reference with imports, method signatures, parameter meanings, return values, event timing, and examples.

The original core API paths remain unchanged. Compatibility integrations are optional and do not replace the configuration systems of the supported mods.

For Nutrition, the supported branch or fork must preserve the expected `ca.wescook.nutrition` package layout and public API.

License

The original project and this Community Edition are released under the Unlicense:

https://github.com/CanoeStudioOfficial/HungerTweaker/blob/1.12.2/LICENSE

The Unlicense is a public-domain dedication intended to release the work to the public domain, with a permissive fallback license in jurisdictions where a public-domain dedication is not recognized.

More information about the Unlicense:

https://unlicense.org/

常见问题

HungerTweaker Community Edition 支持哪些 Minecraft 版本?

HungerTweaker Community Edition 支持 Minecraft Java 版 1.12.2,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。

HungerTweaker Community Edition 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

lonelyxiya 的其他作品

查看全部 →