KubeJS Extra Recipes
KubeJS support for many tech and magic mods. Register new content and write recipes for their machines straight from your scripts, with everything visible in JEI.
KubeJS Extras is an addon for KubeJS. Every integration loads only when its mod is installed, so you can drop it into any pack and use just the parts you need.
Every recipe follows the same style: the result comes first, the call is written in full (event.recipes.<mod>.<type>(...)), and options are chained methods.
📖 Full documentation (English and Spanish): Wiki
ServerEvents.recipes(event => {
event.recipes.ae2.inscriber('kubejs:cell_component_4m', 'kubejs:cell_component_1m')
.top('ae2:engineering_processor')
.bottom('ae2:calculation_processor')
.press()
event.recipes.nuclearcraft.alloy_smelter('4x minecraft:copper_ingot', ['3x #c:ingots/tin', 'minecraft:iron_ingot'])
.time(300)
.energy(60)
})
Supported mods
Tech
- Applied Energistics 2: recipes for the inscriber, charger, in-world transformation, entropy manipulator and matter cannon ammo; new storage cells, storage components and spatial cells; JEI categories for all AE2 machines (AE2 ships none); meteorite settings: loot, a chest instead of the mysterious cube, crater, budding quartz, quartz blocks and extra dimensions; lava transformations no longer burn their items.
- NuclearCraft: recipes for every processor, the fission reactor, the nuclear blast and the kugelblitz chamber; new plates, particles and particle chamber recipes, written with chained methods.
- Mekanism Generators: new Fission Reactor fuels (waste and heat per mB) and Fusion Reactor fuels (energy multiplier, single fuels or fuel pairs), shown in JEI and in chemical tooltips.
- Mekanism: More Machine, Mekanism Extras and Mekanism Elements: recipes for their machines.
- Extended Crafting: recipes for every table tier, the ender and flux crafters, the combination crafting core and the compressor; new singularities.
- Create: blaze burner heat levels and new heat sources for basins and boilers. Create Crafts & Additions: rolling, charging and liquid burning.
- XyCraft: extractor recipes (target, catalyst and adjacent blocks or fluids, valid sides) and isolator recipes.
- Excessive Utilities, Irregular Implements, Just Dire Things, Just Dyna Things and FTB Stuff & Things: recipes for their machines.
- Isotope Logistics: helpers to build filled capsules for any recipe.
- Ad Astra: compressing, alloying, cryo freezing, NASA workbench and planet/dimension data.
- Hephaestus Forge & Hephaestus Tools: melting, casting, alloying; new molten fluids, fuels, casts, smeltery blocks, tool materials, parts and modifiers.
Magic and adventure
- Apotheosis: salvaging, reforging, gem cutting and sockets; new rarities, affixes, gems and bosses.
- Enchanted: witch cauldron, kettle, distilling, spinning and byproduct recipes; new rites and poppets.
- Twilight Forest: uncrafting, drying, crumble horn and transformation powder data, and a custom portal activator.
- Hostile Neural Networks: new data models, tiers and predictions.
- Curios: new slot types, slot changes, slots per entity, any item turned into a curio (attributes, potion effects, extra slots, equip messages, healing), extra slots per player and Curios tags, all from scripts.
Farming
- Botany Pots (plus Botany Pots Mystical and Botany Pots Tiers): crops, soils, fertilizers and pot interactions.
- Agritech Two & Agritech Evolved: planter crops and trees.
- Farming for Blockheads: market entries.
Quests and teams
- FTB Quests, FTB Chunks, FTB Unearthed and FTB Echoes: extra script helpers on top of FTB XMod Compat.
Vanilla
- Trades: new villager trades per profession and wandering trader trades, all in one event.
- Portals: change what lights the Nether portal.
JEI integration
- Every JEI plugin event is available in scripts, so you can add custom categories, recipes, catalysts and information pages.
- Hide whole categories or single recipes before JEI loads them.
- Drawable, entity and timer helpers for custom categories.
/kube_jei reloadand/kube_jei categoriescommands.
KubeJS Recipe Maker
With Extended Crafting installed you get a KubeJS Recipe Maker. Right-click in the air to open its GUI:
- Categories: vanilla crafting and cooking, every Extended Crafting machine, and the machines of every supported mod.
- Filling it in: place the items, type or drag fluids and chemicals from JEI, and set the options.
- Save: the recipe is written to
kubejs/server_scripts/generated_<mod>.js, ready for/reload.
Requirements
Every other mod listed above is optional.
Examples and documentation
Every integration comes with a commented example script showing the exact calls and options. The wiki documents every recipe type, registry and chained method, with an example of each, in English and Spanish.
License
All Rights Reserved