AppleCore

An API for modifying the food and hunger mechanics of Minecraft

File Details

AppleCore-mc1.12.2-3.1.0.jar

  • R
  • Dec 10, 2017
  • 76.88 KB
  • 559.1K
  • 1.12.2

File Name

AppleCore-mc1.12.2-3.1.0.jar

Supported Versions

  • 1.12.2

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)`
  • 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