90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!
Deprecated due to item components having this feature in 1.20.5+
A simple, light-weight, and data-driven API for adjusting eat times in Minecraft!
FAQ
Is this compatible with X mod?
Most likely yes! This mod is fully compatible with most food mods. Note that a specific food item would not be compatible if it adds a custom eat time WITHOUT using this API.
How To Use
- create a data pack
- create the folder
namespace/munchables
- In the new folder, create a json file named
item_id.json
- Have the json file follow the following schema:
{
"replace": boolean // if set to true, will override the entry item if it already exists
"eatTime": int // the time in ticks it takes to eat the item
}
This example would change the eat time for the item: namespace:item_id
Still not sure how to use it? See the Wiki for a more detailed walk through or contact us via the contact options on our github page.
License
This project is under an MIT license
Links
Details
Licensed MIT
Published a year ago
Updated 8 months ago