AppleCore

An API for modifying the food and hunger mechanics of Minecraft
Back to Files

AppleCore-mc1.12.1-3.1.0.jar

File nameAppleCore-mc1.12.1-3.1.0.jar
Uploader
squeek502squeek502
Uploaded
Dec 10, 2017
Downloads
8.5K
Size
76.9 KB
Mod Loaders
File ID
2508284
Type
R
Release
Supported game versions
  • 1.12.1

What's new

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

This mod has no additional files