Download Munchables — Minecraft Mods — MetaMods

Munchables

Archived

Downloads

0

Last update

1 year ago

Versions

1.20.1 — 1.20.4
Client and server
Fabric
Food
Game mechanics
Libraries

Munchables

Deprecated mod - functionality is now built into Minecraft starting from version 1.20.5+ through item components.

About the Project

Munchables is a lightweight API with data pack support that allows configuring the consumption time of various items in Minecraft. The system is fully managed through configuration files, making it flexible and convenient for modders.

Compatibility

The mod is compatible with most modifications that add new food items. The only exception is if another mod sets its own consumption time without using the Munchables API.

Usage

To configure item consumption time, you need to:

  1. Create a data pack
  2. Inside it, create the folder namespace/munchables
  3. In this folder, create a JSON file with a name corresponding to the item ID

JSON file structure:

{
 "replace": boolean, // if true, overwrites existing settings
 "eatTime": int // consumption time in ticks
}

For example, the apple.json file will change the apple consumption time for the specified namespace.

The project is distributed under the MIT license.

Project members
RamGames

RamGames

Developer

Ramixin

Ramixin

Developer

Created: 12 Sep 2023

ID: 19726