该模组允许使用 KubeJS 脚本编辑和创建所有 Botania 的合成配方,以及自定义 精灵玻璃烧瓶 ,熏香,污血吊坠。
各配方使用方法如下所示:
作者真的很喜欢金合欢
onEvent("recipes", event => {
event.remove({ output: "botania:livingrock" })
//删除输出为活石的所有配方
event.recipes.botania.mana_infusion("minecraft:acacia_boat", "minecraft:acacia_door", 200, "minecraft:acacia_log")
//魔力灌注(魔力池注魔)
//从左到右依次为:
//输出,输入,消耗的魔力,催化剂(可选,类似于炼金催化器/炼造催化器,必须有方块形式)
event.recipes.botania.elven_trade(["minecraft:acacia_boat"], "minecraft:diamond")
event.recipes.botania.elven_trade(["minecraft:acacia_boat", "minecraft:acacia_button"], ["minecraft:diamond_block", "minecraft:gold_ingot"])
//精灵交易(精灵门)
//输出,输入(均可多项)
//投入铁锭,铁块,末影珍珠,钻石,钻石块会原封不动的退回,所以第二个示例实际上无法使用。
event.recipes.botania.pure_daisy("minecraft:acacia_button", "minecraft:acacia_leaves")
event.recipes.botania.pure_daisy("minecraft:acacia_button", "minecraft:stone", 1)
//白雏菊转化
//输入,输出(必须有方块形式),时间(可选)
//若同时存在多个输入相同的配方,只会有一个生效
event.recipes.botania.brew("kubejs:torrent", ["minecraft:acacia_boat"])
//植物酿造
//药水效果,原料
//演示代码中的药水效果为作者自行添加,故示例无法直接使用
event.recipes.botania.petal_apothecary("minecraft:acacia_boat", ["minecraft:acacia_button"])
//花瓣炼制(花药台)
//输出,输入(输入可多项)
event.recipes.botania.runic_altar("minecraft:acacia_boat", ["minecraft:acacia_button", "minecraft:acacia_door"], 5000)
//符文祭坛
//输出,输入(输入可多项),消耗的魔力
event.recipes.botania.terra_plate("minecraft:acacia_boat", ["minecraft:acacia_button", "minecraft:acacia_door"], 5000000)
//泰拉凝聚
//输出,输入(输入可多项),消耗的魔力
event.recipes.botania.orechid("minecraft:acacia_button", "minecraft:acacia_fence", 1)
//凝矿兰
//被转化方块,产物(必须有方块形式),权重
event.recipes.botania.orechid_ignem("minecraft:acacia_leaves", "minecraft:acacia_fence_gate", 1)
//炎矿兰
//被转化方块,产物(必须有方块形式),权重
event.recipes.botania.marimorphosis("minecraft:acacia_door", "minecraft:acacia_fence_gate", 1, ["plains"], 10)
//异构花
//产物,被转化方块,权重,群系,转化为对应群系概率
})