Eat It 图标

Eat It

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.0
本资源为搬运资源,原资源地址: https://modrinth.com/mod/eat-it
资源信息

Minecraft 版本: 1.20.1

平台: forge

标签: food utility

资源介绍

This is a mod that allows all existing items to be edible, and it has been open-sourced on GitHub.

After installing this mod, all existing items will become edible by players. By default, they will restore the same amount of saturation and hunger value as an apple. If you are not satisfied with just making items edible, you can also set the saturation and hunger value for specific items through the configuration file, as well as whether they can be eaten continuously. Additionally, you can configure commands to be executed after consuming specific items. If the configured item is originally edible, the configuration file will override the effects of consuming the original item.

In addition, you can configure items that are excluded from being edible by adding their IDs to the "excluded" section in the configuration file. Below are the default configuration file and an example configuration file for this mod:

{
  "excluded": []
}
{
  "minecraft:apple": {
    "saturation": 10.0,
    "nutrition": 18,
    "commands": [
      "say This is a test message."
    ]
  },
  "minecraft:stone_axe": {
    "saturation": -10.0,
    "nutrition": 0,
    "always": true,
    "commands": [
      "me ?",
      "kill @p",
      "execute at @p as @p run summon minecraft:lightning_bolt ~ ~ ~"
    ]
  },
  "excluded": [
    "minecraft:wooden_shovel"
  ]
}

Note: The executor of the commands is the game server, not the player who consumes the specified item. However, the execution location and display name will still be the player's location and name.

下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Showcase Item

价格:0 墨喵币
下载量:0

查看详情
Prehistoric Nature Cambrian Dimension

价格:0 墨喵币
下载量:0

查看详情
Ads Vanillatrue Birds RP

价格:0 墨喵币
下载量:0

查看详情
Better mods!

价格:0 墨喵币
下载量:0

查看详情