Releases: squeek502/AppleCore
AppleCore v3.4.0
- Fix the permissions of the
/hunger
command being unnecessarily high (#151) - API: Add
ExhaustionEvent.GetExhaustionCap
(see #152)- Allows modifying the cap on the exhaustion level field of
FoodStats
, which in vanilla is capped at 40.
- Allows modifying the cap on the exhaustion level field of
For Minecraft versions < 1.12.2, see https://github.com/squeek502/AppleCore/releases/tag/v3.1.5
AppleCore v3.3.0
- Fix the two argument version of the
/hunger [player] <hunger>
command (#147) - API: Add
IAppleCoreAccessor.canPlayerEatFood
(#149)- Allows checking if a player can eat food depending on their current fullness and whether or not the item is
alwaysEdible
- Allows checking if a player can eat food depending on their current fullness and whether or not the item is
For Minecraft versions < 1.12.2, see https://github.com/squeek502/AppleCore/releases/tag/v3.1.5
AppleCore v3.2.0
- API: Add ExhaustionEvent.ExhaustingAction event (#132)
- Allows control over when/how Minecraft modifies a player's exhaustion based on what the player does (jumping, sprinting, breaking blocks, etc)
For Minecraft versions < 1.12.2, see https://github.com/squeek502/AppleCore/releases/tag/v3.1.5
AppleCore v3.1.5
- Fix AppleCore accidentally modifying health regen (only affects Minecraft 1.11+)
- In 1.11, health regen was changed to add more exhaustion for each heal tick, but AppleCore was never updated to reflect that change. See https://minecraft.gamepedia.com/1.11#Gameplay_2
For Minecraft versions < 1.10.2, see https://github.com/squeek502/AppleCore/releases/tag/v3.1.1
AppleCore v3.1.4
- Reduce the number of false positives when checking FoodStats incompatibility
For Minecraft versions < 1.10.2, see https://github.com/squeek502/AppleCore/releases/tag/v3.1.1
AppleCore v3.1.3
- Hotfix for startup crash in 3.1.2
3.1.2 changes:
- Add a better error message for a common incompatibility case (FoodStats being overloaded by another mod)
- Add French localization (thanks @Yanis48)
- Update Polish localization (thanks @Greg-21)
For Minecraft versions < 1.10.2, see https://github.com/squeek502/AppleCore/releases/tag/v3.1.1
AppleCore v3.1.2
EDIT: This release was removed because it had a startup crash
AppleCore v3.1.1
AppleCore v3.1.0
Added some features to the API related to block-based foods
- Added IEdibleBlock with methods to control whether or not Block-based foods can be eaten at max hunger (like ItemFood.alwaysEdible)
- AppleCore implements IEdibleBlock on BlockCake at runtime, so you can make it always edible by doing
((IEdibleBlock) Blocks.cake).setEdibleAtMaxHunger(true)
- AppleCore implements IEdibleBlock on BlockCake at runtime, so you can make it always edible by doing
- Added IAppleCoreRegistry (AppleCoreAPI.registry) to register Block <-> Item relationships for Block-based foods that don't use an ItemBlock (e.g. cake)
- See this wiki page for more information
AppleCore v3.0.0
- Breaking API change: Removed
FertilizationEvent
entirely- This event and the ASM required for it has been a constant source of hard-to-debug errors and it isn't worth the effort to maintain
- As far as I'm aware this event has never been used by any mod that depends on AppleCore, so upgrading shouldn't affect any current AppleCore users
- Added zh_TW translation (thanks @hugoalh)