AE Recipe Tool
No reviews yet
Modify pattern terminal recipe transfer by kubejs.
Neoforge is a fork of the Minecraft Forge available for versions 1.20.1+ of Minecraft. Many Forge mods are compatible with Neoforge and vice versa.
Community voices
Reviews
Click once to include, again to exclude, again to clear
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
Resources
External Links
About
Description
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;
}
});
Screenshots
Gallery
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
On ModDex
Community snapshot
By the numbers
Statistics
Want to reach Minecraft players?
We're looking for a server hosting partner to feature here and other parts of the site. Interested? Send us a message!
Get in touchGet it on
Available Platforms
On ModDex
Community snapshot
By the numbers
Statistics
Resources