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