跳到正文

Munchables

作者:Ramixin

A simple, light-weight, and data-driven API for adjusting eat times in Minecraft!

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

Deprecated due to item components having this feature in 1.20.5+

Leapers Logo

RamCorp Logo

A simple, light-weight, and data-driven API for adjusting eat times in Minecraft!


modrinth


github


discord-singular


fabric
forge

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

  1. create a data pack
  2. create the folder namespace/munchables
  3. In the new folder, create a json file named item_id.json
  4. 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

常见问题

Munchables 支持哪些 Minecraft 版本?

Munchables 支持 Minecraft Java 版 1.20.1–1.20.4,共 4 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

Munchables 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。

评论

登录后评论和评分

Ramixin 的其他作品

查看全部 →