跳到正文

Compostable Recipes

作者:jship

Adds a new recipe that adds items to the composter

收藏

介绍

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

Compostable Recipes

This will only be released for Fabric, as Neoforge already has an easy data-driven way to add compostable items.

Adds new compostable recipes that can make any item compostable.

Item tags are supported, and many minecraft and common item tags have already been added. Some seeds, crops, breads, and other things may just start working with the composter if this mod is installed.

The recipe format is pretty standard:

{
    "type": "compostablerecipes":"compostable",
    "ingredient": {
        "item": "minecraft:leather",
        "chance": "0.5"
    }
}

or with a tag:

{
    "type": "compostablerecipes":"compostable",
    "ingredient": {
        "tag": "c:seeds",
        "chance": "0.3"
    }
}

In 1.21.5, the ingredient format changed. Instead of "ingredient": { "item": "minecraft:item" } it’s just "ingredient": "minecraft:item" or "ingredient": "#minecraft:tag"

There’s also an optional “weight” key that can be used to set a recipe’s weight. This is mostly for conflict resolution. For example, if “c:crops” have a weight of 1 and “c:crops/pumpkin” has a weight of 2 then the chance value for pumpkins will be from the “c:crops/pumpkin” tag.

All vanilla compostable items have a default weight of 10, so if you want to change those values you can add a new recipe with a weight higher than 10.

常见问题

Compostable Recipes 支持哪些 Minecraft 版本?

Compostable Recipes 支持 Minecraft Java 版 1.21.1–1.21.5,共 2 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

Compostable Recipes 怎么安装?

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

评论

登录后评论和评分

jship 的其他作品

查看全部 →