本篇教程由作者设定未经允许禁止转载。

我发现1.18.2和1.19.2的植物魔法的凝矿兰并没有关联其他模组,

于是决定通过kubejs将其补全(涵盖大部分主流科技矿,采用矿词写法,安心食用)

与“kubejs botania”模组无关

以下代码位于serve_script文件夹内

注:1.19.2与1.18.2的第一行格式不一样。这里展示的是1.19.2的样式

注:若出现崩溃问题,请检查凝矿兰的产出矿石是否有空,如有,删除不纯在的矿石配方

ServerEvents.recipes(event => {
    //锌
    event.custom({
        "type": "botania:orechid",
        "input": {"type": "block","block": "minecraft:smooth_stone"},
        "output": {
        "type": "tag",
        "tag": "forge:ores/zinc"
        },
        "weight": 1
        })
    //铝or铝土
    event.custom({
        "type": "botania:orechid",
        "input": {"type": "block","block": "minecraft:smooth_stone"},
        "output": {
        "type": "tag",
        "tag": "forge:ores/aluminum"
        },
        "weight": 1
        })
    //银
    event.custom({
        "type": "botania:orechid",
        "input": {"type": "block","block": "minecraft:smooth_stone"},
        "output": {
        "type": "tag",
        "tag": "forge:ores/silver"
        },
        "weight": 1
        })
    //镍
    event.custom({
        "type": "botania:orechid",
        "input": {"type": "block","block": "minecraft:smooth_stone"},
        "output": {
        "type": "tag",
        "tag": "forge:ores/nickel"
        },
        "weight": 1
        })
    //铀
    event.custom({
        "type": "botania:orechid",
        "input": {"type": "block","block": "minecraft:smooth_stone"},
        "output": {
        "type": "tag",
        "tag": "forge:ores/uranium"
        },
        "weight": 1
        })
    //钴
    event.custom({
        "type": "botania:orechid",
        "input": {"type": "block","block": "minecraft:smooth_stone"},
        "output": {
        "type": "tag",
        "tag": "forge:ores/cobalt"
        },
        "weight": 1
        })
    //磷灰石
    event.custom({
        "type": "botania:orechid",
        "input": {"type": "block","block": "minecraft:smooth_stone"},
        "output": {
        "type": "tag",
        "tag": "forge:ores/apatite"
        },
        "weight": 1
        })
    //朱砂
    event.custom({
        "type": "botania:orechid",
        "input": {"type": "block","block": "minecraft:smooth_stone"},
        "output": {
        "type": "tag",
        "tag": "forge:ores/cinnabar"
        },
        "weight": 1
        })
    //硝石
    event.custom({
        "type": "botania:orechid",
        "input": {"type": "block","block": "minecraft:smooth_stone"},
        "output": {
        "type": "tag",
        "tag": "forge:ores/niter"
        },
        "weight": 1
        })
    //硫
    event.custom({
        "type": "botania:orechid",
        "input": {"type": "block","block": "minecraft:smooth_stone"},
        "output": {
        "type": "tag",
        "tag": "forge:ores/sulfur"
        },
        "weight": 1
        })
    //锡
    event.custom({
        "type": "botania:orechid",
        "input": {"type": "block","block": "minecraft:smooth_stone"},
        "output": {
        "type": "tag",
        "tag": "forge:ores/tin"
        },
        "weight": 1
        })
    //铅
    event.custom({
        "type": "botania:orechid",
        "input": {"type": "block","block": "minecraft:smooth_stone"},
        "output": {
        "type": "tag",
        "tag": "forge:ores/lead"
        },
        "weight": 1
        })
    //下级精华
    event.custom({
        "type": "botania:orechid",
        "input": {"type": "block","block": "minecraft:smooth_stone"},
        "output": {
        "type": "tag",
        "tag": "forge:ores/inferium"
        },
        "weight": 1
        })
    //活化水晶
    event.custom({
        "type": "botania:orechid",
        "input": {"type": "block","block": "minecraft:smooth_stone"},
        "output": {
        "type": "tag",
        "tag": "forge:ores/prosperity"
        },
        "weight": 1
        })
    //氟石
    event.custom({
        "type": "botania:orechid",
        "input": {"type": "block","block": "minecraft:smooth_stone"},
        "output": {
        "type": "tag",
        "tag": "forge:ores/fluorite"
        },
        "weight": 1
        })
    //锇
    event.custom({
        "type": "botania:orechid",
        "input": {"type": "block","block": "minecraft:smooth_stone"},
        "output": {
        "type": "tag",
        "tag": "forge:ores/osmium"
        },
        "weight": 1
        })
   
})

感谢