Spice Shelf (API)
Spice Shelf is an API library that opens up possibilities for creating custom food condiments in Minecraft. Condiments are special items that can be applied to any food by simply right-clicking in the inventory. The only exceptions are products marked with the special spiceshelf:blacklist tag.
Main Features
Condiments can perform two main functions:
- Apply various potion effects to the character
- Transform some items into others
To demonstrate the functionality, the mod includes one basic condiment - sugar. When applied to food, sugar gives the Speed I effect for 30 seconds. An example of item transformation is also implemented: an apple and a honey bottle turn into a cookie.
Technical Features
The mod is intended exclusively for creating the infrastructure for custom condiments. Out of the box, it only adds support for the condiment mechanism, sugar as a demonstration condiment, and the conversion of an apple with honey into a cookie (this example can be removed via datapacks). The mod does not provide additional content.
Compatibility
The mod works only on the Forge platform. A version for Fabric is not planned for development.