介绍
中文介绍正在准备中,下面暂时显示原文。
AE Recipe Tool
In pattern terminal processing mode by pressing + of emi/rei, it will send ClientEvents.AeRecipeTransfer events, allowed to modify transfer rescipe. Such as furnace rescipe of input and output multiply by 8, and add the coal in the input slot, add runes to the output slot of runic_altar.
example kubejs/client_scripts/example.js:
ClientEvents.aeRecipeTransfer((event) => {
const recipeName = event.getRecipeTypeName();
console.log(`recipe name: ${recipeName}`);
switch (recipeName) {
case "minecraft:smelting":
event.initSortedSlots();
console.log("modify smelting...");
let inputs = event.inputs;
for (let index = 0; index < inputs.length; index++) {
let item = inputs[index];
if (event.isItem(item)) inputs[index] = event.itemToGenericStack(item.what().toStack(item.amount() * 8));
}
let outputs = event.outputs;
for (let index = 0; index < outputs.length; index++) {
let item = outputs[index];
if (event.isItem(item)) outputs[index] = event.itemToGenericStack(item.what().toStack(item.amount() * 8));
}
inputs.add(event.itemToGenericStack(Item.of("minecraft:coal")));
break;
case "botania:petal_apothecary":
event.initSortedSlots();
console.log("remove water...");
event.inputs.removeIf((i) => !event.isItem(i));
break;
case "botania:runic_altar":
event.initSortedSlots();
console.log("add runic...");
let catalysts = event.holder.value().catalysts;
if (!catalysts.isEmpty()) {
let lastItem = event.inputs.removeLast();
for (let index = 0; index < catalysts.length; index++) {
let item = event.ingredientToGenericStack(catalysts[index]);
event.inputs.add(item);
event.outputs.add(item);
}
event.inputs.add(lastItem);
}
break;
case "create:mechanical_crafting":
console.log("do not to merge items");
event.initSortedSlots(false);
break;
default:
break;
}
});
常见问题
AE Recipe Tool 支持哪些 Minecraft 版本?
AE Recipe Tool 支持 Minecraft Java 版 1.21–1.21.1,共 2 个版本,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。
AE Recipe Tool 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
trichloroisocyanuric 的其他作品
查看全部 →Create: Spout Acceleration
by trichloroisocyanuric
本模组允许将动力泵放置在注液器上方,根据动力泵的旋转速度加速注液器。
3,700
1 年前
CurseForge
Create: Spin Spawner
by trichloroisocyanuric
无需玩家操作即可旋转刷怪笼
3,665
1 年前
CurseForge
AE Inventory Profiles
by trichloroisocyanuric
在AE2终端中将按模组排序替换为按Inventory Profiles Next排序。
2,420
1 年前
CurseForge
AE2 ID Sorter
by trichloroisocyanuric
This mod replace sort by mod to sort by ID in AE2 Terminal.
997
1 年前
CurseForge
评论
登录后评论和评分