Code reformat, cleanup

This commit is contained in:
oitsjustjose 2022-01-31 08:57:45 -06:00
commit 14f6b71e78
71 changed files with 4369 additions and 3704 deletions

15
kubejs/.prettierrc Normal file
View file

@ -0,0 +1,15 @@
{
"$schema": "http://json.schemastore.org/prettierrc",
"arrowParens": "avoid",
"bracketSpacing": false,
"jsxBracketSameLine": false,
"jsxSingleQuote": false,
"printWidth": 100,
"proseWrap": "always",
"quoteProps": "as-needed",
"semi": true,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "es5",
"useTabs": false
}

5
kubejs/.vscode/settings.json vendored Normal file
View file

@ -0,0 +1,5 @@
{
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
}

File diff suppressed because it is too large Load diff

View file

@ -1,6 +1,6 @@
// Only needed to prevent the player's inventory from looking like this was consumed even though it wasn't. // Only needed to prevent the player's inventory from looking like this was consumed even though it wasn't.
onEvent("block.right_click", (event) => { onEvent('block.right_click', event => {
if (event.getItem() === "corail_woodcutter:acacia_woodcutter") { if (event.getItem() === 'corail_woodcutter:acacia_woodcutter') {
event.cancel(); event.cancel();
} }
}); });

View file

@ -1,10 +1,14 @@
onEvent("item.tooltip", (event) => { onEvent('item.tooltip', event => {
event.add("powah:ender_core", ["§7Only dropped by §5Challenger Endermen§r."]); event.add('powah:ender_core', ['§7Only dropped by §5Challenger Endermen§r.']);
event.add("moreminecarts:chunkrodite", ["§7Created by destroying a §5Chunk Loader§7 that still has time remaining.§r"]); event.add('moreminecarts:chunkrodite', [
event.add("kubejs:ender_singularity", ["§7Forcing something so hydrophobic to fuse with water might rip the fabric of space-time...§r"]); '§7Created by destroying a §5Chunk Loader§7 that still has time remaining.§r',
]);
event.add('kubejs:ender_singularity', [
'§7Forcing something so hydrophobic to fuse with water might rip the fabric of space-time...§r',
]);
event.add("/refinedstorage:*/", ["§cRS was Disabled in Harmonious Engineering 1.4.0§r"]); event.add('/refinedstorage:*/', ['§cRS was Disabled in Harmonious Engineering 1.4.0§r']);
event.add("/cabletiers:*/", ["§cRS was Disabled in Harmonious Engineering 1.4.0§r"]); event.add('/cabletiers:*/', ['§cRS was Disabled in Harmonious Engineering 1.4.0§r']);
event.add("/rsinfinitybooster:*/", ["§cRS was Disabled in Harmonious Engineering 1.4.0§r"]); event.add('/rsinfinitybooster:*/', ['§cRS was Disabled in Harmonious Engineering 1.4.0§r']);
event.add("/rsrequestify:*/", ["§cRS was Disabled in Harmonious Engineering 1.4.0§r"]); event.add('/rsrequestify:*/', ['§cRS was Disabled in Harmonious Engineering 1.4.0§r']);
}); });

View file

@ -2,7 +2,7 @@
"type": "minecraft:chest", "type": "minecraft:chest",
"pools": [ "pools": [
{ {
"rolls": { "min": 2.0, "max": 4.0, "type": "minecraft:uniform" }, "rolls": {"min": 2.0, "max": 4.0, "type": "minecraft:uniform"},
"entries": [ "entries": [
{ {
"name": "customizableelytra:customizable_elytra", "name": "customizableelytra:customizable_elytra",
@ -31,7 +31,7 @@
"functions": [ "functions": [
{ {
"function": "minecraft:set_count", "function": "minecraft:set_count",
"count": { "min": 1.0, "max": 2.0, "type": "minecraft:uniform" } "count": {"min": 1.0, "max": 2.0, "type": "minecraft:uniform"}
} }
] ]
}, },
@ -42,7 +42,7 @@
"functions": [ "functions": [
{ {
"function": "minecraft:set_count", "function": "minecraft:set_count",
"count": { "min": 1.0, "max": 2.0, "type": "minecraft:uniform" } "count": {"min": 1.0, "max": 2.0, "type": "minecraft:uniform"}
} }
] ]
}, },
@ -53,7 +53,7 @@
"functions": [ "functions": [
{ {
"function": "minecraft:set_count", "function": "minecraft:set_count",
"count": { "min": 1.0, "max": 6.0, "type": "minecraft:uniform" } "count": {"min": 1.0, "max": 6.0, "type": "minecraft:uniform"}
} }
] ]
}, },
@ -64,7 +64,7 @@
"functions": [ "functions": [
{ {
"function": "minecraft:set_count", "function": "minecraft:set_count",
"count": { "min": 1.0, "max": 6.0, "type": "minecraft:uniform" } "count": {"min": 1.0, "max": 6.0, "type": "minecraft:uniform"}
} }
] ]
}, },
@ -75,7 +75,7 @@
"functions": [ "functions": [
{ {
"function": "minecraft:set_count", "function": "minecraft:set_count",
"count": { "min": 1.0, "max": 8.0, "type": "minecraft:uniform" } "count": {"min": 1.0, "max": 8.0, "type": "minecraft:uniform"}
} }
] ]
}, },
@ -86,11 +86,11 @@
"functions": [ "functions": [
{ {
"function": "minecraft:set_count", "function": "minecraft:set_count",
"count": { "min": 3.0, "max": 8.0, "type": "minecraft:uniform" } "count": {"min": 3.0, "max": 8.0, "type": "minecraft:uniform"}
} }
] ]
}, },
{ "type": "minecraft:empty", "weight": 145 }, {"type": "minecraft:empty", "weight": 145},
{ {
"name": "minecraft:book", "name": "minecraft:book",
"type": "minecraft:item", "type": "minecraft:item",
@ -119,7 +119,7 @@
"functions": [ "functions": [
{ {
"function": "minecraft:set_count", "function": "minecraft:set_count",
"count": { "min": 1.0, "max": 8.0, "type": "minecraft:uniform" } "count": {"min": 1.0, "max": 8.0, "type": "minecraft:uniform"}
} }
] ]
}, },
@ -130,7 +130,7 @@
"functions": [ "functions": [
{ {
"function": "minecraft:set_count", "function": "minecraft:set_count",
"count": { "min": 2.0, "max": 12.0, "type": "minecraft:uniform" } "count": {"min": 2.0, "max": 12.0, "type": "minecraft:uniform"}
} }
] ]
}, },
@ -141,7 +141,7 @@
"functions": [ "functions": [
{ {
"function": "minecraft:set_count", "function": "minecraft:set_count",
"count": { "min": 4.0, "max": 16.0, "type": "minecraft:uniform" } "count": {"min": 4.0, "max": 16.0, "type": "minecraft:uniform"}
} }
] ]
}, },
@ -152,7 +152,7 @@
"functions": [ "functions": [
{ {
"function": "minecraft:set_count", "function": "minecraft:set_count",
"count": { "min": 2.0, "max": 8.0, "type": "minecraft:uniform" } "count": {"min": 2.0, "max": 8.0, "type": "minecraft:uniform"}
} }
] ]
}, },
@ -163,7 +163,7 @@
"functions": [ "functions": [
{ {
"function": "minecraft:set_count", "function": "minecraft:set_count",
"count": { "min": 4.0, "max": 16.0, "type": "minecraft:uniform" } "count": {"min": 4.0, "max": 16.0, "type": "minecraft:uniform"}
} }
] ]
} }
@ -172,7 +172,7 @@
{ {
"rolls": 1, "rolls": 1,
"entries": [ "entries": [
{ "type": "minecraft:empty", "weight": 1 }, {"type": "minecraft:empty", "weight": 1},
{ {
"name": "minecraft:ender_eye", "name": "minecraft:ender_eye",
"type": "minecraft:item", "type": "minecraft:item",
@ -180,7 +180,7 @@
"functions": [ "functions": [
{ {
"function": "minecraft:set_count", "function": "minecraft:set_count",
"count": { "min": 1.0, "max": 3.0, "type": "minecraft:uniform" } "count": {"min": 1.0, "max": 3.0, "type": "minecraft:uniform"}
} }
] ]
}, },
@ -215,7 +215,7 @@
} }
] ]
}, },
{ "type": "minecraft:empty", "weight": 24 }, {"type": "minecraft:empty", "weight": 24},
{ {
"name": "minecraft:black_banner", "name": "minecraft:black_banner",
"type": "minecraft:item", "type": "minecraft:item",
@ -231,7 +231,7 @@
"name": "minecraft:experience_bottle", "name": "minecraft:experience_bottle",
"type": "minecraft:item", "type": "minecraft:item",
"weight": 4, "weight": 4,
"functions": [{ "function": "minecraft:set_count", "count": 2 }] "functions": [{"function": "minecraft:set_count", "count": 2}]
}, },
{ {
"type": "minecraft:item", "type": "minecraft:item",

View file

@ -2,7 +2,7 @@
"type": "minecraft:chest", "type": "minecraft:chest",
"pools": [ "pools": [
{ {
"rolls": { "min": 2.0, "max": 4.0, "type": "minecraft:uniform" }, "rolls": {"min": 2.0, "max": 4.0, "type": "minecraft:uniform"},
"entries": [ "entries": [
{ {
"name": "customizableelytra:customizable_elytra", "name": "customizableelytra:customizable_elytra",
@ -31,7 +31,7 @@
"functions": [ "functions": [
{ {
"function": "minecraft:set_count", "function": "minecraft:set_count",
"count": { "min": 1.0, "max": 2.0, "type": "minecraft:uniform" } "count": {"min": 1.0, "max": 2.0, "type": "minecraft:uniform"}
} }
] ]
}, },
@ -42,7 +42,7 @@
"functions": [ "functions": [
{ {
"function": "minecraft:set_count", "function": "minecraft:set_count",
"count": { "min": 1.0, "max": 2.0, "type": "minecraft:uniform" } "count": {"min": 1.0, "max": 2.0, "type": "minecraft:uniform"}
} }
] ]
}, },
@ -53,7 +53,7 @@
"functions": [ "functions": [
{ {
"function": "minecraft:set_count", "function": "minecraft:set_count",
"count": { "min": 1.0, "max": 6.0, "type": "minecraft:uniform" } "count": {"min": 1.0, "max": 6.0, "type": "minecraft:uniform"}
} }
] ]
}, },
@ -64,7 +64,7 @@
"functions": [ "functions": [
{ {
"function": "minecraft:set_count", "function": "minecraft:set_count",
"count": { "min": 1.0, "max": 6.0, "type": "minecraft:uniform" } "count": {"min": 1.0, "max": 6.0, "type": "minecraft:uniform"}
} }
] ]
}, },
@ -75,7 +75,7 @@
"functions": [ "functions": [
{ {
"function": "minecraft:set_count", "function": "minecraft:set_count",
"count": { "min": 1.0, "max": 8.0, "type": "minecraft:uniform" } "count": {"min": 1.0, "max": 8.0, "type": "minecraft:uniform"}
} }
] ]
}, },
@ -86,11 +86,11 @@
"functions": [ "functions": [
{ {
"function": "minecraft:set_count", "function": "minecraft:set_count",
"count": { "min": 3.0, "max": 8.0, "type": "minecraft:uniform" } "count": {"min": 3.0, "max": 8.0, "type": "minecraft:uniform"}
} }
] ]
}, },
{ "type": "minecraft:empty", "weight": 145 }, {"type": "minecraft:empty", "weight": 145},
{ {
"name": "minecraft:book", "name": "minecraft:book",
"type": "minecraft:item", "type": "minecraft:item",
@ -119,7 +119,7 @@
"functions": [ "functions": [
{ {
"function": "minecraft:set_count", "function": "minecraft:set_count",
"count": { "min": 1.0, "max": 8.0, "type": "minecraft:uniform" } "count": {"min": 1.0, "max": 8.0, "type": "minecraft:uniform"}
} }
] ]
}, },
@ -130,7 +130,7 @@
"functions": [ "functions": [
{ {
"function": "minecraft:set_count", "function": "minecraft:set_count",
"count": { "min": 2.0, "max": 12.0, "type": "minecraft:uniform" } "count": {"min": 2.0, "max": 12.0, "type": "minecraft:uniform"}
} }
] ]
}, },
@ -141,7 +141,7 @@
"functions": [ "functions": [
{ {
"function": "minecraft:set_count", "function": "minecraft:set_count",
"count": { "min": 4.0, "max": 16.0, "type": "minecraft:uniform" } "count": {"min": 4.0, "max": 16.0, "type": "minecraft:uniform"}
} }
] ]
}, },
@ -152,7 +152,7 @@
"functions": [ "functions": [
{ {
"function": "minecraft:set_count", "function": "minecraft:set_count",
"count": { "min": 2.0, "max": 8.0, "type": "minecraft:uniform" } "count": {"min": 2.0, "max": 8.0, "type": "minecraft:uniform"}
} }
] ]
}, },
@ -163,7 +163,7 @@
"functions": [ "functions": [
{ {
"function": "minecraft:set_count", "function": "minecraft:set_count",
"count": { "min": 4.0, "max": 16.0, "type": "minecraft:uniform" } "count": {"min": 4.0, "max": 16.0, "type": "minecraft:uniform"}
} }
] ]
} }
@ -172,7 +172,7 @@
{ {
"rolls": 1, "rolls": 1,
"entries": [ "entries": [
{ "type": "minecraft:empty", "weight": 20 }, {"type": "minecraft:empty", "weight": 20},
{ {
"name": "minecraft:ender_eye", "name": "minecraft:ender_eye",
"type": "minecraft:item", "type": "minecraft:item",
@ -180,7 +180,7 @@
"functions": [ "functions": [
{ {
"function": "minecraft:set_count", "function": "minecraft:set_count",
"count": { "min": 1.0, "max": 3.0, "type": "minecraft:uniform" } "count": {"min": 1.0, "max": 3.0, "type": "minecraft:uniform"}
} }
] ]
}, },
@ -215,7 +215,7 @@
} }
] ]
}, },
{ "type": "minecraft:empty", "weight": 4 }, {"type": "minecraft:empty", "weight": 4},
{ {
"name": "minecraft:black_banner", "name": "minecraft:black_banner",
"type": "minecraft:item", "type": "minecraft:item",
@ -231,7 +231,7 @@
"name": "minecraft:experience_bottle", "name": "minecraft:experience_bottle",
"type": "minecraft:item", "type": "minecraft:item",
"weight": 4, "weight": 4,
"functions": [{ "function": "minecraft:set_count", "count": 2 }] "functions": [{"function": "minecraft:set_count", "count": 2}]
}, },
{ {
"type": "minecraft:item", "type": "minecraft:item",

View file

@ -2,7 +2,7 @@
"type": "minecraft:chest", "type": "minecraft:chest",
"pools": [ "pools": [
{ {
"rolls": { "min": 3.0, "max": 7.0, "type": "minecraft:uniform" }, "rolls": {"min": 3.0, "max": 7.0, "type": "minecraft:uniform"},
"entries": [ "entries": [
{ {
"name": "minecraft:iron_ingot", "name": "minecraft:iron_ingot",
@ -11,7 +11,7 @@
"functions": [ "functions": [
{ {
"function": "minecraft:set_count", "function": "minecraft:set_count",
"count": { "min": 4.0, "max": 15.0, "type": "minecraft:uniform" } "count": {"min": 4.0, "max": 15.0, "type": "minecraft:uniform"}
} }
] ]
}, },
@ -22,7 +22,7 @@
"functions": [ "functions": [
{ {
"function": "minecraft:set_count", "function": "minecraft:set_count",
"count": { "min": 3.0, "max": 10.0, "type": "minecraft:uniform" } "count": {"min": 3.0, "max": 10.0, "type": "minecraft:uniform"}
} }
] ]
}, },
@ -33,7 +33,7 @@
"functions": [ "functions": [
{ {
"function": "minecraft:set_count", "function": "minecraft:set_count",
"count": { "min": 3.0, "max": 8.0, "type": "minecraft:uniform" } "count": {"min": 3.0, "max": 8.0, "type": "minecraft:uniform"}
} }
] ]
}, },
@ -44,7 +44,7 @@
"functions": [ "functions": [
{ {
"function": "minecraft:set_count", "function": "minecraft:set_count",
"count": { "min": 2.0, "max": 5.0, "type": "minecraft:uniform" } "count": {"min": 2.0, "max": 5.0, "type": "minecraft:uniform"}
} }
] ]
}, },
@ -55,7 +55,7 @@
"functions": [ "functions": [
{ {
"function": "minecraft:set_count", "function": "minecraft:set_count",
"count": { "min": 2.0, "max": 5.0, "type": "minecraft:uniform" } "count": {"min": 2.0, "max": 5.0, "type": "minecraft:uniform"}
} }
] ]
}, },
@ -85,7 +85,7 @@
{ {
"rolls": 1, "rolls": 1,
"entries": [ "entries": [
{ "type": "minecraft:empty", "weight": 19 }, {"type": "minecraft:empty", "weight": 19},
{ {
"name": "customizableelytra:customizable_elytra", "name": "customizableelytra:customizable_elytra",
"type": "minecraft:item", "type": "minecraft:item",
@ -94,7 +94,7 @@
] ]
}, },
{ {
"rolls": { "min": 2.0, "max": 5.0, "type": "minecraft:uniform" }, "rolls": {"min": 2.0, "max": 5.0, "type": "minecraft:uniform"},
"entries": [ "entries": [
{ {
"name": "minecraft:iron_nugget", "name": "minecraft:iron_nugget",
@ -103,7 +103,7 @@
"functions": [ "functions": [
{ {
"function": "minecraft:set_count", "function": "minecraft:set_count",
"count": { "min": 6.0, "max": 20.0, "type": "minecraft:uniform" } "count": {"min": 6.0, "max": 20.0, "type": "minecraft:uniform"}
} }
] ]
}, },
@ -114,7 +114,7 @@
"functions": [ "functions": [
{ {
"function": "minecraft:set_count", "function": "minecraft:set_count",
"count": { "min": 6.0, "max": 20.0, "type": "minecraft:uniform" } "count": {"min": 6.0, "max": 20.0, "type": "minecraft:uniform"}
} }
] ]
}, },
@ -125,7 +125,7 @@
"functions": [ "functions": [
{ {
"function": "minecraft:set_count", "function": "minecraft:set_count",
"count": { "min": 6.0, "max": 20.0, "type": "minecraft:uniform" } "count": {"min": 6.0, "max": 20.0, "type": "minecraft:uniform"}
} }
] ]
} }
@ -146,12 +146,12 @@
} }
] ]
}, },
{ "type": "minecraft:empty", "weight": 12 }, {"type": "minecraft:empty", "weight": 12},
{ {
"name": "minecraft:experience_bottle", "name": "minecraft:experience_bottle",
"type": "minecraft:item", "type": "minecraft:item",
"weight": 4, "weight": 4,
"functions": [{ "function": "minecraft:set_count", "count": 2 }] "functions": [{"function": "minecraft:set_count", "count": 2}]
}, },
{ {
"name": "minecraft:black_banner", "name": "minecraft:black_banner",

View file

@ -9,11 +9,11 @@
//SCRIPT FOR RETAGGING ITEMS //SCRIPT FOR RETAGGING ITEMS
//BY NEEPNOOP & ANOKKA / 2021 //BY NEEPNOOP & ANOKKA / 2021
// //
onEvent("item.tags", (event) => { onEvent('item.tags', event => {
//SILICON //SILICON
event.add("appliedenergistics2:silicon", "emendatusenigmatica:silicon_gem"); event.add('appliedenergistics2:silicon', 'emendatusenigmatica:silicon_gem');
event.add("refinedstorage:silicon", "emendatusenigmatica:silicon_gem"); event.add('refinedstorage:silicon', 'emendatusenigmatica:silicon_gem');
event.add("forge:ores/niter", "emendatusenigmatica:potassium_nitrate_chunk"); event.add('forge:ores/niter', 'emendatusenigmatica:potassium_nitrate_chunk');
// //
//fin //fin

View file

@ -9,10 +9,18 @@
//APPLIED ENERGISTICS 2 RECIPE INTEGRATION. //APPLIED ENERGISTICS 2 RECIPE INTEGRATION.
//BY NEEPNOOP & ANOKKA / 2021 //BY NEEPNOOP & ANOKKA / 2021
// //
onEvent("recipes", (event) => { onEvent('recipes', event => {
event.remove({ id: "appliedenergistics2:smelting/silicon" }); event.remove({id: 'appliedenergistics2:smelting/silicon'});
event.replaceInput({ type: "appliedenergistics2:inscriber" }, "appliedenergistics2:silicon", "#forge:silicon"); event.replaceInput(
event.replaceInput({ type: "minecraft:crafting_shaped" }, "appliedenergistics2:silicon", "#forge:silicon"); {type: 'appliedenergistics2:inscriber'},
'appliedenergistics2:silicon',
'#forge:silicon'
);
event.replaceInput(
{type: 'minecraft:crafting_shaped'},
'appliedenergistics2:silicon',
'#forge:silicon'
);
// //
//fin //fin

View file

@ -9,126 +9,54 @@
//ASSORTED RECIPE INTERGRATION. //ASSORTED RECIPE INTERGRATION.
//BY NEEPNOOP & ANOKKA / 2021 //BY NEEPNOOP & ANOKKA / 2021
// //
onEvent("recipes", (event) => { onEvent('recipes', event => {
//SAWDUST //SAWDUST
event.replaceInput({}, "#forge:dusts/wood", "emendatusenigmatica:wood_dust"); event.replaceInput({}, '#forge:dusts/wood', 'emendatusenigmatica:wood_dust');
event.replaceInput({}, "#forge:sawdust", "emendatusenigmatica:wood_dust"); event.replaceInput({}, '#forge:sawdust', 'emendatusenigmatica:wood_dust');
event.replaceInput( event.replaceInput({}, 'immersiveengineering:dust_wood', 'emendatusenigmatica:wood_dust');
{}, event.replaceInput({}, 'mekanism:sawdust', 'emendatusenigmatica:wood_dust');
"immersiveengineering:dust_wood", event.replaceInput({}, 'thermal:sawdust', 'emendatusenigmatica:wood_dust');
"emendatusenigmatica:wood_dust"
);
event.replaceInput({}, "mekanism:sawdust", "emendatusenigmatica:wood_dust");
event.replaceInput({}, "thermal:sawdust", "emendatusenigmatica:wood_dust");
//ENDER DUST //ENDER DUST
event.replaceInput( event.replaceInput({}, '#forge:dusts/ender', 'emendatusenigmatica:ender_dust');
{}, event.replaceInput({}, '#forge:dusts/ender_pearl', 'emendatusenigmatica:ender_dust');
"#forge:dusts/ender", event.replaceInput({}, 'appliedenergistics2:ender_dust', 'emendatusenigmatica:ender_dust');
"emendatusenigmatica:ender_dust" event.replaceInput({}, 'thermal:ender_pearl_dust', 'emendatusenigmatica:ender_dust');
); event.replaceInput({}, 'betterendforge:ender_dust', 'emendatusenigmatica:ender_dust');
event.replaceInput( event.replaceInput({}, 'miniutilities:ender_dust', 'emendatusenigmatica:ender_dust');
{}, event.replaceInput({}, 'terraqueous:ender_dust', 'emendatusenigmatica:ender_dust');
"#forge:dusts/ender_pearl",
"emendatusenigmatica:ender_dust"
);
event.replaceInput(
{},
"appliedenergistics2:ender_dust",
"emendatusenigmatica:ender_dust"
);
event.replaceInput(
{},
"thermal:ender_pearl_dust",
"emendatusenigmatica:ender_dust"
);
event.replaceInput(
{},
"betterendforge:ender_dust",
"emendatusenigmatica:ender_dust"
);
event.replaceInput(
{},
"miniutilities:ender_dust",
"emendatusenigmatica:ender_dust"
);
event.replaceInput(
{},
"terraqueous:ender_dust",
"emendatusenigmatica:ender_dust"
);
//GRAPHITE DUST //GRAPHITE DUST
event.replaceInput( event.replaceInput({}, '#forge:dusts/graphite', 'emendatusenigmatica:graphite_dust');
{}, event.replaceInput({}, 'biggerreactors:graphite_dust', 'emendatusenigmatica:graphite_dust');
"#forge:dusts/graphite",
"emendatusenigmatica:graphite_dust"
);
event.replaceInput(
{},
"biggerreactors:graphite_dust",
"emendatusenigmatica:graphite_dust"
);
//DIAMOND DUST //DIAMOND DUST
event.replaceInput( event.replaceInput({}, '#forge:dusts/diamond', 'emendatusenigmatica:diamond_dust');
{}, event.replaceInput({}, 'mekanism:dust_diamond', 'emendatusenigmatica:diamond_dust');
"#forge:dusts/diamond", event.replaceInput({}, 'thermal:diamond_dust', 'emendatusenigmatica:diamond_dust');
"emendatusenigmatica:diamond_dust" event.replaceInput({}, 'terraqueous:diamond_dust', 'emendatusenigmatica:diamond_dust');
);
event.replaceInput(
{},
"mekanism:dust_diamond",
"emendatusenigmatica:diamond_dust"
);
event.replaceInput(
{},
"thermal:diamond_dust",
"emendatusenigmatica:diamond_dust"
);
event.replaceInput(
{},
"terraqueous:diamond_dust",
"emendatusenigmatica:diamond_dust"
);
//EMERALD DUST //EMERALD DUST
event.replaceInput( event.replaceInput({}, '#forge:dusts/emerald', 'emendatusenigmatica:emerald_dust');
{}, event.replaceInput({}, 'mekanism:dust_emerald', 'emendatusenigmatica:emerald_dust');
"#forge:dusts/emerald", event.replaceInput({}, 'thermal:emerald_dust', 'emendatusenigmatica:emerald_dust');
"emendatusenigmatica:emerald_dust" event.replaceInput({}, 'terraqueous:emerald_dust', 'emendatusenigmatica:emerald_dust');
);
event.replaceInput(
{},
"mekanism:dust_emerald",
"emendatusenigmatica:emerald_dust"
);
event.replaceInput(
{},
"thermal:emerald_dust",
"emendatusenigmatica:emerald_dust"
);
event.replaceInput(
{},
"terraqueous:emerald_dust",
"emendatusenigmatica:emerald_dust"
);
//SOURCE GEM //SOURCE GEM
event.custom({ event.custom({
type: "minecraft:smelting", type: 'minecraft:smelting',
result: "emendatusenigmatica:arcane_gem", result: 'emendatusenigmatica:arcane_gem',
ingredient: { ingredient: {
tag: "forge:ores/mana", tag: 'forge:ores/mana',
}, },
cookingtime: 250, cookingtime: 250,
experience: 0.4, experience: 0.4,
}); });
event.custom({ event.custom({
type: "minecraft:smelting", type: 'minecraft:smelting',
result: "emendatusenigmatica:arcane_gem", result: 'emendatusenigmatica:arcane_gem',
ingredient: { ingredient: {
tag: "forge:ores/arcane", tag: 'forge:ores/arcane',
}, },
cookingtime: 250, cookingtime: 250,
experience: 0.4, experience: 0.4,
@ -136,10 +64,10 @@ onEvent("recipes", (event) => {
//DIMENSIONAL SHARD //DIMENSIONAL SHARD
event.custom({ event.custom({
type: "minecraft:smelting", type: 'minecraft:smelting',
result: "emendatusenigmatica:dimensional_gem", result: 'emendatusenigmatica:dimensional_gem',
ingredient: { ingredient: {
tag: "forge:ores/dimensional", tag: 'forge:ores/dimensional',
}, },
cookingtime: 250, cookingtime: 250,
experience: 0.4, experience: 0.4,
@ -147,93 +75,93 @@ onEvent("recipes", (event) => {
//REMOVAL OF RODS FROM SHAPED CRAFTING. //REMOVAL OF RODS FROM SHAPED CRAFTING.
//If you want to keep this feature. Just comment out this entire section. //If you want to keep this feature. Just comment out this entire section.
event.remove({ id: "emendatusenigmatica:rod_from_ingot/iron" }); event.remove({id: 'emendatusenigmatica:rod_from_ingot/iron'});
event.remove({ id: "emendatusenigmatica:rod_from_ingot/gold" }); event.remove({id: 'emendatusenigmatica:rod_from_ingot/gold'});
event.remove({ id: "emendatusenigmatica:rod_from_ingot/copper" }); event.remove({id: 'emendatusenigmatica:rod_from_ingot/copper'});
event.remove({ id: "emendatusenigmatica:rod_from_ingot/aluminum" }); event.remove({id: 'emendatusenigmatica:rod_from_ingot/aluminum'});
event.remove({ id: "emendatusenigmatica:rod_from_ingot/silver" }); event.remove({id: 'emendatusenigmatica:rod_from_ingot/silver'});
event.remove({ id: "emendatusenigmatica:rod_from_ingot/lead" }); event.remove({id: 'emendatusenigmatica:rod_from_ingot/lead'});
event.remove({ id: "emendatusenigmatica:rod_from_ingot/nickel" }); event.remove({id: 'emendatusenigmatica:rod_from_ingot/nickel'});
event.remove({ id: "emendatusenigmatica:rod_from_ingot/uranium" }); event.remove({id: 'emendatusenigmatica:rod_from_ingot/uranium'});
event.remove({ id: "emendatusenigmatica:rod_from_ingot/osmium" }); event.remove({id: 'emendatusenigmatica:rod_from_ingot/osmium'});
event.remove({ id: "emendatusenigmatica:rod_from_ingot/tin" }); event.remove({id: 'emendatusenigmatica:rod_from_ingot/tin'});
event.remove({ id: "emendatusenigmatica:rod_from_ingot/zinc" }); event.remove({id: 'emendatusenigmatica:rod_from_ingot/zinc'});
event.remove({ id: "emendatusenigmatica:rod_from_ingot/cobalt" }); event.remove({id: 'emendatusenigmatica:rod_from_ingot/cobalt'});
event.remove({ id: "emendatusenigmatica:rod_from_ingot/bronze" }); event.remove({id: 'emendatusenigmatica:rod_from_ingot/bronze'});
event.remove({ id: "emendatusenigmatica:rod_from_ingot/brass" }); event.remove({id: 'emendatusenigmatica:rod_from_ingot/brass'});
event.remove({ id: "emendatusenigmatica:rod_from_ingot/constantan" }); event.remove({id: 'emendatusenigmatica:rod_from_ingot/constantan'});
event.remove({ id: "emendatusenigmatica:rod_from_ingot/electrum" }); event.remove({id: 'emendatusenigmatica:rod_from_ingot/electrum'});
event.remove({ id: "emendatusenigmatica:rod_from_ingot/steel" }); event.remove({id: 'emendatusenigmatica:rod_from_ingot/steel'});
event.remove({ id: "emendatusenigmatica:rod_from_ingot/invar" }); event.remove({id: 'emendatusenigmatica:rod_from_ingot/invar'});
event.remove({ id: "emendatusenigmatica:rod_from_ingot/signalum" }); event.remove({id: 'emendatusenigmatica:rod_from_ingot/signalum'});
event.remove({ id: "emendatusenigmatica:rod_from_ingot/lumium" }); event.remove({id: 'emendatusenigmatica:rod_from_ingot/lumium'});
event.remove({ id: "emendatusenigmatica:rod_from_ingot/enderium" }); event.remove({id: 'emendatusenigmatica:rod_from_ingot/enderium'});
event.remove({ id: "emendatusenigmatica:rod_from_gem/diamond" }); event.remove({id: 'emendatusenigmatica:rod_from_gem/diamond'});
event.remove({ id: "emendatusenigmatica:rod_from_gem/emerald" }); event.remove({id: 'emendatusenigmatica:rod_from_gem/emerald'});
event.remove({ id: "emendatusenigmatica:rod_from_gem/lapis" }); event.remove({id: 'emendatusenigmatica:rod_from_gem/lapis'});
//REMOVAL OF DUSTS FROM SHAPED CRAFTING //REMOVAL OF DUSTS FROM SHAPED CRAFTING
//If you want to keep this feature. Just comment out this entire section. //If you want to keep this feature. Just comment out this entire section.
event.remove({ id: "emendatusenigmatica:dust_from_chunk/apatite" }); event.remove({id: 'emendatusenigmatica:dust_from_chunk/apatite'});
event.remove({ id: "emendatusenigmatica:dust_from_chunk/potassium_nitrate" }); event.remove({id: 'emendatusenigmatica:dust_from_chunk/potassium_nitrate'});
event.remove({ id: "emendatusenigmatica:dust_from_chunk/lead" }); event.remove({id: 'emendatusenigmatica:dust_from_chunk/lead'});
event.remove({ id: "emendatusenigmatica:dust_from_chunk/certus_quartz" }); event.remove({id: 'emendatusenigmatica:dust_from_chunk/certus_quartz'});
event.remove({ id: "emendatusenigmatica:dust_from_chunk/cobalt" }); event.remove({id: 'emendatusenigmatica:dust_from_chunk/cobalt'});
event.remove({ id: "emendatusenigmatica:dust_from_chunk/uranium" }); event.remove({id: 'emendatusenigmatica:dust_from_chunk/uranium'});
event.remove({ id: "emendatusenigmatica:dust_from_chunk/dimensional" }); event.remove({id: 'emendatusenigmatica:dust_from_chunk/dimensional'});
event.remove({ id: "emendatusenigmatica:dust_from_chunk/coal" }); event.remove({id: 'emendatusenigmatica:dust_from_chunk/coal'});
event.remove({ id: "emendatusenigmatica:dust_from_chunk/emerald" }); event.remove({id: 'emendatusenigmatica:dust_from_chunk/emerald'});
event.remove({ id: "emendatusenigmatica:dust_from_chunk/copper" }); event.remove({id: 'emendatusenigmatica:dust_from_chunk/copper'});
event.remove({ id: "emendatusenigmatica:dust_from_chunk/quartz" }); event.remove({id: 'emendatusenigmatica:dust_from_chunk/quartz'});
event.remove({ id: "emendatusenigmatica:dust_from_chunk/gold" }); event.remove({id: 'emendatusenigmatica:dust_from_chunk/gold'});
event.remove({ id: "emendatusenigmatica:dust_from_chunk/sulfur" }); event.remove({id: 'emendatusenigmatica:dust_from_chunk/sulfur'});
event.remove({ id: "emendatusenigmatica:dust_from_chunk/fluorite" }); event.remove({id: 'emendatusenigmatica:dust_from_chunk/fluorite'});
event.remove({ id: "emendatusenigmatica:dust_from_chunk/zinc" }); event.remove({id: 'emendatusenigmatica:dust_from_chunk/zinc'});
event.remove({ id: "emendatusenigmatica:dust_from_chunk/osmium" }); event.remove({id: 'emendatusenigmatica:dust_from_chunk/osmium'});
event.remove({ id: "emendatusenigmatica:dust_from_chunk/cinnabar" }); event.remove({id: 'emendatusenigmatica:dust_from_chunk/cinnabar'});
event.remove({ id: "emendatusenigmatica:dust_from_chunk/silver" }); event.remove({id: 'emendatusenigmatica:dust_from_chunk/silver'});
event.remove({ id: "emendatusenigmatica:dust_from_chunk/lapis" }); event.remove({id: 'emendatusenigmatica:dust_from_chunk/lapis'});
event.remove({ id: "emendatusenigmatica:dust_from_chunk/iron" }); event.remove({id: 'emendatusenigmatica:dust_from_chunk/iron'});
event.remove({ id: "emendatusenigmatica:dust_from_chunk/aluminum" }); event.remove({id: 'emendatusenigmatica:dust_from_chunk/aluminum'});
event.remove({ id: "emendatusenigmatica:dust_from_chunk/quartz" }); event.remove({id: 'emendatusenigmatica:dust_from_chunk/quartz'});
event.remove({ id: "emendatusenigmatica:dust_from_chunk/diamond" }); event.remove({id: 'emendatusenigmatica:dust_from_chunk/diamond'});
event.remove({ id: "emendatusenigmatica:dust_from_chunk/tin" }); event.remove({id: 'emendatusenigmatica:dust_from_chunk/tin'});
event.remove({ id: "emendatusenigmatica:dust_from_chunk/nickel" }); event.remove({id: 'emendatusenigmatica:dust_from_chunk/nickel'});
//REMOVAL OF PLATES FROM SHAPED CRAFTING. //REMOVAL OF PLATES FROM SHAPED CRAFTING.
//If you want to keep this feature. Just comment out this entire section. //If you want to keep this feature. Just comment out this entire section.
event.remove({ id: "emendatusenigmatica:plate_from_gem/ruby" }); event.remove({id: 'emendatusenigmatica:plate_from_gem/ruby'});
event.remove({ id: "emendatusenigmatica:plate_from_gem/sapphire" }); event.remove({id: 'emendatusenigmatica:plate_from_gem/sapphire'});
event.remove({ id: "emendatusenigmatica:plate_from_gem/peridot" }); event.remove({id: 'emendatusenigmatica:plate_from_gem/peridot'});
event.remove({ id: "emendatusenigmatica:plate_from_gem/emerald" }); event.remove({id: 'emendatusenigmatica:plate_from_gem/emerald'});
event.remove({ id: "emendatusenigmatica:plate_from_gem/lapis" }); event.remove({id: 'emendatusenigmatica:plate_from_gem/lapis'});
event.remove({ id: "emendatusenigmatica:plate_from_gem/diamond" }); event.remove({id: 'emendatusenigmatica:plate_from_gem/diamond'});
event.remove({ id: "emendatusenigmatica:plate_from_ingot/lead" }); event.remove({id: 'emendatusenigmatica:plate_from_ingot/lead'});
event.remove({ id: "emendatusenigmatica:plate_from_ingot/enderium" }); event.remove({id: 'emendatusenigmatica:plate_from_ingot/enderium'});
event.remove({ id: "emendatusenigmatica:plate_from_ingot/silver" }); event.remove({id: 'emendatusenigmatica:plate_from_ingot/silver'});
event.remove({ id: "emendatusenigmatica:plate_from_ingot/lumium" }); event.remove({id: 'emendatusenigmatica:plate_from_ingot/lumium'});
event.remove({ id: "emendatusenigmatica:plate_from_ingot/electrum" }); event.remove({id: 'emendatusenigmatica:plate_from_ingot/electrum'});
event.remove({ id: "emendatusenigmatica:plate_from_ingot/constantan" }); event.remove({id: 'emendatusenigmatica:plate_from_ingot/constantan'});
event.remove({ id: "emendatusenigmatica:plate_from_ingot/cobalt" }); event.remove({id: 'emendatusenigmatica:plate_from_ingot/cobalt'});
event.remove({ id: "emendatusenigmatica:plate_from_ingot/gold" }); event.remove({id: 'emendatusenigmatica:plate_from_ingot/gold'});
event.remove({ id: "emendatusenigmatica:plate_from_ingot/zinc" }); event.remove({id: 'emendatusenigmatica:plate_from_ingot/zinc'});
event.remove({ id: "emendatusenigmatica:plate_from_ingot/nickel" }); event.remove({id: 'emendatusenigmatica:plate_from_ingot/nickel'});
event.remove({ id: "emendatusenigmatica:plate_from_ingot/copper" }); event.remove({id: 'emendatusenigmatica:plate_from_ingot/copper'});
event.remove({ id: "emendatusenigmatica:plate_from_ingot/signalum" }); event.remove({id: 'emendatusenigmatica:plate_from_ingot/signalum'});
event.remove({ id: "emendatusenigmatica:plate_from_ingot/osmium" }); event.remove({id: 'emendatusenigmatica:plate_from_ingot/osmium'});
event.remove({ id: "emendatusenigmatica:plate_from_ingot/bronze" }); event.remove({id: 'emendatusenigmatica:plate_from_ingot/bronze'});
event.remove({ id: "emendatusenigmatica:plate_from_ingot/steel" }); event.remove({id: 'emendatusenigmatica:plate_from_ingot/steel'});
event.remove({ id: "emendatusenigmatica:plate_from_ingot/iron" }); event.remove({id: 'emendatusenigmatica:plate_from_ingot/iron'});
event.remove({ id: "emendatusenigmatica:plate_from_ingot/tin" }); event.remove({id: 'emendatusenigmatica:plate_from_ingot/tin'});
event.remove({ id: "emendatusenigmatica:plate_from_ingot/brass" }); event.remove({id: 'emendatusenigmatica:plate_from_ingot/brass'});
event.remove({ id: "emendatusenigmatica:plate_from_ingot/uranium" }); event.remove({id: 'emendatusenigmatica:plate_from_ingot/uranium'});
event.remove({ id: "emendatusenigmatica:plate_from_ingot/aluminum" }); event.remove({id: 'emendatusenigmatica:plate_from_ingot/aluminum'});
event.remove({ id: "emendatusenigmatica:plate_from_ingot/invar" }); event.remove({id: 'emendatusenigmatica:plate_from_ingot/invar'});
event.remove({ id: "emendatusenigmatica:plate_from_ingot/cast_iron" }); event.remove({id: 'emendatusenigmatica:plate_from_ingot/cast_iron'});
//REMOVAL OF THE ENIGMATIC HAMMER. //REMOVAL OF THE ENIGMATIC HAMMER.
//If you want to keep this feature. Just comment out this entire section. //If you want to keep this feature. Just comment out this entire section.
event.remove({ id: "emendatusenigmatica:enigmatic_hammer" }); event.remove({id: 'emendatusenigmatica:enigmatic_hammer'});
// //
//fin //fin

View file

@ -9,31 +9,27 @@
//IMMERSIVE ENGINEERING RECIPE INTEGRATION. //IMMERSIVE ENGINEERING RECIPE INTEGRATION.
//BY NEEPNOOP & ANOKKA / 2021 //BY NEEPNOOP & ANOKKA / 2021
// //
onEvent("recipes", (event) => { onEvent('recipes', event => {
//THIS IS NOT REALLY EMENDATUS ENIGMATICA, BUT WE REALISE SOME PEOPLE MIGHT WANT THIS. //THIS IS NOT REALLY EMENDATUS ENIGMATICA, BUT WE REALISE SOME PEOPLE MIGHT WANT THIS.
event.replaceInput({}, "immersiveengineering:slag", "#forge:slag"); event.replaceInput({}, 'immersiveengineering:slag', '#forge:slag');
//this is emendatus enigmatica. //this is emendatus enigmatica.
event.replaceInput( event.replaceInput({}, 'immersiveengineering:coal_coke', '#forge:gems/coal_coke');
{}, event.replaceInput({}, '#forge:coal_coke', '#forge:gems/coal_coke');
"immersiveengineering:coal_coke",
"#forge:gems/coal_coke"
);
event.replaceInput({}, "#forge:coal_coke", "#forge:gems/coal_coke");
//REMOVAL OF DUST FROM SHAPED CRAFTING. //REMOVAL OF DUST FROM SHAPED CRAFTING.
//If you want to keep this feature. Just comment out this entire section. //If you want to keep this feature. Just comment out this entire section.
event.remove({ id: "immersiveengineering:crafting/hammercrushing_osmium" }); event.remove({id: 'immersiveengineering:crafting/hammercrushing_osmium'});
event.remove({ id: "immersiveengineering:crafting/hammercrushing_silver" }); event.remove({id: 'immersiveengineering:crafting/hammercrushing_silver'});
event.remove({ id: "immersiveengineering:crafting/hammercrushing_cobalt" }); event.remove({id: 'immersiveengineering:crafting/hammercrushing_cobalt'});
event.remove({ id: "immersiveengineering:crafting/hammercrushing_uranium" }); event.remove({id: 'immersiveengineering:crafting/hammercrushing_uranium'});
event.remove({ id: "immersiveengineering:crafting/hammercrushing_aluminum" }); event.remove({id: 'immersiveengineering:crafting/hammercrushing_aluminum'});
event.remove({ id: "immersiveengineering:crafting/hammercrushing_iron" }); event.remove({id: 'immersiveengineering:crafting/hammercrushing_iron'});
event.remove({ id: "immersiveengineering:crafting/hammercrushing_gold" }); event.remove({id: 'immersiveengineering:crafting/hammercrushing_gold'});
event.remove({ id: "immersiveengineering:crafting/hammercrushing_copper" }); event.remove({id: 'immersiveengineering:crafting/hammercrushing_copper'});
event.remove({ id: "immersiveengineering:crafting/hammercrushing_zinc" }); event.remove({id: 'immersiveengineering:crafting/hammercrushing_zinc'});
event.remove({ id: "immersiveengineering:crafting/hammercrushing_nickel" }); event.remove({id: 'immersiveengineering:crafting/hammercrushing_nickel'});
event.remove({ id: "immersiveengineering:crafting/hammercrushing_lead" }); event.remove({id: 'immersiveengineering:crafting/hammercrushing_lead'});
event.remove({ id: "immersiveengineering:crafting/hammercrushing_tin" }); event.remove({id: 'immersiveengineering:crafting/hammercrushing_tin'});
// //
//fin //fin

View file

@ -9,24 +9,24 @@
//IMMERSIVE PETROLEUM RECIPE INTEGRATION. //IMMERSIVE PETROLEUM RECIPE INTEGRATION.
//BY NEEPNOOP & ANOKKA / 2021 //BY NEEPNOOP & ANOKKA / 2021
// //
onEvent("recipes", (event) => { onEvent('recipes', event => {
event.remove({ id: "immersivepetroleum:asphalt" }); event.remove({id: 'immersivepetroleum:asphalt'});
event.shaped("8x immersivepetroleum:asphalt", ["SBS", "GWG", "SBS"], { event.shaped('8x immersivepetroleum:asphalt', ['SBS', 'GWG', 'SBS'], {
S: "#forge:sand", S: '#forge:sand',
B: "#forge:bitumen", B: '#forge:bitumen',
W: "minecraft:water_bucket", W: 'minecraft:water_bucket',
G: "#forge:gravel", G: '#forge:gravel',
}); });
event.remove({ id: "immersivepetroleum:asphalt2" }); event.remove({id: 'immersivepetroleum:asphalt2'});
event.shaped("12x immersivepetroleum:asphalt", ["SBS", "GWG", "SBS"], { event.shaped('12x immersivepetroleum:asphalt', ['SBS', 'GWG', 'SBS'], {
S: "#forge:slag", S: '#forge:slag',
B: "#forge:bitumen", B: '#forge:bitumen',
W: "minecraft:water_bucket", W: 'minecraft:water_bucket',
G: "#forge:gravel", G: '#forge:gravel',
}); });
event.replaceInput({}, "immersivepetroleum:bitumen", "#forge:gems/bitumen"); event.replaceInput({}, 'immersivepetroleum:bitumen', '#forge:gems/bitumen');
event.replaceInput({}, "#forge:bitumen", "#forge:gems/bitumen"); event.replaceInput({}, '#forge:bitumen', '#forge:gems/bitumen');
// //
//fin //fin
// //

View file

@ -9,17 +9,17 @@
//IMMERSIVE POSTS RECIPE INTEGRATION. //IMMERSIVE POSTS RECIPE INTEGRATION.
//BY NEEPNOOP & ANOKKA / 2021 //BY NEEPNOOP & ANOKKA / 2021
// //
onEvent("recipes", (event) => { onEvent('recipes', event => {
//REMOVAL OF IMMERSIVE POSTS INGOT TO ROD RECIPE IN SHAPED CRAFTING. //REMOVAL OF IMMERSIVE POSTS INGOT TO ROD RECIPE IN SHAPED CRAFTING.
//If you want to keep this feature. Just comment out this entire section. //If you want to keep this feature. Just comment out this entire section.
event.remove({ id: "immersiveposts:has_gold_rod" }); event.remove({id: 'immersiveposts:has_gold_rod'});
event.remove({ id: "immersiveposts:has_copper_rod" }); event.remove({id: 'immersiveposts:has_copper_rod'});
event.remove({ id: "immersiveposts:has_silver_rod" }); event.remove({id: 'immersiveposts:has_silver_rod'});
event.remove({ id: "immersiveposts:has_lead_rod" }); event.remove({id: 'immersiveposts:has_lead_rod'});
event.remove({ id: "immersiveposts:has_nickel_rod" }); event.remove({id: 'immersiveposts:has_nickel_rod'});
event.remove({ id: "immersiveposts:has_uranium_rod" }); event.remove({id: 'immersiveposts:has_uranium_rod'});
event.remove({ id: "immersiveposts:has_constantan_rod" }); event.remove({id: 'immersiveposts:has_constantan_rod'});
event.remove({ id: "immersiveposts:has_electrum_rod" }); event.remove({id: 'immersiveposts:has_electrum_rod'});
// //
//fin //fin
// //

File diff suppressed because it is too large Load diff

View file

@ -9,17 +9,9 @@
//REFINED STORAGE RECIPE INTEGRATION. //REFINED STORAGE RECIPE INTEGRATION.
//BY NEEPNOOP & ANOKKA / 2021 //BY NEEPNOOP & ANOKKA / 2021
// //
onEvent("recipes", (event) => { onEvent('recipes', event => {
event.replaceInput( event.replaceInput({type: 'refinedstorage'}, 'refinedstorage:silicon', '#forge:silicon');
{ type: "refinedstorage" }, event.replaceInput({type: 'refinedstorage:*'}, 'refinedstorage:silicon', '#forge:silicon');
"refinedstorage:silicon",
"#forge:silicon"
);
event.replaceInput(
{ type: "refinedstorage:*" },
"refinedstorage:silicon",
"#forge:silicon"
);
// //
//fin //fin
// //

View file

@ -9,16 +9,16 @@
//THERMAL RECIPE INTEGRATION. //THERMAL RECIPE INTEGRATION.
//BY NEEPNOOP & ANOKKA / 2021 //BY NEEPNOOP & ANOKKA / 2021
// //
onEvent("recipes", (event) => { onEvent('recipes', event => {
//Emendatus Enigmatica cinnabar as a catalyst. //Emendatus Enigmatica cinnabar as a catalyst.
event.replaceInput({}, "thermal:bitumen", "#forge:gems/bitumen"); event.replaceInput({}, 'thermal:bitumen', '#forge:gems/bitumen');
event.replaceInput({}, "#forge:bitumen", "#forge:gems/bitumen"); event.replaceInput({}, '#forge:bitumen', '#forge:gems/bitumen');
event.replaceInput({}, "thermal:cinnabar", "#forge:gems/cinnabar"); event.replaceInput({}, 'thermal:cinnabar', '#forge:gems/cinnabar');
event.replaceInput({}, "thermal:apatite", "#forge:gems/apatite"); event.replaceInput({}, 'thermal:apatite', '#forge:gems/apatite');
event.replaceInput({}, "thermal:sulfur", "#forge:gems/sulfur"); event.replaceInput({}, 'thermal:sulfur', '#forge:gems/sulfur');
event.replaceInput({}, "thermal:niter", "#forge:gems/niter"); event.replaceInput({}, 'thermal:niter', '#forge:gems/niter');
event.replaceInput({}, "thermal:coal_coke", "#forge:gems/coal_coke"); event.replaceInput({}, 'thermal:coal_coke', '#forge:gems/coal_coke');
event.replaceInput({}, "#forge:coal_coke", "#forge:gems/coal_coke"); event.replaceInput({}, '#forge:coal_coke', '#forge:gems/coal_coke');
// //
//fin //fin
// //

File diff suppressed because it is too large Load diff

View file

@ -1,15 +1,32 @@
// priority: 1024 // priority: 1024
onEvent("server.datapack.first", (_) => { onEvent('server.datapack.first', _ => {
global.minecraftColors = ["white", "orange", "magenta", "light_blue", "yellow", "lime", "pink", "gray", "light_gray", "cyan", "purple", "blue", "brown", "green", "red", "black"]; global.minecraftColors = [
'white',
'orange',
'magenta',
'light_blue',
'yellow',
'lime',
'pink',
'gray',
'light_gray',
'cyan',
'purple',
'blue',
'brown',
'green',
'red',
'black',
];
/* Creates */ /* Creates */
global.genNatProgRecipes = (base, stripped, planks) => { global.genNatProgRecipes = (base, stripped, planks) => {
const stripLogWithSaw = { const stripLogWithSaw = {
type: "natural-progression:damage_tools", type: 'natural-progression:damage_tools',
ingredients: [ ingredients: [
{ {
tag: "natural-progression:saw", tag: 'natural-progression:saw',
}, },
{ {
item: base, item: base,
@ -21,13 +38,13 @@ onEvent("server.datapack.first", (_) => {
}; };
const planksFromStrippedAxe = { const planksFromStrippedAxe = {
type: "natural-progression:damage_tools", type: 'natural-progression:damage_tools',
ingredients: [ ingredients: [
{ {
item: stripped, item: stripped,
}, },
{ {
tag: "natural-progression:axe", tag: 'natural-progression:axe',
}, },
], ],
result: { result: {
@ -37,13 +54,13 @@ onEvent("server.datapack.first", (_) => {
}; };
const planksFromStrippedSaw = { const planksFromStrippedSaw = {
type: "natural-progression:damage_tools", type: 'natural-progression:damage_tools',
ingredients: [ ingredients: [
{ {
item: stripped, item: stripped,
}, },
{ {
tag: "natural-progression:saw", tag: 'natural-progression:saw',
}, },
], ],
result: { result: {
@ -65,7 +82,7 @@ onEvent("server.datapack.first", (_) => {
global.genCombinedRecipe = (evt, left, right, output) => { global.genCombinedRecipe = (evt, left, right, output) => {
evt.smithing(output, left, right); evt.smithing(output, left, right);
evt.custom({ evt.custom({
type: "mekanism:combining", type: 'mekanism:combining',
mainInput: JSON.parse(left.toJson()), mainInput: JSON.parse(left.toJson()),
extraInput: JSON.parse(right.toJson()), extraInput: JSON.parse(right.toJson()),
output: output.toResultJson(), output: output.toResultJson(),
@ -85,7 +102,7 @@ onEvent("server.datapack.first", (_) => {
const extra = JSON.parse(right.toJson()); const extra = JSON.parse(right.toJson());
evt.custom({ evt.custom({
type: "improvedbackpacks:sewing", type: 'improvedbackpacks:sewing',
first: main.ingredient || main, first: main.ingredient || main,
first_count: left.getCount(), first_count: left.getCount(),
second: extra.ingredient || extra, second: extra.ingredient || extra,
@ -95,7 +112,7 @@ onEvent("server.datapack.first", (_) => {
}); });
evt.custom({ evt.custom({
type: "mekanism:combining", type: 'mekanism:combining',
mainInput: main, mainInput: main,
extraInput: extra, extraInput: extra,
output: output.toResultJson(), output: output.toResultJson(),
@ -112,9 +129,9 @@ onEvent("server.datapack.first", (_) => {
*/ */
global.genAlloyingRecipe = (evt, first, second, output, qty) => { global.genAlloyingRecipe = (evt, first, second, output, qty) => {
evt.custom({ evt.custom({
type: "mekanism:combining", type: 'mekanism:combining',
mainInput: { ingredient: first }, mainInput: {ingredient: first},
extraInput: { ingredient: second }, extraInput: {ingredient: second},
output: { output: {
item: output, item: output,
count: qty, count: qty,
@ -122,34 +139,34 @@ onEvent("server.datapack.first", (_) => {
}); });
evt.custom({ evt.custom({
type: "thermal:smelter", type: 'thermal:smelter',
ingredients: [ ingredients: [
{ value: [first], count: 1 }, {value: [first], count: 1},
{ value: [second], count: 1 }, {value: [second], count: 1},
], ],
result: [{ item: output, count: qty }], result: [{item: output, count: qty}],
energy: 4800, energy: 4800,
}); });
evt.custom({ evt.custom({
type: "immersiveengineering:alloy", type: 'immersiveengineering:alloy',
time: 400, time: 400,
input0: { base_ingredient: first }, input0: {base_ingredient: first},
input1: second, input1: second,
result: { count: qty, base_ingredient: { item: output } }, result: {count: qty, base_ingredient: {item: output}},
}); });
evt.custom({ evt.custom({
type: "create:mixing", type: 'create:mixing',
ingredients: [first, second], ingredients: [first, second],
results: [{ item: output, count: qty }], results: [{item: output, count: qty}],
heatRequirement: "heated", heatRequirement: 'heated',
}); });
}; };
global.genLargeRecipe = (evt, pattern, key, result) => { global.genLargeRecipe = (evt, pattern, key, result) => {
["extendedcrafting:shaped_table", "create:mechanical_crafting"].forEach((type) => { ['extendedcrafting:shaped_table', 'create:mechanical_crafting'].forEach(type => {
evt.custom({ type: type, pattern: pattern, key: key, result: result }); evt.custom({type: type, pattern: pattern, key: key, result: result});
}); });
}; };
}); });

View file

@ -2,61 +2,54 @@
* @Author: Jose Stovall | oitsjustjose * @Author: Jose Stovall | oitsjustjose
*/ */
onEvent("item.right_click", (event) => { onEvent('item.right_click', event => {
const entity = event.getEntity(); const entity = event.getEntity();
const heldItem = event.getItem(); const heldItem = event.getItem();
const serverPlayerEntity = entity.minecraftPlayer; const serverPlayerEntity = entity.minecraftPlayer;
if (!`${serverPlayerEntity}`.includes("ServerPlayerEntity")) { if (!`${serverPlayerEntity}`.includes('ServerPlayerEntity')) {
return; return;
} }
// Treats the Acacia woodcutter as "portable" by forcing the player to sneak // Treats the Acacia woodcutter as "portable" by forcing the player to sneak
if (heldItem === "corail_woodcutter:acacia_woodcutter") { if (heldItem === 'corail_woodcutter:acacia_woodcutter') {
serverPlayerEntity.func_226284_e_(true); // setSneaking serverPlayerEntity.func_226284_e_(true); // setSneaking
} // Prevents the user from shift-right-clicking the woodcutter as configured. } // Prevents the user from shift-right-clicking the woodcutter as configured.
else if (heldItem === "corail_woodcutter:oak_woodcutter") { else if (heldItem === 'corail_woodcutter:oak_woodcutter') {
if ( if (entity.isCrouching() || serverPlayerEntity.func_225608_bj_() /* isSneaking */) {
entity.isCrouching() ||
serverPlayerEntity.func_225608_bj_() /* isSneaking */
) {
event.cancel(); event.cancel();
} }
} }
}); });
onEvent("player.inventory.opened", (event) => { onEvent('player.inventory.opened', event => {
const currentlyOpenedContainer = event.getMinecraftPlayer().field_71070_bA; const currentlyOpenedContainer = event.getMinecraftPlayer().field_71070_bA;
if ( if (
currentlyOpenedContainer currentlyOpenedContainer
.toString() .toString()
.includes("ovh.corail.woodcutter.inventory.WoodcutterContainer") .includes('ovh.corail.woodcutter.inventory.WoodcutterContainer')
) { ) {
event.getMinecraftPlayer().func_226284_e_(false); // setSneaking event.getMinecraftPlayer().func_226284_e_(false); // setSneaking
} }
}); });
// Prevents ever placing the acacia woodcutter. Causes item to desync out of your inv so the next event fixes that // Prevents ever placing the acacia woodcutter. Causes item to desync out of your inv so the next event fixes that
onEvent("block.right_click", (event) => { onEvent('block.right_click', event => {
const player = event.getEntity(); const player = event.getEntity();
const playerEntity = player.minecraftPlayer; const playerEntity = player.minecraftPlayer;
if (event.getItem() === "corail_woodcutter:oak_woodcutter") { if (event.getItem() === 'corail_woodcutter:oak_woodcutter') {
if (playerEntity.func_225608_bj_() || player.isCrouching()) { if (playerEntity.func_225608_bj_() || player.isCrouching()) {
event.cancel(); event.cancel();
} }
} else if (event.getItem() === "corail_woodcutter:acacia_woodcutter") { } else if (event.getItem() === 'corail_woodcutter:acacia_woodcutter') {
event.cancel(); event.cancel();
playerEntity.func_226284_e_(true); // setSneaking playerEntity.func_226284_e_(true); // setSneaking
const portableWoodcutter = Item.of("corail_woodcutter:acacia_woodcutter"); const portableWoodcutter = Item.of('corail_woodcutter:acacia_woodcutter');
portableWoodcutter portableWoodcutter
.getItem() .getItem()
/* onItemRightClick */ /* onItemRightClick */
.func_77659_a( .func_77659_a(event.getBlock().minecraftLevel, playerEntity, event.getHand());
event.getBlock().minecraftLevel,
playerEntity,
event.getHand()
);
} }
}); });

View file

@ -1,368 +1,380 @@
const bottler = (event) => { const bottler = event => {
// Treated planks in the bottler // Treated planks in the bottler
event.custom({ event.custom({
type: "thermal:bottler", type: 'thermal:bottler',
ingredient: [ ingredient: [
{ {
tag: "minecraft:planks", tag: 'minecraft:planks',
}, },
{ {
fluid: "immersiveengineering:creosote", fluid: 'immersiveengineering:creosote',
amount: 125, amount: 125,
}, },
], ],
result: [ result: [
{ {
item: "immersiveengineering:treated_wood_horizontal", item: 'immersiveengineering:treated_wood_horizontal',
}, },
], ],
}); });
}; };
const campfire = (event) => { const campfire = event => {
// Cast-Iron from campfire // Cast-Iron from campfire
event.campfireCooking("1x emendatusenigmatica:cast_iron_ingot", "#forge:ingots/iron"); event.campfireCooking('1x emendatusenigmatica:cast_iron_ingot', '#forge:ingots/iron');
}; };
const crafting = (event) => { const crafting = event => {
event.remove({ output: "create:andesite_alloy" }); event.remove({output: 'create:andesite_alloy'});
global.genAlloyingRecipe(event, { tag: "chipped:andesite" }, { tag: "forge:ingots/zinc" }, "create:andesite_alloy", 2); global.genAlloyingRecipe(
event,
{tag: 'chipped:andesite'},
{tag: 'forge:ingots/zinc'},
'create:andesite_alloy',
2
);
event.custom({ event.custom({
type: "natural-progression:damage_tools", type: 'natural-progression:damage_tools',
ingredients: [{ item: "minecraft:clay" }, { tag: "forge:pebbles" }, { tag: "forge:pebbles" }, { item: "emendatusenigmatica:zinc_chunk" }, { tag: "natural-progression:saw" }], ingredients: [
{item: 'minecraft:clay'},
{tag: 'forge:pebbles'},
{tag: 'forge:pebbles'},
{item: 'emendatusenigmatica:zinc_chunk'},
{tag: 'natural-progression:saw'},
],
result: { result: {
item: "kubejs:crude_andesite_alloy", item: 'kubejs:crude_andesite_alloy',
count: 1, count: 1,
}, },
}); });
event.custom({ event.custom({
type: "natural-progression:damage_tools", type: 'natural-progression:damage_tools',
ingredients: [ ingredients: [
{ {
item: "minecraft:clay", item: 'minecraft:clay',
}, },
{ {
tag: "forge:pebbles", tag: 'forge:pebbles',
}, },
{ {
tag: "forge:pebbles", tag: 'forge:pebbles',
}, },
{ {
item: "emendatusenigmatica:iron_chunk", item: 'emendatusenigmatica:iron_chunk',
}, },
{ {
tag: "natural-progression:saw", tag: 'natural-progression:saw',
}, },
], ],
result: { result: {
item: "kubejs:crude_andesite_alloy", item: 'kubejs:crude_andesite_alloy',
count: 1, count: 1,
}, },
}); });
event.custom({ event.custom({
type: "create:sandpaper_polishing", type: 'create:sandpaper_polishing',
ingredients: [ ingredients: [
{ {
item: "kubejs:crude_andesite_alloy", item: 'kubejs:crude_andesite_alloy',
}, },
], ],
results: [ results: [
{ {
item: "create:andesite_alloy", item: 'create:andesite_alloy',
}, },
], ],
}); });
event.custom({ event.custom({
type: "natural-progression:damage_tools", type: 'natural-progression:damage_tools',
ingredients: [ ingredients: [
{ {
item: "minecraft:shears", item: 'minecraft:shears',
}, },
{ {
tag: "minecraft:wool", tag: 'minecraft:wool',
}, },
], ],
result: { result: {
item: "minecraft:string", item: 'minecraft:string',
count: 3, count: 3,
}, },
}); });
event.shapeless("4x minecraft:clay_ball", ["minecraft:clay"]); event.shapeless('4x minecraft:clay_ball', ['minecraft:clay']);
event.shaped("16x supplementaries:cog_block", ["ccc", "cgc", "ccc"], { event.shaped('16x supplementaries:cog_block', ['ccc', 'cgc', 'ccc'], {
g: "#forge:gears/copper", g: '#forge:gears/copper',
c: "#forge:ingots/copper", c: '#forge:ingots/copper',
}); });
event.shaped("32x supplementaries:cog_block", ["ccc", "cgc", "ccc"], { event.shaped('32x supplementaries:cog_block', ['ccc', 'cgc', 'ccc'], {
g: "#forge:gears/signalum", g: '#forge:gears/signalum',
c: "#forge:ingots/signalum", c: '#forge:ingots/signalum',
}); });
event.remove({ id: "quark:building/crafting/chests/chest_revert" }); event.remove({id: 'quark:building/crafting/chests/chest_revert'});
event.shapeless("1x minecraft:chest", ["#forge:chests/wooden"]); event.shapeless('1x minecraft:chest', ['#forge:chests/wooden']);
event.shapeless("1x minecraft:trapped_chest", ["#forge:chests/trapped"]); event.shapeless('1x minecraft:trapped_chest', ['#forge:chests/trapped']);
event.shapeless("4x appliedenergistics2:sky_stone_block", ["3x #forge:stone", "#forge:silicon"]); event.shapeless('4x appliedenergistics2:sky_stone_block', ['3x #forge:stone', '#forge:silicon']);
// chipped planks for quark chest crafting // chipped planks for quark chest crafting
["acacia", "birch", "crimson", "dark_oak", "jungle", "oak", "spruce", "warped"].forEach((plank) => { ['acacia', 'birch', 'crimson', 'dark_oak', 'jungle', 'oak', 'spruce', 'warped'].forEach(plank => {
event.shaped(`1x quark:${plank}_chest`, ["ppp", "p p", "ppp"], { event.shaped(`1x quark:${plank}_chest`, ['ppp', 'p p', 'ppp'], {
p: `#chipped:${plank}_planks`, p: `#chipped:${plank}_planks`,
}); });
}); });
// Craft chests out of chestless planks // Craft chests out of chestless planks
event.shaped("4x minecraft:chest", ["lll", "l l", "lll"], { event.shaped('4x minecraft:chest', ['lll', 'l l', 'lll'], {
l: "#harmeng:chestless_logs", l: '#harmeng:chestless_logs',
}); });
event.shaped("minecraft:chest", ["ppp", "p p", "ppp"], { event.shaped('minecraft:chest', ['ppp', 'p p', 'ppp'], {
p: "#harmeng:chestless_planks", p: '#harmeng:chestless_planks',
}); });
event.remove({ output: "chipped:carpenters_table" }); event.remove({output: 'chipped:carpenters_table'});
event.shaped("1x chipped:carpenters_table", [" I", "LWL", "SPL"], { event.shaped('1x chipped:carpenters_table', [' I', 'LWL', 'SPL'], {
I: "#forge:ingots/iron", I: '#forge:ingots/iron',
L: "#minecraft:logs", L: '#minecraft:logs',
P: "#minecraft:planks", P: '#minecraft:planks',
S: "#natural-progression:saw", S: '#natural-progression:saw',
W: "corail_woodcutter:oak_woodcutter", W: 'corail_woodcutter:oak_woodcutter',
}); });
}; };
const metallurgicInfuser = (event) => { const metallurgicInfuser = event => {
event.custom({ event.custom({
type: "mekanism:metallurgic_infusing", type: 'mekanism:metallurgic_infusing',
itemInput: { itemInput: {
ingredient: { ingredient: {
tag: "forge:storage_blocks/uranium", tag: 'forge:storage_blocks/uranium',
}, },
}, },
infusionInput: { infusionInput: {
amount: 90, amount: 90,
tag: "mekanism:redstone", tag: 'mekanism:redstone',
}, },
output: { output: {
item: "powah:uraninite_block", item: 'powah:uraninite_block',
}, },
}); });
event.custom({ event.custom({
type: "mekanism:metallurgic_infusing", type: 'mekanism:metallurgic_infusing',
itemInput: { itemInput: {
ingredient: { ingredient: {
tag: "forge:ingots/uranium", tag: 'forge:ingots/uranium',
}, },
}, },
infusionInput: { infusionInput: {
amount: 10, amount: 10,
tag: "mekanism:redstone", tag: 'mekanism:redstone',
}, },
output: { output: {
item: "powah:uraninite", item: 'powah:uraninite',
}, },
}); });
}; };
const multiservoPress = (event) => { const multiservoPress = event => {
// Recipes for IE wires from multiservo press // Recipes for IE wires from multiservo press
event.custom({ event.custom({
type: "thermal:press", type: 'thermal:press',
ingredients: [ ingredients: [
{ {
tag: "forge:ingots/aluminum", tag: 'forge:ingots/aluminum',
}, },
{ {
item: "immersiveengineering:mold_wire", item: 'immersiveengineering:mold_wire',
}, },
], ],
result: [ result: [
{ {
item: "immersiveengineering:wire_aluminum", item: 'immersiveengineering:wire_aluminum',
count: 2, count: 2,
}, },
], ],
}); });
event.custom({ event.custom({
type: "thermal:press", type: 'thermal:press',
ingredients: [ ingredients: [
{ {
tag: "forge:ingots/copper", tag: 'forge:ingots/copper',
}, },
{ {
item: "immersiveengineering:mold_wire", item: 'immersiveengineering:mold_wire',
}, },
], ],
result: [ result: [
{ {
item: "immersiveengineering:wire_copper", item: 'immersiveengineering:wire_copper',
count: 2, count: 2,
}, },
], ],
}); });
event.custom({ event.custom({
type: "thermal:press", type: 'thermal:press',
ingredients: [ ingredients: [
{ {
tag: "forge:ingots/electrum", tag: 'forge:ingots/electrum',
}, },
{ {
item: "immersiveengineering:mold_wire", item: 'immersiveengineering:mold_wire',
}, },
], ],
result: [ result: [
{ {
item: "immersiveengineering:wire_electrum", item: 'immersiveengineering:wire_electrum',
count: 2, count: 2,
}, },
], ],
}); });
event.custom({ event.custom({
type: "thermal:press", type: 'thermal:press',
ingredients: [ ingredients: [
{ {
tag: "forge:ingots/gold", tag: 'forge:ingots/gold',
}, },
{ {
item: "immersiveengineering:mold_wire", item: 'immersiveengineering:mold_wire',
}, },
], ],
result: [ result: [
{ {
item: "createaddition:gold_wire", item: 'createaddition:gold_wire',
count: 2, count: 2,
}, },
], ],
}); });
event.custom({ event.custom({
type: "thermal:press", type: 'thermal:press',
ingredients: [ ingredients: [
{ {
tag: "forge:ingots/iron", tag: 'forge:ingots/iron',
}, },
{ {
item: "immersiveengineering:mold_wire", item: 'immersiveengineering:mold_wire',
}, },
], ],
result: [ result: [
{ {
item: "createaddition:iron_wire", item: 'createaddition:iron_wire',
count: 2, count: 2,
}, },
], ],
}); });
event.custom({ event.custom({
type: "thermal:press", type: 'thermal:press',
ingredients: [ ingredients: [
{ {
tag: "forge:ingots/lead", tag: 'forge:ingots/lead',
}, },
{ {
item: "immersiveengineering:mold_wire", item: 'immersiveengineering:mold_wire',
}, },
], ],
result: [ result: [
{ {
item: "immersiveengineering:wire_lead", item: 'immersiveengineering:wire_lead',
count: 2, count: 2,
}, },
], ],
}); });
event.custom({ event.custom({
type: "thermal:press", type: 'thermal:press',
ingredients: [ ingredients: [
{ {
tag: "forge:ingots/steel", tag: 'forge:ingots/steel',
}, },
{ {
item: "immersiveengineering:mold_wire", item: 'immersiveengineering:mold_wire',
}, },
], ],
result: [ result: [
{ {
item: "immersiveengineering:wire_steel", item: 'immersiveengineering:wire_steel',
count: 2, count: 2,
}, },
], ],
}); });
event.custom({ event.custom({
type: "thermal:press", type: 'thermal:press',
ingredients: [ ingredients: [
{ {
tag: "forge:ingots/copper", tag: 'forge:ingots/copper',
}, },
{ {
item: "immersiveengineering:mold_bullet_casing", item: 'immersiveengineering:mold_bullet_casing',
}, },
], ],
result: [ result: [
{ {
item: "immersiveengineering:empty_casing", item: 'immersiveengineering:empty_casing',
count: 2, count: 2,
}, },
], ],
}); });
}; };
const stonecutter = (event) => { const stonecutter = event => {
event.stonecutting("appliedenergistics2:calculation_processor_press", "#forge:plates/steel"); event.stonecutting('appliedenergistics2:calculation_processor_press', '#forge:plates/steel');
event.stonecutting("appliedenergistics2:engineering_processor_press", "#forge:plates/steel"); event.stonecutting('appliedenergistics2:engineering_processor_press', '#forge:plates/steel');
event.stonecutting("appliedenergistics2:logic_processor_press", "#forge:plates/steel"); event.stonecutting('appliedenergistics2:logic_processor_press', '#forge:plates/steel');
event.stonecutting("appliedenergistics2:silicon_press", "#forge:plates/steel"); event.stonecutting('appliedenergistics2:silicon_press', '#forge:plates/steel');
event.stonecutting("appliedenergistics2:name_press", "#forge:plates/steel"); event.stonecutting('appliedenergistics2:name_press', '#forge:plates/steel');
// Uncraft quartz block via stonecutting // Uncraft quartz block via stonecutting
event.stonecutting("4x minecraft:quartz", "minecraft:quartz_block"); event.stonecutting('4x minecraft:quartz', 'minecraft:quartz_block');
}; };
const woodcutter = (event) => { const woodcutter = event => {
// Lots of wonky dynamic logic for reducing hundreds of JSON files to a few hundred lines ;) // Lots of wonky dynamic logic for reducing hundreds of JSON files to a few hundred lines ;)
[ [
"atmospheric:aspen", 'atmospheric:aspen',
"atmospheric:grimwood", 'atmospheric:grimwood',
"atmospheric:kousa", 'atmospheric:kousa',
"atmospheric:morado", 'atmospheric:morado',
"atmospheric:rosewood", 'atmospheric:rosewood',
"atmospheric:yucca", 'atmospheric:yucca',
"autumnity:maple", 'autumnity:maple',
"betterendforge:dragon_tree", 'betterendforge:dragon_tree',
"betterendforge:end_lotus", 'betterendforge:end_lotus',
"betterendforge:helix_tree", 'betterendforge:helix_tree',
"betterendforge:jellyshroom", 'betterendforge:jellyshroom',
"betterendforge:lacugrove", 'betterendforge:lacugrove',
"betterendforge:lucernia", 'betterendforge:lucernia',
"betterendforge:mossy_glowshroom", 'betterendforge:mossy_glowshroom',
"betterendforge:pythadendron", 'betterendforge:pythadendron',
"betterendforge:tenanea", 'betterendforge:tenanea',
"betterendforge:umbrella_tree", 'betterendforge:umbrella_tree',
"enhanced_mushrooms:brown_mushroom", 'enhanced_mushrooms:brown_mushroom',
"enhanced_mushrooms:glowshroom", 'enhanced_mushrooms:glowshroom',
"enhanced_mushrooms:red_mushroom", 'enhanced_mushrooms:red_mushroom',
"tconstruct:bloodshroom", 'tconstruct:bloodshroom',
"tconstruct:greenheart", 'tconstruct:greenheart',
"tconstruct:skyroot", 'tconstruct:skyroot',
"upgrade_aquatic:driftwood", 'upgrade_aquatic:driftwood',
"upgrade_aquatic:river", 'upgrade_aquatic:river',
].forEach((wood) => { ].forEach(wood => {
[ [
{ type: "button", qty: 4 }, {type: 'button', qty: 4},
{ type: "door", qty: 1 }, {type: 'door', qty: 1},
{ type: "fence_gate", qty: 1 }, {type: 'fence_gate', qty: 1},
{ type: "fence", qty: 1 }, {type: 'fence', qty: 1},
{ type: "gate", qty: 1 }, {type: 'gate', qty: 1},
{ type: "pressure_plate", qty: 3 }, {type: 'pressure_plate', qty: 3},
{ type: "sign", qty: 1 }, {type: 'sign', qty: 1},
{ type: "slab", qty: 2 }, {type: 'slab', qty: 2},
{ type: "stairs", qty: 1 }, {type: 'stairs', qty: 1},
{ type: "trapdoor", qty: 2 }, {type: 'trapdoor', qty: 2},
].forEach((x) => { ].forEach(x => {
const { type, qty } = x; const {type, qty} = x;
event.custom({ event.custom({
type: "corail_woodcutter:woodcutting", type: 'corail_woodcutter:woodcutting',
ingredient: { ingredient: {
item: `${wood}_planks`, item: `${wood}_planks`,
}, },
@ -370,16 +382,16 @@ const woodcutter = (event) => {
count: qty, count: qty,
conditions: [ conditions: [
{ {
type: "forge:mod_loaded", type: 'forge:mod_loaded',
modid: "corail_woodcutter", modid: 'corail_woodcutter',
}, },
{ {
type: "forge:mod_loaded", type: 'forge:mod_loaded',
modid: wood.split(":")[0], modid: wood.split(':')[0],
}, },
{ {
// Check that the generated item actually exists // Check that the generated item actually exists
type: "forge:item_exists", type: 'forge:item_exists',
item: `${wood}_${type}`, item: `${wood}_${type}`,
}, },
], ],
@ -388,42 +400,44 @@ const woodcutter = (event) => {
}); });
[ [
"atmospheric:aspen_logs", 'atmospheric:aspen_logs',
"atmospheric:grimwood_logs", 'atmospheric:grimwood_logs',
"atmospheric:morado_logs", 'atmospheric:morado_logs',
"atmospheric:rosewood_logs", 'atmospheric:rosewood_logs',
"atmospheric:yucca_logs", 'atmospheric:yucca_logs',
"autumnity:maple_logs", 'autumnity:maple_logs',
"enhanced_mushrooms:brown_mushroom_stems", 'enhanced_mushrooms:brown_mushroom_stems',
"enhanced_mushrooms:glowshroom_stems", 'enhanced_mushrooms:glowshroom_stems',
"enhanced_mushrooms:red_mushroom_stems", 'enhanced_mushrooms:red_mushroom_stems',
"upgrade_aquatic:driftwood_logs", 'upgrade_aquatic:driftwood_logs',
"upgrade_aquatic:river_logs", 'upgrade_aquatic:river_logs',
].forEach((wood) => { ].forEach(wood => {
const [modid, path] = wood.split(":"); const [modid, path] = wood.split(':');
[ [
{ type: "beam", qty: 1 }, {type: 'beam', qty: 1},
{ type: "palisade", qty: 4 }, {type: 'palisade', qty: 4},
].forEach((x) => { ].forEach(x => {
const { type, qty } = x; const {type, qty} = x;
const output = `decorative_blocks_abnormals:${path}_${type}`.replace("_logs", "").replace("_stems", ""); const output = `decorative_blocks_abnormals:${path}_${type}`
.replace('_logs', '')
.replace('_stems', '');
event.custom({ event.custom({
type: "corail_woodcutter:woodcutting", type: 'corail_woodcutter:woodcutting',
ingredient: { tag: wood }, ingredient: {tag: wood},
result: output, result: output,
count: qty, count: qty,
conditions: [ conditions: [
{ {
type: "forge:mod_loaded", type: 'forge:mod_loaded',
modid: "corail_woodcutter", modid: 'corail_woodcutter',
}, },
{ {
type: "forge:mod_loaded", type: 'forge:mod_loaded',
modid: modid, modid: modid,
}, },
{ {
// Check that the generated item actually exists // Check that the generated item actually exists
type: "forge:item_exists", type: 'forge:item_exists',
item: output, item: output,
}, },
], ],
@ -432,42 +446,42 @@ const woodcutter = (event) => {
}); });
[ [
"atmospheric:aspen_planks", 'atmospheric:aspen_planks',
"atmospheric:grimwood_planks", 'atmospheric:grimwood_planks',
"atmospheric:morado_planks", 'atmospheric:morado_planks',
"atmospheric:rosewood_planks", 'atmospheric:rosewood_planks',
"atmospheric:yucca_planks", 'atmospheric:yucca_planks',
"autumnity:maple_planks", 'autumnity:maple_planks',
"enhanced_mushrooms:brown_mushroom_planks", 'enhanced_mushrooms:brown_mushroom_planks',
"enhanced_mushrooms:glowshroom_planks", 'enhanced_mushrooms:glowshroom_planks',
"enhanced_mushrooms:red_mushroom_planks", 'enhanced_mushrooms:red_mushroom_planks',
"upgrade_aquatic:driftwood_planks", 'upgrade_aquatic:driftwood_planks',
"upgrade_aquatic:river_planks", 'upgrade_aquatic:river_planks',
].forEach((wood) => { ].forEach(wood => {
const [modid, path] = wood.split(":"); const [modid, path] = wood.split(':');
[ [
{ type: "seat", qty: 1 }, {type: 'seat', qty: 1},
{ type: "support", qty: 1 }, {type: 'support', qty: 1},
].forEach((x) => { ].forEach(x => {
const { type, qty } = x; const {type, qty} = x;
const output = `decorative_blocks_abnormals:${path}_${type}`.replace("_planks", ""); const output = `decorative_blocks_abnormals:${path}_${type}`.replace('_planks', '');
event.custom({ event.custom({
type: "corail_woodcutter:woodcutting", type: 'corail_woodcutter:woodcutting',
ingredient: { item: wood }, ingredient: {item: wood},
result: output, result: output,
count: qty, count: qty,
conditions: [ conditions: [
{ {
type: "forge:mod_loaded", type: 'forge:mod_loaded',
modid: "corail_woodcutter", modid: 'corail_woodcutter',
}, },
{ {
type: "forge:mod_loaded", type: 'forge:mod_loaded',
modid: modid, modid: modid,
}, },
{ {
// Check that the generated item actually exists // Check that the generated item actually exists
type: "forge:item_exists", type: 'forge:item_exists',
item: output, item: output,
}, },
], ],
@ -478,54 +492,54 @@ const woodcutter = (event) => {
/* IE Compat */ /* IE Compat */
[ [
{ {
result: "immersiveengineering:treated_wood_horizontal", result: 'immersiveengineering:treated_wood_horizontal',
count: 1, count: 1,
}, },
{ {
result: "immersiveengineering:slab_treated_wood_horizontal", result: 'immersiveengineering:slab_treated_wood_horizontal',
count: 2, count: 2,
}, },
{ {
result: "immersiveengineering:stairs_treated_wood_horizontal", result: 'immersiveengineering:stairs_treated_wood_horizontal',
count: 1, count: 1,
}, },
{ {
result: "immersiveengineering:treated_wood_vertical", result: 'immersiveengineering:treated_wood_vertical',
count: 1, count: 1,
}, },
{ {
result: "immersiveengineering:slab_treated_wood_vertical", result: 'immersiveengineering:slab_treated_wood_vertical',
count: 2, count: 2,
}, },
{ {
result: "immersiveengineering:stairs_treated_wood_vertical", result: 'immersiveengineering:stairs_treated_wood_vertical',
count: 1, count: 1,
}, },
{ {
result: "immersiveengineering:treated_wood_packaged", result: 'immersiveengineering:treated_wood_packaged',
count: 1, count: 1,
}, },
{ {
result: "immersiveengineering:slab_treated_wood_packaged", result: 'immersiveengineering:slab_treated_wood_packaged',
count: 2, count: 2,
}, },
{ {
result: "immersiveengineering:stairs_treated_wood_packaged", result: 'immersiveengineering:stairs_treated_wood_packaged',
count: 1, count: 1,
}, },
{ {
result: "immersiveengineering:treated_fence", result: 'immersiveengineering:treated_fence',
count: 1, count: 1,
}, },
{ {
result: "immersiveengineering:treated_scaffold", result: 'immersiveengineering:treated_scaffold',
count: 1, count: 1,
}, },
].forEach((recipe) => { ].forEach(recipe => {
const { result, count } = recipe; const {result, count} = recipe;
event.custom({ event.custom({
type: "corail_woodcutter:woodcutting", type: 'corail_woodcutter:woodcutting',
ingredient: { tag: "forge:treated_wood" }, ingredient: {tag: 'forge:treated_wood'},
result: result, result: result,
count: count, count: count,
}); });
@ -533,7 +547,7 @@ const woodcutter = (event) => {
}; };
// Completely custom, non-replacing recipes // Completely custom, non-replacing recipes
onEvent("recipes", (event) => { onEvent('recipes', event => {
bottler(event); bottler(event);
campfire(event); campfire(event);
crafting(event); crafting(event);
@ -544,22 +558,28 @@ onEvent("recipes", (event) => {
// Ender Singularity Crafting // Ender Singularity Crafting
event.custom({ event.custom({
type: "thermal:chiller", type: 'thermal:chiller',
ingredients: [ ingredients: [
{ {
fluid: "minecraft:water", fluid: 'minecraft:water',
amount: 1000, amount: 1000,
}, },
{ {
item: "powah:ender_core", item: 'powah:ender_core',
}, },
], ],
result: [ result: [
{ {
item: "kubejs:ender_singularity", item: 'kubejs:ender_singularity',
count: 1, count: 1,
}, },
], ],
energy: 20000, energy: 20000,
}); });
// Rainbow Rune crafting :)
event.shaped('1x quark:rainbow_rune', ['CCC', 'CBC', 'CCC'], {
C: 'betterendforge:crystal_shards',
B: 'quark:blank_rune',
});
}); });

View file

@ -1,90 +1,109 @@
onEvent("recipes", (event) => { onEvent('recipes', event => {
event.remove({ output: "appliedenergistics2:grindstone" }); event.remove({output: 'appliedenergistics2:grindstone'});
event.remove({ output: "appliedenergistics2:controller" }); event.remove({output: 'appliedenergistics2:controller'});
event.remove({ output: "appliedenergistics2:inscriber" }); event.remove({output: 'appliedenergistics2:inscriber'});
event.remove({ output: "appliedenergistics2:wireless_receiver" }); event.remove({output: 'appliedenergistics2:wireless_receiver'});
event.remove({ output: "appliedenergistics2:wireless_booster" }); event.remove({output: 'appliedenergistics2:wireless_booster'});
event.remove({ output: "ae2wtlib:infinity_booster_card" }); event.remove({output: 'ae2wtlib:infinity_booster_card'});
event.remove({ output: "aeinfinitybooster:infinity_card" }); event.remove({output: 'aeinfinitybooster:infinity_card'});
event.remove({ output: "aeinfinitybooster:dimension_card" }); event.remove({output: 'aeinfinitybooster:dimension_card'});
event.shaped("1x aeinfinitybooster:infinity_card", ["SWS", "WNW", "III"], { event.shaped('1x aeinfinitybooster:infinity_card', ['SWS', 'WNW', 'III'], {
W: "appliedenergistics2:wireless_booster", W: 'appliedenergistics2:wireless_booster',
I: "#forge:ingots/netherite", I: '#forge:ingots/netherite',
N: "minecraft:nether_star", N: 'minecraft:nether_star',
S: "kubejs:ender_singularity", S: 'kubejs:ender_singularity',
}); });
event.shaped("1x aeinfinitybooster:dimension_card", ["WNW", "NSN", "WNW"], { event.shaped('1x aeinfinitybooster:dimension_card', ['WNW', 'NSN', 'WNW'], {
W: "aeinfinitybooster:infinity_card", W: 'aeinfinitybooster:infinity_card',
N: "minecraft:nether_star", N: 'minecraft:nether_star',
S: "kubejs:ender_singularity", S: 'kubejs:ender_singularity',
}); });
global.genCombinedRecipe(event, Ingredient.of("storagenetwork:master"), Ingredient.of("appliedenergistics2:engineering_processor"), Item.of("appliedenergistics2:controller")); global.genCombinedRecipe(
global.genCombinedRecipe(event, Ingredient.of("#harmeng:presses"), Ingredient.of("appliedenergistics2:purified_fluix_crystal"), Item.of("appliedenergistics2:inscriber")); event,
Ingredient.of('storagenetwork:master'),
Ingredient.of('appliedenergistics2:engineering_processor'),
Item.of('appliedenergistics2:controller')
);
global.genCombinedRecipe(
event,
Ingredient.of('#harmeng:presses'),
Ingredient.of('appliedenergistics2:purified_fluix_crystal'),
Item.of('appliedenergistics2:inscriber')
);
event.shaped("1x appliedenergistics2:wireless_receiver", [" S ", "IFI", " I "], { event.shaped('1x appliedenergistics2:wireless_receiver', [' S ', 'IFI', ' I '], {
S: "kubejs:ender_singularity", S: 'kubejs:ender_singularity',
I: "#forge:ingots/iron", I: '#forge:ingots/iron',
F: "appliedenergistics2:quartz_fiber", F: 'appliedenergistics2:quartz_fiber',
}); });
event.shaped("1x appliedenergistics2:wireless_booster", ["FSE", "III"], { event.shaped('1x appliedenergistics2:wireless_booster', ['FSE', 'III'], {
S: "kubejs:ender_singularity", S: 'kubejs:ender_singularity',
I: "#forge:ingots/iron", I: '#forge:ingots/iron',
F: "#forge:dusts/fluix", F: '#forge:dusts/fluix',
E: "#forge:dusts/ender", E: '#forge:dusts/ender',
}); });
// AE2 crushing in IE Crusher // AE2 crushing in IE Crusher
event.custom({ event.custom({
type: "immersiveengineering:crusher", type: 'immersiveengineering:crusher',
secondaries: [], secondaries: [],
result: { result: {
item: "appliedenergistics2:certus_quartz_dust", item: 'appliedenergistics2:certus_quartz_dust',
}, },
input: { input: {
tag: "forge:gems/certus_quartz", tag: 'forge:gems/certus_quartz',
}, },
energy: 1600, energy: 1600,
}); });
event.custom({ event.custom({
type: "immersiveengineering:crusher", type: 'immersiveengineering:crusher',
secondaries: [], secondaries: [],
result: { result: {
item: "appliedenergistics2:fluix_dust", item: 'appliedenergistics2:fluix_dust',
}, },
input: { input: {
tag: "forge:gems/fluix", tag: 'forge:gems/fluix',
}, },
energy: 1600, energy: 1600,
}); });
event.custom({ event.custom({
type: "immersiveengineering:crusher", type: 'immersiveengineering:crusher',
secondaries: [], secondaries: [],
result: { result: {
item: "emendatusenigmatica:quartz_dust", item: 'emendatusenigmatica:quartz_dust',
}, },
input: { input: {
tag: "forge:gems/quartz", tag: 'forge:gems/quartz',
}, },
energy: 1600, energy: 1600,
}); });
event.shapeless("appliedenergistics2:cable_anchor", ["appliedenergistics2:facade", "appliedenergistics2:facade"]); event.shapeless('appliedenergistics2:cable_anchor', [
'appliedenergistics2:facade',
'appliedenergistics2:facade',
]);
}); });
/* Replaces all thrown certus with AE2 Certus */ /* Replaces all thrown certus with AE2 Certus */
onEvent("entity.spawned", (event) => { onEvent('entity.spawned', event => {
if (event.getEntity().getType() === "minecraft:item") { if (event.getEntity().getType() === 'minecraft:item') {
const itemEntity = event.getEntity(); const itemEntity = event.getEntity();
if (itemEntity.getItem().getId() === "emendatusenigmatica:charged_certus_quartz_gem") { if (itemEntity.getItem().getId() === 'emendatusenigmatica:charged_certus_quartz_gem') {
itemEntity.setItem(Item.of(`${itemEntity.getItem().getCount()}x appliedenergistics2:charged_certus_quartz_crystal`)); itemEntity.setItem(
Item.of(
`${itemEntity.getItem().getCount()}x appliedenergistics2:charged_certus_quartz_crystal`
)
);
} }
if (itemEntity.getItem().getId() === "emendatusenigmatica:certus_quartz_gem") { if (itemEntity.getItem().getId() === 'emendatusenigmatica:certus_quartz_gem') {
itemEntity.setItem(Item.of(`${itemEntity.getItem().getCount()}x appliedenergistics2:certus_quartz_crystal`)); itemEntity.setItem(
Item.of(`${itemEntity.getItem().getCount()}x appliedenergistics2:certus_quartz_crystal`)
);
} }
} }
}); });

View file

@ -1,10 +1,22 @@
onEvent("recipes", (event) => { onEvent('recipes', event => {
event.remove({ output: "betterendforge:end_stone_smelter" }); event.remove({output: 'betterendforge:end_stone_smelter'});
event.remove({ output: "betterendforge:thallasium_ingot" }); event.remove({output: 'betterendforge:thallasium_ingot'});
event.remove({ output: "betterendforge:terminite_ingot" }); event.remove({output: 'betterendforge:terminite_ingot'});
event.remove({ output: "betterendforge:aeternium_ingot" }); event.remove({output: 'betterendforge:aeternium_ingot'});
event.smelting("betterendforge:thallasium_ingot", "betterendforge:thallasium_ore"); event.smelting('betterendforge:thallasium_ingot', 'betterendforge:thallasium_ore');
global.genAlloyingRecipe(event, { tag: "forge:ingots/iron" }, { tag: "forge:dusts/ender_pearl" }, `betterendforge:terminite_ingot`, 1); global.genAlloyingRecipe(
global.genAlloyingRecipe(event, { item: "betterendforge:terminite_ingot" }, { tag: "forge:ingots/netherite" }, `betterendforge:aeternium_ingot`, 1); event,
{tag: 'forge:ingots/iron'},
{tag: 'forge:dusts/ender_pearl'},
`betterendforge:terminite_ingot`,
1
);
global.genAlloyingRecipe(
event,
{item: 'betterendforge:terminite_ingot'},
{tag: 'forge:ingots/netherite'},
`betterendforge:aeternium_ingot`,
1
);
}); });

View file

@ -1,59 +1,63 @@
onEvent("recipes", (event) => { onEvent('recipes', event => {
const betterNetherWoods = [ const betterNetherWoods = [
{ {
log: "betternether:mushroom_fir_log", log: 'betternether:mushroom_fir_log',
strippedLog: "betternether:striped_log_mushroom_fir", strippedLog: 'betternether:striped_log_mushroom_fir',
wood: "betternether:mushroom_fir_wood", wood: 'betternether:mushroom_fir_wood',
strippedWood: "betternether:striped_wood_mushroom_fir", strippedWood: 'betternether:striped_wood_mushroom_fir',
plank: "betternether:mushroom_fir_planks", plank: 'betternether:mushroom_fir_planks',
}, },
{ {
log: "betternether:stalagnate_log", log: 'betternether:stalagnate_log',
strippedLog: "betternether:striped_log_stalagnate", strippedLog: 'betternether:striped_log_stalagnate',
wood: "betternether:stalagnate_bark", wood: 'betternether:stalagnate_bark',
strippedWood: "betternether:striped_bark_stalagnate", strippedWood: 'betternether:striped_bark_stalagnate',
plank: "betternether:stalagnate_planks", plank: 'betternether:stalagnate_planks',
}, },
{ {
log: "betternether:willow_log", log: 'betternether:willow_log',
strippedLog: "betternether:striped_log_willow", strippedLog: 'betternether:striped_log_willow',
wood: "betternether:willow_bark", wood: 'betternether:willow_bark',
strippedWood: "betternether:striped_bark_willow", strippedWood: 'betternether:striped_bark_willow',
plank: "betternether:willow_planks", plank: 'betternether:willow_planks',
}, },
{ {
log: "betternether:nether_sakura_log", log: 'betternether:nether_sakura_log',
strippedLog: "betternether:striped_log_nether_sakura", strippedLog: 'betternether:striped_log_nether_sakura',
wood: "betternether:nether_sakura_bark", wood: 'betternether:nether_sakura_bark',
strippedWood: "betternether:striped_bark_nether_sakura", strippedWood: 'betternether:striped_bark_nether_sakura',
plank: "betternether:nether_sakura_planks", plank: 'betternether:nether_sakura_planks',
}, },
{ {
log: "betternether:anchor_tree_log", log: 'betternether:anchor_tree_log',
strippedLog: "betternether:striped_log_anchor_tree", strippedLog: 'betternether:striped_log_anchor_tree',
wood: "betternether:anchor_tree_bark", wood: 'betternether:anchor_tree_bark',
strippedWood: "betternether:striped_bark_anchor_tree", strippedWood: 'betternether:striped_bark_anchor_tree',
plank: "betternether:anchor_tree_planks", plank: 'betternether:anchor_tree_planks',
}, },
{ {
log: "betternether:rubeus_log", log: 'betternether:rubeus_log',
strippedLog: "betternether:striped_log_rubeus", strippedLog: 'betternether:striped_log_rubeus',
wood: "betternether:rubeus_bark", wood: 'betternether:rubeus_bark',
strippedWood: "betternether:striped_bark_rubeus", strippedWood: 'betternether:striped_bark_rubeus',
plank: "betternether:rubeus_planks", plank: 'betternether:rubeus_planks',
}, },
{ {
log: "betternether:wart_log", log: 'betternether:wart_log',
strippedLog: "betternether:striped_log_wart", strippedLog: 'betternether:striped_log_wart',
wood: "betternether:wart_bark", wood: 'betternether:wart_bark',
strippedWood: "betternether:striped_bark_wart", strippedWood: 'betternether:striped_bark_wart',
plank: "betternether:wart_planks", plank: 'betternether:wart_planks',
}, },
]; ];
betterNetherWoods.forEach((woodType) => { betterNetherWoods.forEach(woodType => {
event.remove({ output: woodType.plank }); event.remove({output: woodType.plank});
global.genNatProgRecipes(woodType.log, woodType.strippedLog, woodType.plank).forEach((x) => event.custom(x)); global
global.genNatProgRecipes(woodType.wood, woodType.strippedWood, woodType.plank).forEach((x) => event.custom(x)); .genNatProgRecipes(woodType.log, woodType.strippedLog, woodType.plank)
.forEach(x => event.custom(x));
global
.genNatProgRecipes(woodType.wood, woodType.strippedWood, woodType.plank)
.forEach(x => event.custom(x));
}); });
}); });

View file

@ -1,25 +1,30 @@
onEvent("recipes", (event) => { onEvent('recipes', event => {
event.remove({ output: "chickenchunks:chunk_loader" }); event.remove({output: 'chickenchunks:chunk_loader'});
event.remove({ output: "chickenchunks:spot_loader" }); event.remove({output: 'chickenchunks:spot_loader'});
global.genCombinedRecipe(event, Ingredient.of("minecraft:enchanting_table"), Ingredient.of("moreminecarts:chunkrodite"), Item.of("chickenchunks:chunk_loader")); global.genCombinedRecipe(
event,
Ingredient.of('minecraft:enchanting_table'),
Ingredient.of('moreminecarts:chunkrodite'),
Item.of('chickenchunks:chunk_loader')
);
event.shaped("1x chickenchunks:chunk_loader", ["xxx", "xxx", "xxx"], { event.shaped('1x chickenchunks:chunk_loader', ['xxx', 'xxx', 'xxx'], {
x: "chickenchunks:spot_loader", x: 'chickenchunks:spot_loader',
}); });
event.custom({ event.custom({
type: "natural-progression:damage_tools", type: 'natural-progression:damage_tools',
ingredients: [ ingredients: [
{ {
item: "chickenchunks:chunk_loader", item: 'chickenchunks:chunk_loader',
}, },
{ {
tag: "harmeng:diamond_tier_saws", tag: 'harmeng:diamond_tier_saws',
}, },
], ],
result: { result: {
item: "chickenchunks:spot_loader", item: 'chickenchunks:spot_loader',
count: 9, count: 9,
}, },
}); });

View file

@ -1,15 +1,40 @@
onEvent("recipes", (event) => { onEvent('recipes', event => {
event.remove({ output: "compactmachines:wall" }); event.remove({output: 'compactmachines:wall'});
event.remove({ output: "compactmachines:machine_tiny" }); event.remove({output: 'compactmachines:machine_tiny'});
event.remove({ output: "compactmachines:machine_small" }); event.remove({output: 'compactmachines:machine_small'});
event.remove({ output: "compactmachines:machine_normal" }); event.remove({output: 'compactmachines:machine_normal'});
event.remove({ output: "compactmachines:machine_large" }); event.remove({output: 'compactmachines:machine_large'});
event.remove({ output: "compactmachines:machine_giant" }); event.remove({output: 'compactmachines:machine_giant'});
event.remove({ output: "compactmachines:machine_maximum" }); event.remove({output: 'compactmachines:machine_maximum'});
global.genCombinedRecipe(event, Ingredient.of("minecraft:iron_block"), Ingredient.of("minecraft:redstone"), Item.of("16x compactmachines:wall")); global.genCombinedRecipe(
global.genCombinedRecipe(event, Ingredient.of("immersiveengineering:heavy_engineering"), Ingredient.of("immersiveengineering:circuit_board"), Item.of("compactmachines:machine_tiny")); event,
global.genCombinedRecipe(event, Ingredient.of("compactmachines:machine_tiny"), Ingredient.of("immersiveengineering:maintenance_kit"), Item.of("compactmachines:machine_small")); Ingredient.of('minecraft:iron_block'),
global.genCombinedRecipe(event, Ingredient.of("compactmachines:machine_small"), Ingredient.of("immersivepetroleum:projector"), Item.of("compactmachines:machine_normal")); Ingredient.of('minecraft:redstone'),
global.genCombinedRecipe(event, Ingredient.of("compactmachines:machine_normal"), Ingredient.of("entangled:block"), Item.of("compactmachines:machine_large")); Item.of('16x compactmachines:wall')
);
global.genCombinedRecipe(
event,
Ingredient.of('immersiveengineering:heavy_engineering'),
Ingredient.of('immersiveengineering:circuit_board'),
Item.of('compactmachines:machine_tiny')
);
global.genCombinedRecipe(
event,
Ingredient.of('compactmachines:machine_tiny'),
Ingredient.of('immersiveengineering:maintenance_kit'),
Item.of('compactmachines:machine_small')
);
global.genCombinedRecipe(
event,
Ingredient.of('compactmachines:machine_small'),
Ingredient.of('immersivepetroleum:projector'),
Item.of('compactmachines:machine_normal')
);
global.genCombinedRecipe(
event,
Ingredient.of('compactmachines:machine_normal'),
Ingredient.of('entangled:block'),
Item.of('compactmachines:machine_large')
);
}); });

View file

@ -1,52 +1,52 @@
onEvent("recipes", (event) => { onEvent('recipes', event => {
event.remove({ output: "corail_woodcutter:acacia_woodcutter" }); event.remove({output: 'corail_woodcutter:acacia_woodcutter'});
event.remove({ output: "corail_woodcutter:birch_woodcutter" }); event.remove({output: 'corail_woodcutter:birch_woodcutter'});
event.remove({ output: "corail_woodcutter:black_stained_woodcutter" }); event.remove({output: 'corail_woodcutter:black_stained_woodcutter'});
event.remove({ output: "corail_woodcutter:blue_stained_woodcutter" }); event.remove({output: 'corail_woodcutter:blue_stained_woodcutter'});
event.remove({ output: "corail_woodcutter:brown_stained_woodcutter" }); event.remove({output: 'corail_woodcutter:brown_stained_woodcutter'});
event.remove({ output: "corail_woodcutter:crimson_woodcutter" }); event.remove({output: 'corail_woodcutter:crimson_woodcutter'});
event.remove({ output: "corail_woodcutter:cyan_stained_woodcutter" }); event.remove({output: 'corail_woodcutter:cyan_stained_woodcutter'});
event.remove({ output: "corail_woodcutter:dark_oak_woodcutter" }); event.remove({output: 'corail_woodcutter:dark_oak_woodcutter'});
event.remove({ output: "corail_woodcutter:gray_stained_woodcutter" }); event.remove({output: 'corail_woodcutter:gray_stained_woodcutter'});
event.remove({ output: "corail_woodcutter:green_stained_woodcutter" }); event.remove({output: 'corail_woodcutter:green_stained_woodcutter'});
event.remove({ output: "corail_woodcutter:jungle_woodcutter" }); event.remove({output: 'corail_woodcutter:jungle_woodcutter'});
event.remove({ output: "corail_woodcutter:light_blue_stained_woodcutter" }); event.remove({output: 'corail_woodcutter:light_blue_stained_woodcutter'});
event.remove({ output: "corail_woodcutter:light_gray_stained_woodcutter" }); event.remove({output: 'corail_woodcutter:light_gray_stained_woodcutter'});
event.remove({ output: "corail_woodcutter:lime_stained_woodcutter" }); event.remove({output: 'corail_woodcutter:lime_stained_woodcutter'});
event.remove({ output: "corail_woodcutter:magenta_stained_woodcutter" }); event.remove({output: 'corail_woodcutter:magenta_stained_woodcutter'});
event.remove({ output: "corail_woodcutter:oak_woodcutter" }); event.remove({output: 'corail_woodcutter:oak_woodcutter'});
event.remove({ output: "corail_woodcutter:orange_stained_woodcutter" }); event.remove({output: 'corail_woodcutter:orange_stained_woodcutter'});
event.remove({ output: "corail_woodcutter:pink_stained_woodcutter" }); event.remove({output: 'corail_woodcutter:pink_stained_woodcutter'});
event.remove({ output: "corail_woodcutter:purple_stained_woodcutter" }); event.remove({output: 'corail_woodcutter:purple_stained_woodcutter'});
event.remove({ output: "corail_woodcutter:red_stained_woodcutter" }); event.remove({output: 'corail_woodcutter:red_stained_woodcutter'});
event.remove({ output: "corail_woodcutter:spruce_woodcutter" }); event.remove({output: 'corail_woodcutter:spruce_woodcutter'});
event.remove({ output: "corail_woodcutter:warped_woodcutter" }); event.remove({output: 'corail_woodcutter:warped_woodcutter'});
event.remove({ output: "corail_woodcutter:white_stained_woodcutter" }); event.remove({output: 'corail_woodcutter:white_stained_woodcutter'});
event.remove({ output: "corail_woodcutter:yellow_stained_woodcutter" }); event.remove({output: 'corail_woodcutter:yellow_stained_woodcutter'});
event.shaped("1x corail_woodcutter:oak_woodcutter", [" B ", "PPP"], { event.shaped('1x corail_woodcutter:oak_woodcutter', [' B ', 'PPP'], {
B: "#harmeng:saw_blade", B: '#harmeng:saw_blade',
P: "#minecraft:planks", P: '#minecraft:planks',
}); });
event.custom({ event.custom({
type: "portable_stonecutter:anvil_flattening", type: 'portable_stonecutter:anvil_flattening',
ingredients: [ ingredients: [
{ {
tag: "minecraft:wooden_pressure_plates", tag: 'minecraft:wooden_pressure_plates',
}, },
{ {
item: "minecraft:redstone", item: 'minecraft:redstone',
}, },
{ {
item: "minecraft:redstone", item: 'minecraft:redstone',
}, },
{ {
item: "corail_woodcutter:oak_woodcutter", item: 'corail_woodcutter:oak_woodcutter',
}, },
], ],
output: { output: {
item: "corail_woodcutter:acacia_woodcutter", item: 'corail_woodcutter:acacia_woodcutter',
}, },
}); });
}); });

View file

@ -1,34 +1,40 @@
onEvent("recipes", (event) => { onEvent('recipes', event => {
event.remove({ output: "create:copper_ingot" }); event.remove({output: 'create:copper_ingot'});
event.remove({ output: "create:zinc_ingot" }); event.remove({output: 'create:zinc_ingot'});
event.remove({ output: "create:hand_crank" }); event.remove({output: 'create:hand_crank'});
event.remove({ output: "create:shaft" }); event.remove({output: 'create:shaft'});
event.remove({ output: "create:water_wheel" }); event.remove({output: 'create:water_wheel'});
event.remove({ output: "create:white_sail" }); event.remove({output: 'create:white_sail'});
// Leave the createadditions recipe behind // Leave the createadditions recipe behind
event.remove({ id: "create:crafting/kinetics/white_sail" }); event.remove({id: 'create:crafting/kinetics/white_sail'});
event.remove({ id: "create:cutting/andesite_alloy" }); event.remove({id: 'create:cutting/andesite_alloy'});
event.shaped("18x create:shaft", ["R", "R"], { R: "#forge:rods/steel" }); event.shaped('18x create:shaft', ['R', 'R'], {R: '#forge:rods/steel'});
event.shaped("1x create:hand_crank", [" C ", "PPP", " A"], { event.shaped('1x create:hand_crank', [' C ', 'PPP', ' A'], {
P: "#minecraft:planks", P: '#minecraft:planks',
C: "create:cogwheel", C: 'create:cogwheel',
A: "create:andesite_alloy", A: 'create:andesite_alloy',
}); });
global.genCombinedRecipeSewing(event, Ingredient.of("create:sail_frame"), Ingredient.of("immersiveengineering:windmill_sail"), Item.of("create:white_sail"), 4); global.genCombinedRecipeSewing(
event,
Ingredient.of('create:sail_frame'),
Ingredient.of('immersiveengineering:windmill_sail'),
Item.of('create:white_sail'),
4
);
event.custom({ event.custom({
type: "create:cutting", type: 'create:cutting',
ingredients: [ ingredients: [
{ {
tag: "forge:ingots/steel", tag: 'forge:ingots/steel',
}, },
], ],
results: [ results: [
{ {
item: "create:shaft", item: 'create:shaft',
count: 20, count: 20,
}, },
], ],
@ -37,27 +43,59 @@ onEvent("recipes", (event) => {
global.genLargeRecipe( global.genLargeRecipe(
event, event,
[" B ", "BCB", " B "], [' B ', 'BCB', ' B '],
{ {
B: { B: {
item: "immersiveengineering:waterwheel_segment", item: 'immersiveengineering:waterwheel_segment',
}, },
C: { C: {
item: "create:large_cogwheel", item: 'create:large_cogwheel',
}, },
}, },
{ {
item: "create:water_wheel", item: 'create:water_wheel',
} }
); );
event.replaceInput({ output: "steampowered:cast_iron_burner" }, "#forge:plates/iron", "#forge:plates/cast_iron"); event.replaceInput(
event.replaceInput({ output: "steampowered:cast_iron_boiler" }, "#forge:plates/iron", "#forge:plates/cast_iron"); {output: 'steampowered:cast_iron_burner'},
event.replaceInput({ output: "steampowered:cast_iron_steam_engine" }, "#forge:plates/iron", "#forge:plates/cast_iron"); '#forge:plates/iron',
event.replaceInput({ output: "steampowered:cast_iron_steam_engine" }, "minecraft:iron_ingot", "#forge:ingots/cast_iron"); '#forge:plates/cast_iron'
event.replaceInput({ output: "steampowered:cast_iron_flywheel" }, "minecraft:iron_ingot", "#forge:ingots/cast_iron"); );
event.replaceInput(
{output: 'steampowered:cast_iron_boiler'},
'#forge:plates/iron',
'#forge:plates/cast_iron'
);
event.replaceInput(
{output: 'steampowered:cast_iron_steam_engine'},
'#forge:plates/iron',
'#forge:plates/cast_iron'
);
event.replaceInput(
{output: 'steampowered:cast_iron_steam_engine'},
'minecraft:iron_ingot',
'#forge:ingots/cast_iron'
);
event.replaceInput(
{output: 'steampowered:cast_iron_flywheel'},
'minecraft:iron_ingot',
'#forge:ingots/cast_iron'
);
event.replaceInput({ output: "steampowered:cast_iron_cogwheel" }, "minecraft:iron_ingot", "#forge:ingots/cast_iron"); event.replaceInput(
event.replaceInput({ output: "steampowered:cast_iron_large_cogwheel" }, "minecraft:iron_ingot", "#forge:ingots/cast_iron"); {output: 'steampowered:cast_iron_cogwheel'},
event.replaceInput({ output: "steampowered:cast_iron_large_cogwheel" }, "#forge:plates/iron", "#forge:plates/cast_iron"); 'minecraft:iron_ingot',
'#forge:ingots/cast_iron'
);
event.replaceInput(
{output: 'steampowered:cast_iron_large_cogwheel'},
'minecraft:iron_ingot',
'#forge:ingots/cast_iron'
);
event.replaceInput(
{output: 'steampowered:cast_iron_large_cogwheel'},
'#forge:plates/iron',
'#forge:plates/cast_iron'
);
}); });

View file

@ -1,59 +1,59 @@
onEvent("recipes", (event) => { onEvent('recipes', event => {
event.remove({ input: "minecraft:elytra" }); event.remove({input: 'minecraft:elytra'});
event.remove({ id: "alexsmobs:tarantula_hawk_elytra" }); event.remove({id: 'alexsmobs:tarantula_hawk_elytra'});
event.remove({ input: "customizableelytra:elytra_wing" }); event.remove({input: 'customizableelytra:elytra_wing'});
event.remove({ id: "customizableelytra:elytra_wing" }); event.remove({id: 'customizableelytra:elytra_wing'});
event.remove({ id: "customizableelytra:elytra_wing_vanilla" }); event.remove({id: 'customizableelytra:elytra_wing_vanilla'});
// Mekanism HDPE Elytra // Mekanism HDPE Elytra
event.custom({ event.custom({
type: "mekanism:mek_data", type: 'mekanism:mek_data',
result: { item: "mekanism:hdpe_elytra" }, result: {item: 'mekanism:hdpe_elytra'},
pattern: ["AHA", "HPH", "H H"], pattern: ['AHA', 'HPH', 'H H'],
key: { key: {
A: { tag: "mekanism:alloys/atomic" }, A: {tag: 'mekanism:alloys/atomic'},
H: { item: "mekanism:hdpe_sheet" }, H: {item: 'mekanism:hdpe_sheet'},
P: { tag: "forge:elytra" }, P: {tag: 'forge:elytra'},
}, },
}); });
// Quark Elytra duplication via Dragon Scale // Quark Elytra duplication via Dragon Scale
event event
.shapeless("customizableelytra:customizable_elytra", [ .shapeless('customizableelytra:customizable_elytra', [
"customizableelytra:customizable_elytra", 'customizableelytra:customizable_elytra',
"quark:dragon_scale", 'quark:dragon_scale',
]) ])
.keepIngredient("customizableelytra:customizable_elytra"); .keepIngredient('customizableelytra:customizable_elytra');
// Tarantula Hawk Elytra // Tarantula Hawk Elytra
event.shaped("alexsmobs:tarantula_hawk_elytra", ["WEW"], { event.shaped('alexsmobs:tarantula_hawk_elytra', ['WEW'], {
W: "alexsmobs:tarantula_hawk_wing", W: 'alexsmobs:tarantula_hawk_wing',
E: "#forge:elytra", E: '#forge:elytra',
}); });
// Tconstruct Slimelytra // Tconstruct Slimelytra
event.custom({ event.custom({
type: "tconstruct:casting_basin", type: 'tconstruct:casting_basin',
cast: { cast: {
tag: "forge:elytra", tag: 'forge:elytra',
}, },
cast_consumed: true, cast_consumed: true,
fluid: { fluid: {
tag: "tconstruct:ender_slime", tag: 'tconstruct:ender_slime',
amount: 8000, amount: 8000,
}, },
result: "tconstruct:slime_chestplate", result: 'tconstruct:slime_chestplate',
cooling_time: 237, cooling_time: 237,
}); });
}); });
/* Replaces all thrown elytra with CE Elytra */ /* Replaces all thrown elytra with CE Elytra */
onEvent("entity.spawned", (event) => { onEvent('entity.spawned', event => {
if (event.getEntity().getType() === "minecraft:item") { if (event.getEntity().getType() === 'minecraft:item') {
const itemEntity = event.getEntity(); const itemEntity = event.getEntity();
if (itemEntity.getItem().getId() === "minecraft:elytra") { if (itemEntity.getItem().getId() === 'minecraft:elytra') {
itemEntity.setItem(Item.of("customizableelytra:customizable_elytra")); itemEntity.setItem(Item.of('customizableelytra:customizable_elytra'));
} }
} }
}); });

View file

@ -1,48 +1,40 @@
onEvent("recipes", (event) => { onEvent('recipes', event => {
event.remove({ output: "doomangelring:itemdoomangelring" }); event.remove({output: 'doomangelring:itemdoomangelring'});
event.custom({ event.custom({
type: "create:mechanical_crafting", type: 'create:mechanical_crafting',
pattern: [ pattern: ['FFBBBFF', 'FBNRNBF', 'BHSGSHB', 'BLT TLB', 'BHSGSHB', ' BNRNB ', ' BBB '],
"FFBBBFF",
"FBNRNBF",
"BHSGSHB",
"BLT TLB",
"BHSGSHB",
" BNRNB ",
" BBB ",
],
key: { key: {
B: { B: {
item: "create:brass_ingot", item: 'create:brass_ingot',
}, },
S: { S: {
item: "minecraft:nether_star", item: 'minecraft:nether_star',
}, },
G: { G: {
item: "tconstruct:hepatizon_ingot", item: 'tconstruct:hepatizon_ingot',
}, },
R: { R: {
item: "create:refined_radiance", item: 'create:refined_radiance',
}, },
L: { L: {
item: "alexsmobs:void_worm_eye", item: 'alexsmobs:void_worm_eye',
}, },
H: { H: {
item: "buzzier_bees:bee_bottle", item: 'buzzier_bees:bee_bottle',
}, },
N: { N: {
item: "minecraft:netherite_block", item: 'minecraft:netherite_block',
}, },
T: { T: {
item: "alexsmobs:tarantula_hawk_wing", item: 'alexsmobs:tarantula_hawk_wing',
}, },
F: { F: {
item: "minecraft:feather", item: 'minecraft:feather',
}, },
}, },
result: { result: {
item: "doomangelring:itemdoomangelring", item: 'doomangelring:itemdoomangelring',
count: 1, count: 1,
}, },
}); });

View file

@ -1,88 +1,98 @@
onEvent("recipes", (event) => { onEvent('recipes', event => {
const modid = "draconicevolution"; const modid = 'draconicevolution';
event.replaceInput({ mod: modid }, "minecraft:ender_eye", "kubejs:ender_singularity"); event.replaceInput({mod: modid}, 'minecraft:ender_eye', 'kubejs:ender_singularity');
// Draconium dust/ingot removal because there is no GOD // Draconium dust/ingot removal because there is no GOD
event.remove({ output: `${modid}:draconium_dust` }); event.remove({output: `${modid}:draconium_dust`});
event.remove({ id: `${modid}:components/draconium_ingot` }); event.remove({id: `${modid}:components/draconium_ingot`});
event.custom({ event.custom({
type: "mekanism:nucleosynthesizing", type: 'mekanism:nucleosynthesizing',
itemInput: { ingredient: { item: "industrialforegoing:pink_slime_ingot" } }, itemInput: {ingredient: {item: 'industrialforegoing:pink_slime_ingot'}},
gasInput: { amount: 20, gas: "mekanism:antimatter" }, gasInput: {amount: 20, gas: 'mekanism:antimatter'},
output: { item: `${modid}:draconium_ingot` }, output: {item: `${modid}:draconium_ingot`},
duration: 10000, duration: 10000,
}); });
// Other recripes // Other recripes
event.remove({ output: `${modid}:infused_obsidian` }); event.remove({output: `${modid}:infused_obsidian`});
global.genAlloyingRecipe(event, { item: `${modid}:draconium_ingot` }, { tag: "forge:obsidian" }, `${modid}:infused_obsidian`, 1); global.genAlloyingRecipe(
event,
{item: `${modid}:draconium_ingot`},
{tag: 'forge:obsidian'},
`${modid}:infused_obsidian`,
1
);
event.remove({ output: `${modid}:potentiometer` }); event.remove({output: `${modid}:potentiometer`});
event.shaped(`1x ${modid}:potentiometer`, ["CPC", "RSR", "CRC"], { event.shaped(`1x ${modid}:potentiometer`, ['CPC', 'RSR', 'CRC'], {
C: "projectred-core:plate", C: 'projectred-core:plate',
P: "projectred-core:pointer", P: 'projectred-core:pointer',
S: "projectred-core:silicon_chip", S: 'projectred-core:silicon_chip',
R: "minecraft:redstone", R: 'minecraft:redstone',
}); });
event.remove({ output: `${modid}:dislocator` }); event.remove({output: `${modid}:dislocator`});
event.shaped(`1x ${modid}:dislocator`, ["DPD", "PSP", "DPD"], { event.shaped(`1x ${modid}:dislocator`, ['DPD', 'PSP', 'DPD'], {
D: `${modid}:draconium_ingot`, D: `${modid}:draconium_ingot`,
P: "industrialforegoing:pink_slime_ingot", P: 'industrialforegoing:pink_slime_ingot',
S: "kubejs:ender_singularity", S: 'kubejs:ender_singularity',
}); });
event.remove({ output: `${modid}:module_core` }); event.remove({output: `${modid}:module_core`});
global.genCombinedRecipe(event, Ingredient.of("modularrouters:augment_core"), Ingredient.of(`${modid}:draconium_ingot`), Item.of(`${modid}:module_core`)); global.genCombinedRecipe(
event,
Ingredient.of('modularrouters:augment_core'),
Ingredient.of(`${modid}:draconium_ingot`),
Item.of(`${modid}:module_core`)
);
event.remove({ output: `${modid}:draconium_core` }); event.remove({output: `${modid}:draconium_core`});
global.genLargeRecipe( global.genLargeRecipe(
event, event,
[ [
"G D G", 'G D G',
" G B B G ", ' G B B G ',
" B B ", ' B B ',
" B C C B ", ' B C C B ',
"D R D", 'D R D',
" B C C B ", ' B C C B ',
" B B ", ' B B ',
" G B B G ", ' G B B G ',
"G D G" 'G D G',
], ],
{ {
R: { item: `${modid}:draconium_ingot` }, R: {item: `${modid}:draconium_ingot`},
D: { item: "minecraft:diamond" }, D: {item: 'minecraft:diamond'},
C: { tag: "forge:ingots/cobalt" }, C: {tag: 'forge:ingots/cobalt'},
G: { tag: "forge:ingots/gold" }, G: {tag: 'forge:ingots/gold'},
B: { item: "minecraft:dragon_breath" }, B: {item: 'minecraft:dragon_breath'},
}, },
{ {
item: `${modid}:draconium_core`, item: `${modid}:draconium_core`,
} }
); );
event.remove({output: `${modid}:wyvern_core`});
event.remove({ output: `${modid}:wyvern_core` });
global.genLargeRecipe( global.genLargeRecipe(
event, event,
[ [
"G A G", 'G A G',
" G D D G ", ' G D D G ',
" D D ", ' D D ',
" D C C D ", ' D C C D ',
"A S A", 'A S A',
" D C C D ", ' D C C D ',
" D D ", ' D D ',
" G D D G ", ' G D D G ',
"G A G" 'G A G',
], ],
{ {
S: { item: "minecraft:nether_star" }, S: {item: 'minecraft:nether_star'},
D: { item: "minecraft:diamond" }, D: {item: 'minecraft:diamond'},
C: { item: `${modid}:draconium_core` }, C: {item: `${modid}:draconium_core`},
G: { item: `${modid}:draconium_ingot` }, G: {item: `${modid}:draconium_ingot`},
A: { item: "betterendforge:aeternium_ingot" }, A: {item: 'betterendforge:aeternium_ingot'},
}, },
{ {
item: `${modid}:wyvern_core`, item: `${modid}:wyvern_core`,

View file

@ -1,9 +1,25 @@
onEvent("recipes", (event) => { onEvent('recipes', event => {
event.remove({ output: "enderstorage:ender_chest" }); event.remove({output: 'enderstorage:ender_chest'});
event.remove({ output: "enderstorage:ender_tank" }); event.remove({output: 'enderstorage:ender_tank'});
event.remove({ output: "enderstorage:ender_pouch" }); event.remove({output: 'enderstorage:ender_pouch'});
global.genCombinedRecipe(event, Ingredient.of("minecraft:ender_chest"), Ingredient.of("kubejs:ender_singularity"), Item.of("enderstorage:ender_chest")); global.genCombinedRecipe(
global.genCombinedRecipe(event, Ingredient.of("#harmeng:basic_tank"), Ingredient.of("kubejs:ender_singularity"), Item.of("enderstorage:ender_tank")); event,
global.genCombinedRecipeSewing(event, Ingredient.of("improvedbackpacks:large_pocket"), Ingredient.of("kubejs:ender_singularity"), Item.of("enderstorage:ender_pouch"), 2); Ingredient.of('minecraft:ender_chest'),
Ingredient.of('kubejs:ender_singularity'),
Item.of('enderstorage:ender_chest')
);
global.genCombinedRecipe(
event,
Ingredient.of('#harmeng:basic_tank'),
Ingredient.of('kubejs:ender_singularity'),
Item.of('enderstorage:ender_tank')
);
global.genCombinedRecipeSewing(
event,
Ingredient.of('improvedbackpacks:large_pocket'),
Ingredient.of('kubejs:ender_singularity'),
Item.of('enderstorage:ender_pouch'),
2
);
}); });

View file

@ -1,21 +1,57 @@
onEvent("recipes", (event) => { onEvent('recipes', event => {
event.remove({ event.remove({
id: "enhanced_mushrooms:crafting/red_mushroom/red_mushroom_planks", id: 'enhanced_mushrooms:crafting/red_mushroom/red_mushroom_planks',
}); });
event.remove({ event.remove({
id: "enhanced_mushrooms:crafting/brown_mushroom/brown_mushroom_planks", id: 'enhanced_mushrooms:crafting/brown_mushroom/brown_mushroom_planks',
}); });
event.remove({ event.remove({
id: "enhanced_mushrooms:crafting/glowshroom/glowshroom_planks", id: 'enhanced_mushrooms:crafting/glowshroom/glowshroom_planks',
}); });
// Red Mushroom // Red Mushroom
global.genNatProgRecipes("enhanced_mushrooms:red_mushroom_stem", "enhanced_mushrooms:stripped_red_mushroom_stem", "enhanced_mushrooms:red_mushroom_planks").forEach((x) => event.custom(x)); global
global.genNatProgRecipes("enhanced_mushrooms:red_mushroom_hyphae", "enhanced_mushrooms:stripped_red_mushroom_hyphae", "enhanced_mushrooms:red_mushroom_planks").forEach((x) => event.custom(x)); .genNatProgRecipes(
'enhanced_mushrooms:red_mushroom_stem',
'enhanced_mushrooms:stripped_red_mushroom_stem',
'enhanced_mushrooms:red_mushroom_planks'
)
.forEach(x => event.custom(x));
global
.genNatProgRecipes(
'enhanced_mushrooms:red_mushroom_hyphae',
'enhanced_mushrooms:stripped_red_mushroom_hyphae',
'enhanced_mushrooms:red_mushroom_planks'
)
.forEach(x => event.custom(x));
// Brown Mushroom // Brown Mushroom
global.genNatProgRecipes("enhanced_mushrooms:brown_mushroom_stem", "enhanced_mushrooms:stripped_brown_mushroom_stem", "enhanced_mushrooms:brown_mushroom_planks").forEach((x) => event.custom(x)); global
global.genNatProgRecipes("enhanced_mushrooms:brown_mushroom_hyphae", "enhanced_mushrooms:stripped_brown_mushroom_hyphae", "enhanced_mushrooms:brown_mushroom_planks").forEach((x) => event.custom(x)); .genNatProgRecipes(
'enhanced_mushrooms:brown_mushroom_stem',
'enhanced_mushrooms:stripped_brown_mushroom_stem',
'enhanced_mushrooms:brown_mushroom_planks'
)
.forEach(x => event.custom(x));
global
.genNatProgRecipes(
'enhanced_mushrooms:brown_mushroom_hyphae',
'enhanced_mushrooms:stripped_brown_mushroom_hyphae',
'enhanced_mushrooms:brown_mushroom_planks'
)
.forEach(x => event.custom(x));
// Glowshroom // Glowshroom
global.genNatProgRecipes("enhanced_mushrooms:glowshroom_stem", "enhanced_mushrooms:stripped_glowshroom_stem", "enhanced_mushrooms:glowshroom_planks").forEach((x) => event.custom(x)); global
global.genNatProgRecipes("enhanced_mushrooms:glowshroom_hyphae", "enhanced_mushrooms:stripped_glowshroom_hyphae", "enhanced_mushrooms:glowshroom_planks").forEach((x) => event.custom(x)); .genNatProgRecipes(
'enhanced_mushrooms:glowshroom_stem',
'enhanced_mushrooms:stripped_glowshroom_stem',
'enhanced_mushrooms:glowshroom_planks'
)
.forEach(x => event.custom(x));
global
.genNatProgRecipes(
'enhanced_mushrooms:glowshroom_hyphae',
'enhanced_mushrooms:stripped_glowshroom_hyphae',
'enhanced_mushrooms:glowshroom_planks'
)
.forEach(x => event.custom(x));
}); });

View file

@ -1,4 +1,9 @@
onEvent("recipes", (event) => { onEvent('recipes', event => {
event.remove({ output: "entangled:block" }); event.remove({output: 'entangled:block'});
global.genCombinedRecipe(event, Ingredient.of("thermal:machine_frame"), Ingredient.of("kubejs:ender_singularity"), Item.of("entangled:block")); global.genCombinedRecipe(
event,
Ingredient.of('thermal:machine_frame'),
Ingredient.of('kubejs:ender_singularity'),
Item.of('entangled:block')
);
}); });

View file

@ -1,5 +1,5 @@
onEvent("recipes", (event) => { onEvent('recipes', event => {
["stone", "sedimentstone", "lavastone"].forEach((x) => { ['stone', 'sedimentstone', 'lavastone'].forEach(x => {
event.remove({ output: `extcaves:pebble_${x}` }); event.remove({output: `extcaves:pebble_${x}`});
}); });
}); });

View file

@ -1,20 +1,20 @@
onEvent("recipes", (event) => { onEvent('recipes', event => {
const modid = "extendedcrafting"; const modid = 'extendedcrafting';
event.remove({ mod: modid }); event.remove({mod: modid});
event.custom({ event.custom({
type: "create:mechanical_crafting", type: 'create:mechanical_crafting',
pattern: ["CEEEC", "CCCCC", " NPN ", " NPN ", " NNN "], pattern: ['CEEEC', 'CCCCC', ' NPN ', ' NPN ', ' NNN '],
key: { key: {
C: { item: "create:mechanical_crafter" }, C: {item: 'create:mechanical_crafter'},
E: { tag: "forge:storage_blocks/emerald" }, E: {tag: 'forge:storage_blocks/emerald'},
N: { tag: "forge:ingots/netherite" }, N: {tag: 'forge:ingots/netherite'},
P: { item: "powah:capacitor_spirited" }, P: {item: 'powah:capacitor_spirited'},
}, },
result: { result: {
item: `${modid}:ultimate_auto_table`, item: `${modid}:ultimate_auto_table`,
}, },
}); });
event.shapeless(`1x ${modid}:handheld_table`, ["#forge:workbenches"]); event.shapeless(`1x ${modid}:handheld_table`, ['#forge:workbenches']);
}); });

View file

@ -1,14 +1,14 @@
onEvent("recipes", (event) => { onEvent('recipes', event => {
event.remove({ output: "farmersdelight:cooking_pot" }); event.remove({output: 'farmersdelight:cooking_pot'});
event.remove({ output: "farmersdelight:skillet" }); event.remove({output: 'farmersdelight:skillet'});
event.shaped("1x farmersdelight:cooking_pot", ["B B", "IWI", "III"], { event.shaped('1x farmersdelight:cooking_pot', ['B B', 'IWI', 'III'], {
I: "#forge:ingots/cast_iron", I: '#forge:ingots/cast_iron',
W: "minecraft:water_bucket", W: 'minecraft:water_bucket',
B: "extcaves:brick_half", B: 'extcaves:brick_half',
}); });
event.shaped("1x farmersdelight:skillet", [" II", " II", "B "], { event.shaped('1x farmersdelight:skillet', [' II', ' II', 'B '], {
I: "#forge:ingots/cast_iron", I: '#forge:ingots/cast_iron',
B: "extcaves:brick_half", B: 'extcaves:brick_half',
}); });
}); });

View file

@ -1,78 +1,101 @@
onEvent("recipes", (event) => { onEvent('recipes', event => {
const modid = "immersiveengineering"; const modid = 'immersiveengineering';
event.remove({ id: `${modid}:crafting/hammercrushing_aluminum` }); event.remove({id: `${modid}:crafting/hammercrushing_aluminum`});
event.remove({ id: `${modid}:crafting/hammercrushing_ardite` }); event.remove({id: `${modid}:crafting/hammercrushing_ardite`});
event.remove({ id: `${modid}:crafting/hammercrushing_cobalt` }); event.remove({id: `${modid}:crafting/hammercrushing_cobalt`});
event.remove({ id: `${modid}:crafting/hammercrushing_copper` }); event.remove({id: `${modid}:crafting/hammercrushing_copper`});
event.remove({ id: `${modid}:crafting/hammercrushing_gold` }); event.remove({id: `${modid}:crafting/hammercrushing_gold`});
event.remove({ id: `${modid}:crafting/hammercrushing_iron` }); event.remove({id: `${modid}:crafting/hammercrushing_iron`});
event.remove({ id: `${modid}:crafting/hammercrushing_lead` }); event.remove({id: `${modid}:crafting/hammercrushing_lead`});
event.remove({ id: `${modid}:crafting/hammercrushing_nickel` }); event.remove({id: `${modid}:crafting/hammercrushing_nickel`});
event.remove({ id: `${modid}:crafting/hammercrushing_osmium` }); event.remove({id: `${modid}:crafting/hammercrushing_osmium`});
event.remove({ id: `${modid}:crafting/hammercrushing_platinum` }); event.remove({id: `${modid}:crafting/hammercrushing_platinum`});
event.remove({ id: `${modid}:crafting/hammercrushing_silver` }); event.remove({id: `${modid}:crafting/hammercrushing_silver`});
event.remove({ id: `${modid}:crafting/hammercrushing_tin` }); event.remove({id: `${modid}:crafting/hammercrushing_tin`});
event.remove({ id: `${modid}:crafting/hammercrushing_tungsten` }); event.remove({id: `${modid}:crafting/hammercrushing_tungsten`});
event.remove({ id: `${modid}:crafting/hammercrushing_uranium` }); event.remove({id: `${modid}:crafting/hammercrushing_uranium`});
event.remove({ id: `${modid}:crafting/hammercrushing_zinc` }); event.remove({id: `${modid}:crafting/hammercrushing_zinc`});
event.remove({ id: `${modid}:crafting/plate_aluminum_hammering` }); event.remove({id: `${modid}:crafting/plate_aluminum_hammering`});
event.remove({ id: `${modid}:crafting/plate_constantan_hammering` }); event.remove({id: `${modid}:crafting/plate_constantan_hammering`});
event.remove({ id: `${modid}:crafting/plate_copper_hammering` }); event.remove({id: `${modid}:crafting/plate_copper_hammering`});
event.remove({ id: `${modid}:crafting/plate_electrum_hammering` }); event.remove({id: `${modid}:crafting/plate_electrum_hammering`});
event.remove({ id: `${modid}:crafting/plate_gold_hammering` }); event.remove({id: `${modid}:crafting/plate_gold_hammering`});
event.remove({ id: `${modid}:crafting/plate_iron_hammering` }); event.remove({id: `${modid}:crafting/plate_iron_hammering`});
event.remove({ id: `${modid}:crafting/plate_lead_hammering` }); event.remove({id: `${modid}:crafting/plate_lead_hammering`});
event.remove({ id: `${modid}:crafting/plate_nickel_hammering` }); event.remove({id: `${modid}:crafting/plate_nickel_hammering`});
event.remove({ id: `${modid}:crafting/plate_silver_hammering` }); event.remove({id: `${modid}:crafting/plate_silver_hammering`});
event.remove({ id: `${modid}:crafting/plate_steel_hammering` }); event.remove({id: `${modid}:crafting/plate_steel_hammering`});
event.remove({ id: `${modid}:crafting/plate_uranium_hammering` }); event.remove({id: `${modid}:crafting/plate_uranium_hammering`});
event.remove({ output: `${modid}:alloybrick` }); event.remove({output: `${modid}:alloybrick`});
event.remove({ output: `${modid}:blastbrick` }); event.remove({output: `${modid}:blastbrick`});
event.remove({ output: `${modid}:cokebrick` }); event.remove({output: `${modid}:cokebrick`});
event.remove({ output: `${modid}:hammer` }); event.remove({output: `${modid}:hammer`});
event.remove({ output: `${modid}:watermill` }); event.remove({output: `${modid}:watermill`});
event.remove({ output: `${modid}:windmill` }); event.remove({output: `${modid}:windmill`});
event.remove({ output: `${modid}:hemp_fabric` }); event.remove({output: `${modid}:hemp_fabric`});
event.remove({ output: `${modid}:windmill_sail` }); event.remove({output: `${modid}:windmill_sail`});
global.genCombinedRecipe(event, Ingredient.of("createdeco:dean_bricks"), Ingredient.of("minecraft:sandstone"), Item.of(`${modid}:alloybrick`)); global.genCombinedRecipe(
event,
Ingredient.of('createdeco:dean_bricks'),
Ingredient.of('minecraft:sandstone'),
Item.of(`${modid}:alloybrick`)
);
event.shaped(`27x ${modid}:blastbrick`, ["CHC", "BSB", "CBC"], { event.shaped(`27x ${modid}:blastbrick`, ['CHC', 'BSB', 'CBC'], {
C: "minecraft:clay", C: 'minecraft:clay',
B: "createdeco:dusk_bricks", B: 'createdeco:dusk_bricks',
S: "create:blaze_burner", S: 'create:blaze_burner',
H: "create:chute", H: 'create:chute',
}); });
event.shaped(`27x ${modid}:cokebrick`, ["CHC", "BSB", "CBC"], { event.shaped(`27x ${modid}:cokebrick`, ['CHC', 'BSB', 'CBC'], {
C: "minecraft:clay", C: 'minecraft:clay',
B: "createdeco:blue_bricks", B: 'createdeco:blue_bricks',
H: "create:chute", H: 'create:chute',
S: "createaddition:crude_burner", S: 'createaddition:crude_burner',
}); });
event.shaped(`1x ${modid}:hammer`, [" IR", " SI", "S "], { event.shaped(`1x ${modid}:hammer`, [' IR', ' SI', 'S '], {
S: "#forge:rods/wooden", S: '#forge:rods/wooden',
I: "#forge:plates/iron", I: '#forge:plates/iron',
R: "immersiveengineering:hemp_fiber", R: 'immersiveengineering:hemp_fiber',
}); });
global.genCombinedRecipeSewing(event, Ingredient.of(`${modid}:stick_treated`), Ingredient.of(`8x ${modid}:hemp_fiber`), Item.of(`${modid}:hemp_fabric`), 1); global.genCombinedRecipeSewing(
global.genCombinedRecipeSewing(event, Ingredient.of(`6x ${modid}:hemp_fabric`), Ingredient.of(`${modid}:stick_treated`), Item.of(`${modid}:windmill_sail`), 1); event,
global.genCombinedRecipeSewing(event, Ingredient.of(`${modid}:windmill_blade`), Ingredient.of(`${modid}:windmill_sail`), Item.of("kubejs:cloth_covered_windmill_blade"), 1); Ingredient.of(`${modid}:stick_treated`),
Ingredient.of(`8x ${modid}:hemp_fiber`),
Item.of(`${modid}:hemp_fabric`),
1
);
global.genCombinedRecipeSewing(
event,
Ingredient.of(`6x ${modid}:hemp_fabric`),
Ingredient.of(`${modid}:stick_treated`),
Item.of(`${modid}:windmill_sail`),
1
);
global.genCombinedRecipeSewing(
event,
Ingredient.of(`${modid}:windmill_blade`),
Ingredient.of(`${modid}:windmill_sail`),
Item.of('kubejs:cloth_covered_windmill_blade'),
1
);
global.genLargeRecipe( global.genLargeRecipe(
event, event,
["BBB", "BSB", "BBB"], ['BBB', 'BSB', 'BBB'],
{ {
B: { B: {
item: "kubejs:cloth_covered_windmill_blade", item: 'kubejs:cloth_covered_windmill_blade',
}, },
S: { S: {
tag: "forge:ingots/steel", tag: 'forge:ingots/steel',
}, },
}, },
{ {
@ -82,13 +105,13 @@ onEvent("recipes", (event) => {
global.genLargeRecipe( global.genLargeRecipe(
event, event,
[" B ", "BSB", " B "], [' B ', 'BSB', ' B '],
{ {
B: { B: {
item: `${modid}:waterwheel_segment`, item: `${modid}:waterwheel_segment`,
}, },
S: { S: {
tag: "forge:ingots/steel", tag: 'forge:ingots/steel',
}, },
}, },
{ {
@ -97,8 +120,8 @@ onEvent("recipes", (event) => {
); );
event.custom({ event.custom({
type: "corail_woodcutter:woodcutting", type: 'corail_woodcutter:woodcutting',
ingredient: { tag: "forge:treated_wood" }, ingredient: {tag: 'forge:treated_wood'},
result: `${modid}:waterwheel_segment`, result: `${modid}:waterwheel_segment`,
count: 1, count: 1,
}); });

View file

@ -1,29 +1,31 @@
onEvent("recipes", (event) => { onEvent('recipes', event => {
const modid = "industrialforegoing"; const modid = 'industrialforegoing';
event.remove({ mod: "titanium" }); event.remove({mod: 'titanium'});
event.remove({ output: `${modid}:latex_processing_unit` }); event.remove({output: `${modid}:latex_processing_unit`});
event.remove({ output: `${modid}:machine_frame_pity` }); event.remove({output: `${modid}:tinydryrubber`});
event.remove({ output: `${modid}:plastic` }); event.remove({output: `${modid}:dryrubber`});
event.remove({ output: `${modid}:pink_slime_ingot` }); event.remove({output: `${modid}:machine_frame_pity`});
event.remove({ output: `${modid}:pink_slime` }); event.remove({output: `${modid}:plastic`});
event.remove({output: `${modid}:pink_slime_ingot`});
event.remove({output: `${modid}:pink_slime`});
event.shaped(`1x ${modid}:machine_frame_pity`, ["WPW", "PLP", "WPW"], { event.shaped(`1x ${modid}:machine_frame_pity`, ['WPW', 'PLP', 'WPW'], {
W: "#forge:dusts/wood", W: '#forge:dusts/wood',
L: "#minecraft:logs", L: '#minecraft:logs',
P: `${modid}:plastic`, P: `${modid}:plastic`,
}); });
event.custom({ event.custom({
type: "mekanism:compressing", type: 'mekanism:compressing',
itemInput: { itemInput: {
ingredient: { ingredient: {
item: "mekanism:hdpe_sheet", item: 'mekanism:hdpe_sheet',
}, },
}, },
gasInput: { gasInput: {
amount: 1, amount: 1,
gas: "mekanism:oxygen", gas: 'mekanism:oxygen',
}, },
output: { output: {
item: `${modid}:plastic`, item: `${modid}:plastic`,
@ -31,14 +33,14 @@ onEvent("recipes", (event) => {
}); });
event.custom({ event.custom({
type: "thermal:chiller", type: 'thermal:chiller',
ingredients: [ ingredients: [
{ {
fluid: `${modid}:pink_slime`, fluid: `${modid}:pink_slime`,
amount: 1000, amount: 1000,
}, },
{ {
item: "thermal:chiller_ingot_cast", item: 'thermal:chiller_ingot_cast',
}, },
], ],
result: [ result: [
@ -51,14 +53,14 @@ onEvent("recipes", (event) => {
}); });
event.custom({ event.custom({
type: "thermal:chiller", type: 'thermal:chiller',
ingredients: [ ingredients: [
{ {
fluid: `${modid}:pink_slime`, fluid: `${modid}:pink_slime`,
amount: 300, amount: 300,
}, },
{ {
item: "thermal:chiller_ball_cast", item: 'thermal:chiller_ball_cast',
}, },
], ],
result: [ result: [

View file

@ -1,4 +1,4 @@
onEvent("recipes", (event) => { onEvent('recipes', event => {
event.remove({ id: "infernalexp:blasting/iron_ingot" }); event.remove({id: 'infernalexp:blasting/iron_ingot'});
event.remove({ id: "infernalexp:smelting/iron_ingot" }); event.remove({id: 'infernalexp:smelting/iron_ingot'});
}); });

View file

@ -1,46 +1,46 @@
onEvent("recipes", (event) => { onEvent('recipes', event => {
event.remove({ output: "mekanism:metallurgic_infuser" }); event.remove({output: 'mekanism:metallurgic_infuser'});
event.remove({ output: "mekanism:steel_casing" }); event.remove({output: 'mekanism:steel_casing'});
event.remove({ output: "mekanism:teleportation_core" }); event.remove({output: 'mekanism:teleportation_core'});
event.remove({ output: "mekanism:digital_miner" }); event.remove({output: 'mekanism:digital_miner'});
event.remove({ output: "mekanism:cardboard_box" }); event.remove({output: 'mekanism:cardboard_box'});
event.shaped("1x mekanism:teleportation_core", ["LAL", "GSG", "LAL"], { event.shaped('1x mekanism:teleportation_core', ['LAL', 'GSG', 'LAL'], {
L: "#forge:gems/lapis", L: '#forge:gems/lapis',
G: "#forge:ingots/gold", G: '#forge:ingots/gold',
A: "mekanism:alloy_atomic", A: 'mekanism:alloy_atomic',
S: "kubejs:ender_singularity", S: 'kubejs:ender_singularity',
}); });
event.shaped("1x mekanism:steel_casing", ["SGS", "GAG", "SGS"], { event.shaped('1x mekanism:steel_casing', ['SGS', 'GAG', 'SGS'], {
S: "#forge:ingots/steel", S: '#forge:ingots/steel',
G: "#forge:glass", G: '#forge:glass',
A: "thermal:upgrade_augment_3", A: 'thermal:upgrade_augment_3',
}); });
event.shaped("1x mekanism:metallurgic_infuser", ["LBR", "LCR", "LLR"], { event.shaped('1x mekanism:metallurgic_infuser', ['LBR', 'LCR', 'LLR'], {
C: "mekanism:steel_casing", C: 'mekanism:steel_casing',
R: "minecraft:iron_bars", R: 'minecraft:iron_bars',
B: "minecraft:blast_furnace", B: 'minecraft:blast_furnace',
L: "#forge:sheetmetals/lead", L: '#forge:sheetmetals/lead',
}); });
event.shaped("mekanism:digital_miner", ["ACA", "LSL", "TOT"], { event.shaped('mekanism:digital_miner', ['ACA', 'LSL', 'TOT'], {
A: "mekanism:alloy_atomic", A: 'mekanism:alloy_atomic',
C: "mekanism:basic_control_circuit", C: 'mekanism:basic_control_circuit',
L: "mekanism:logistical_sorter", L: 'mekanism:logistical_sorter',
S: "scannable:scanner", S: 'scannable:scanner',
T: "mekanism:teleportation_core", T: 'mekanism:teleportation_core',
O: "mekanism:steel_casing", O: 'mekanism:steel_casing',
}); });
[("helmet", "chestplate", "leggings", "boots")].forEach((armor) => { [('helmet', 'chestplate', 'leggings', 'boots')].forEach(armor => {
event.remove({ id: `mekanismtools:lapis_lazuli/armor/${armor}` }); event.remove({id: `mekanismtools:lapis_lazuli/armor/${armor}`});
event.remove({ id: `mekanismtools:osmium/armor/${armor}` }); event.remove({id: `mekanismtools:osmium/armor/${armor}`});
}); });
["sword", "pickaxe", "shovel", "axe", "hoe"].forEach((tool) => { ['sword', 'pickaxe', 'shovel', 'axe', 'hoe'].forEach(tool => {
event.remove({ id: `mekanismtools:lapis_lazuli/tools/${tool}` }); event.remove({id: `mekanismtools:lapis_lazuli/tools/${tool}`});
event.remove({ id: `mekanismtools:osmium/tools/${tool}` }); event.remove({id: `mekanismtools:osmium/tools/${tool}`});
}); });
}); });

View file

@ -1,17 +1,17 @@
onEvent("recipes", (event) => { onEvent('recipes', event => {
const modid = "modularrouters"; const modid = 'modularrouters';
event.remove({ output: `${modid}:augment_core` }); event.remove({output: `${modid}:augment_core`});
event.remove({ output: `${modid}:blank_module` }); event.remove({output: `${modid}:blank_module`});
event.remove({ output: `${modid}:blank_upgrade` }); event.remove({output: `${modid}:blank_upgrade`});
event.remove({ output: `${modid}:item_router` }); event.remove({output: `${modid}:item_router`});
event.stonecutting(`${modid}:augment_core`, "rftoolsbase:tablet"); event.stonecutting(`${modid}:augment_core`, 'rftoolsbase:tablet');
event.stonecutting(`${modid}:blank_module`, "rftoolsbase:tablet"); event.stonecutting(`${modid}:blank_module`, 'rftoolsbase:tablet');
event.stonecutting(`${modid}:blank_upgrade`, "rftoolsbase:tablet"); event.stonecutting(`${modid}:blank_upgrade`, 'rftoolsbase:tablet');
event.shaped(`4x ${modid}:item_router`, ["SBS", "BFB", "SBS"], { event.shaped(`4x ${modid}:item_router`, ['SBS', 'BFB', 'SBS'], {
S: "#forge:plates/enderium", S: '#forge:plates/enderium',
B: `${modid}:blank_module`, B: `${modid}:blank_module`,
F: "industrialforegoing:machine_frame_pity", F: 'industrialforegoing:machine_frame_pity',
}); });
}); });

View file

@ -1,5 +1,11 @@
onEvent("recipes", (event) => { onEvent('recipes', event => {
event.remove({ output: "moreminecarts:silica_steel_mix" }); event.remove({output: 'moreminecarts:silica_steel_mix'});
event.remove({ output: "moreminecarts:silica_steel" }); event.remove({output: 'moreminecarts:silica_steel'});
global.genAlloyingRecipe(event, { tag: "forge:ingots/steel" }, { tag: "forge:silicon" }, "moreminecarts:silica_steel", 2); global.genAlloyingRecipe(
event,
{tag: 'forge:ingots/steel'},
{tag: 'forge:silicon'},
'moreminecarts:silica_steel',
2
);
}); });

View file

@ -1,100 +1,100 @@
onEvent("recipes", (event) => { onEvent('recipes', event => {
event.remove({ id: "powah:crafting/cable_basic" }); event.remove({id: 'powah:crafting/cable_basic'});
event.remove({ id: "powah:crafting/cable_basic_2" }); event.remove({id: 'powah:crafting/cable_basic_2'});
event.remove({ id: "powah:crafting/cable_blazing" }); event.remove({id: 'powah:crafting/cable_blazing'});
event.remove({ id: "powah:crafting/cable_blazing_2" }); event.remove({id: 'powah:crafting/cable_blazing_2'});
event.remove({ id: "powah:crafting/cable_hardened" }); event.remove({id: 'powah:crafting/cable_hardened'});
event.remove({ id: "powah:crafting/cable_hardened_2" }); event.remove({id: 'powah:crafting/cable_hardened_2'});
event.remove({ id: "powah:crafting/cable_niotic" }); event.remove({id: 'powah:crafting/cable_niotic'});
event.remove({ id: "powah:crafting/cable_niotic_2" }); event.remove({id: 'powah:crafting/cable_niotic_2'});
event.remove({ id: "powah:crafting/cable_nitro" }); event.remove({id: 'powah:crafting/cable_nitro'});
event.remove({ id: "powah:crafting/cable_nitro_2" }); event.remove({id: 'powah:crafting/cable_nitro_2'});
event.remove({ id: "powah:crafting/cable_spirited" }); event.remove({id: 'powah:crafting/cable_spirited'});
event.remove({ id: "powah:crafting/cable_spirited_2" }); event.remove({id: 'powah:crafting/cable_spirited_2'});
event.remove({ id: "powah:crafting/cable_starter" }); event.remove({id: 'powah:crafting/cable_starter'});
event.remove({ id: "powah:crafting/dielectric_paste_2" }); event.remove({id: 'powah:crafting/dielectric_paste_2'});
event.remove({ id: "powah:crafting/dielectric_rod_h" }); event.remove({id: 'powah:crafting/dielectric_rod_h'});
event.remove({ id: "powah:crafting/ender_cell_starter" }); event.remove({id: 'powah:crafting/ender_cell_starter'});
event.remove({ id: "powah:crafting/ender_gate_basic" }); event.remove({id: 'powah:crafting/ender_gate_basic'});
event.remove({ id: "powah:crafting/ender_gate_blazing" }); event.remove({id: 'powah:crafting/ender_gate_blazing'});
event.remove({ id: "powah:crafting/ender_gate_hardened" }); event.remove({id: 'powah:crafting/ender_gate_hardened'});
event.remove({ id: "powah:crafting/ender_gate_niotic" }); event.remove({id: 'powah:crafting/ender_gate_niotic'});
event.remove({ id: "powah:crafting/ender_gate_nitro" }); event.remove({id: 'powah:crafting/ender_gate_nitro'});
event.remove({ id: "powah:crafting/ender_gate_spirited" }); event.remove({id: 'powah:crafting/ender_gate_spirited'});
event.remove({ id: "powah:crafting/ender_gate_starter" }); event.remove({id: 'powah:crafting/ender_gate_starter'});
event.remove({ id: "powah:crafting/magmator_basic" }); event.remove({id: 'powah:crafting/magmator_basic'});
event.remove({ id: "powah:crafting/magmator_blazing" }); event.remove({id: 'powah:crafting/magmator_blazing'});
event.remove({ id: "powah:crafting/magmator_hardened" }); event.remove({id: 'powah:crafting/magmator_hardened'});
event.remove({ id: "powah:crafting/magmator_niotic" }); event.remove({id: 'powah:crafting/magmator_niotic'});
event.remove({ id: "powah:crafting/magmator_nitro" }); event.remove({id: 'powah:crafting/magmator_nitro'});
event.remove({ id: "powah:crafting/magmator_spirited" }); event.remove({id: 'powah:crafting/magmator_spirited'});
event.remove({ id: "powah:crafting/magmator_starter" }); event.remove({id: 'powah:crafting/magmator_starter'});
event.remove({ id: "powah:crafting/reactor_starter" }); event.remove({id: 'powah:crafting/reactor_starter'});
event.remove({ id: "powah:crafting/solar_panel_basic" }); event.remove({id: 'powah:crafting/solar_panel_basic'});
event.remove({ id: "powah:crafting/solar_panel_blazing" }); event.remove({id: 'powah:crafting/solar_panel_blazing'});
event.remove({ id: "powah:crafting/solar_panel_hardened" }); event.remove({id: 'powah:crafting/solar_panel_hardened'});
event.remove({ id: "powah:crafting/solar_panel_niotic" }); event.remove({id: 'powah:crafting/solar_panel_niotic'});
event.remove({ id: "powah:crafting/solar_panel_nitro" }); event.remove({id: 'powah:crafting/solar_panel_nitro'});
event.remove({ id: "powah:crafting/solar_panel_spirited" }); event.remove({id: 'powah:crafting/solar_panel_spirited'});
event.remove({ id: "powah:crafting/solar_panel_starter" }); event.remove({id: 'powah:crafting/solar_panel_starter'});
event.remove({ id: "powah:crafting/thermo_generator_basic" }); event.remove({id: 'powah:crafting/thermo_generator_basic'});
event.remove({ id: "powah:crafting/thermo_generator_blazing" }); event.remove({id: 'powah:crafting/thermo_generator_blazing'});
event.remove({ id: "powah:crafting/thermo_generator_hardened" }); event.remove({id: 'powah:crafting/thermo_generator_hardened'});
event.remove({ id: "powah:crafting/thermo_generator_niotic" }); event.remove({id: 'powah:crafting/thermo_generator_niotic'});
event.remove({ id: "powah:crafting/thermo_generator_nitro" }); event.remove({id: 'powah:crafting/thermo_generator_nitro'});
event.remove({ id: "powah:crafting/thermo_generator_spirited" }); event.remove({id: 'powah:crafting/thermo_generator_spirited'});
event.remove({ id: "powah:crafting/thermo_generator_starter" }); event.remove({id: 'powah:crafting/thermo_generator_starter'});
event.remove({ id: "powah:crafting/dielectric_paste" }); event.remove({id: 'powah:crafting/dielectric_paste'});
event.remove({ id: "powah:crafting/dielectric_rod" }); event.remove({id: 'powah:crafting/dielectric_rod'});
event.remove({ output: "powah:ender_core" }); event.remove({output: 'powah:ender_core'});
event.custom({ event.custom({
type: "natural-progression:damage_tools", type: 'natural-progression:damage_tools',
ingredients: [ ingredients: [
{ {
tag: "forge:silicon", tag: 'forge:silicon',
}, },
{ {
tag: "forge:dusts/coal", tag: 'forge:dusts/coal',
}, },
{ {
tag: "forge:dusts/coal", tag: 'forge:dusts/coal',
}, },
{ {
tag: "forge:dusts/coal", tag: 'forge:dusts/coal',
}, },
{ {
item: "create:super_glue", item: 'create:super_glue',
}, },
{ {
tag: "appliedenergistics2:knife", tag: 'appliedenergistics2:knife',
}, },
], ],
result: { result: {
item: "powah:dielectric_paste", item: 'powah:dielectric_paste',
count: 8, count: 8,
}, },
}); });
event.shaped("64x powah:dielectric_rod", ["PSP", "PSP", "PSP"], { event.shaped('64x powah:dielectric_rod', ['PSP', 'PSP', 'PSP'], {
P: "powah:dielectric_paste", P: 'powah:dielectric_paste',
S: "#forge:ingots/steel", S: '#forge:ingots/steel',
}); });
}); });
onEvent("entity.drops", (event) => { onEvent('entity.drops', event => {
const entity = event.getEntity(); const entity = event.getEntity();
if (entity.getType() !== "minecraft:enderman") { if (entity.getType() !== 'minecraft:enderman') {
return; return;
} }
const comp = entity.minecraftEntity.getPersistentData(); const comp = entity.minecraftEntity.getPersistentData();
const isChallengerMob = comp.func_74764_b("challenger_mob_data"); // contains() const isChallengerMob = comp.func_74764_b('challenger_mob_data'); // contains()
if (isChallengerMob) { if (isChallengerMob) {
event.getDrops().clear(); event.getDrops().clear();
event.addDrop(Item.of("1x powah:ender_core")); event.addDrop(Item.of('1x powah:ender_core'));
} }
}); });

View file

@ -1,65 +1,65 @@
/* Handles turning cinnabar into redstone in the many ways */ /* Handles turning cinnabar into redstone in the many ways */
const ieCrusher = (event) => { const ieCrusher = event => {
event.custom({ event.custom({
type: "immersiveengineering:crusher", type: 'immersiveengineering:crusher',
secondaries: [ secondaries: [
{ {
chance: 0.6, chance: 0.6,
output: { output: {
item: "minecraft:redstone", item: 'minecraft:redstone',
}, },
}, },
], ],
result: { result: {
count: 4, count: 4,
base_ingredient: { base_ingredient: {
item: "minecraft:redstone", item: 'minecraft:redstone',
}, },
}, },
input: { input: {
tag: "forge:gems/cinnabar", tag: 'forge:gems/cinnabar',
}, },
energy: 9000, energy: 9000,
}); });
event.custom({ event.custom({
type: "immersiveengineering:crusher", type: 'immersiveengineering:crusher',
secondaries: [ secondaries: [
{ {
chance: 0.6, chance: 0.6,
output: { output: {
item: "minecraft:redstone", item: 'minecraft:redstone',
}, },
}, },
], ],
result: { result: {
count: 6, count: 6,
base_ingredient: { base_ingredient: {
item: "minecraft:redstone", item: 'minecraft:redstone',
}, },
}, },
input: { input: {
tag: "forge:ores/cinnabar", tag: 'forge:ores/cinnabar',
}, },
energy: 12000, energy: 12000,
}); });
}; };
const mill = (event) => { const mill = event => {
event.custom({ event.custom({
type: "create:milling", type: 'create:milling',
ingredients: [ ingredients: [
{ {
tag: "forge:gems/cinnabar", tag: 'forge:gems/cinnabar',
}, },
], ],
results: [ results: [
{ {
item: "minecraft:redstone", item: 'minecraft:redstone',
count: 1, count: 1,
}, },
{ {
item: "minecraft:redstone", item: 'minecraft:redstone',
count: 1, count: 1,
chance: 0.5, chance: 0.5,
}, },
@ -68,30 +68,30 @@ const mill = (event) => {
conditions: [ conditions: [
{ {
value: { value: {
tag: "forge:gems/cinnabar", tag: 'forge:gems/cinnabar',
type: "forge:tag_empty", type: 'forge:tag_empty',
}, },
type: "forge:not", type: 'forge:not',
}, },
], ],
}); });
}; };
const crushingWheel = (event) => { const crushingWheel = event => {
event.custom({ event.custom({
type: "create:crushing", type: 'create:crushing',
ingredients: [ ingredients: [
{ {
tag: "forge:ores/cinnabar", tag: 'forge:ores/cinnabar',
}, },
], ],
results: [ results: [
{ {
item: "minecraft:redstone", item: 'minecraft:redstone',
count: 8, count: 8,
}, },
{ {
item: "minecraft:cobblestone", item: 'minecraft:cobblestone',
chance: 0.3, chance: 0.3,
}, },
], ],
@ -99,28 +99,28 @@ const crushingWheel = (event) => {
conditions: [ conditions: [
{ {
value: { value: {
tag: "forge:ores/cinnabar", tag: 'forge:ores/cinnabar',
type: "forge:tag_empty", type: 'forge:tag_empty',
}, },
type: "forge:not", type: 'forge:not',
}, },
], ],
}); });
event.custom({ event.custom({
type: "create:crushing", type: 'create:crushing',
ingredients: [ ingredients: [
{ {
tag: "forge:gems/cinnabar", tag: 'forge:gems/cinnabar',
}, },
], ],
results: [ results: [
{ {
item: "minecraft:redstone", item: 'minecraft:redstone',
count: 5, count: 5,
}, },
{ {
item: "minecraft:redstone", item: 'minecraft:redstone',
count: 1, count: 1,
chance: 0.3, chance: 0.3,
}, },
@ -129,68 +129,68 @@ const crushingWheel = (event) => {
conditions: [ conditions: [
{ {
value: { value: {
tag: "forge:gems/cinnabar", tag: 'forge:gems/cinnabar',
type: "forge:tag_empty", type: 'forge:tag_empty',
}, },
type: "forge:not", type: 'forge:not',
}, },
], ],
}); });
}; };
const enrichmentChamber = (event) => { const enrichmentChamber = event => {
event.custom({ event.custom({
type: "mekanism:enriching", type: 'mekanism:enriching',
input: { input: {
ingredient: { ingredient: {
tag: "forge:gems/cinnabar", tag: 'forge:gems/cinnabar',
}, },
}, },
output: { output: {
item: "minecraft:redstone", item: 'minecraft:redstone',
count: 7, count: 7,
}, },
}); });
}; };
const purifier = (event) => { const purifier = event => {
event.custom({ event.custom({
type: "mekanism:purifying", type: 'mekanism:purifying',
itemInput: { itemInput: {
ingredient: { ingredient: {
tag: "forge:gems/cinnabar", tag: 'forge:gems/cinnabar',
}, },
}, },
gasInput: { gasInput: {
amount: 1, amount: 1,
gas: "mekanism:oxygen", gas: 'mekanism:oxygen',
}, },
output: { output: {
item: "minecraft:redstone", item: 'minecraft:redstone',
count: 11, count: 11,
}, },
}); });
}; };
const pulverizer = (event) => { const pulverizer = event => {
event.remove({ id: "thermal:machine/pulverizer/pulverizer_cinnabar" }); event.remove({id: 'thermal:machine/pulverizer/pulverizer_cinnabar'});
event.custom({ event.custom({
type: "thermal:pulverizer", type: 'thermal:pulverizer',
ingredient: { ingredient: {
tag: "forge:ores/cinnabar", tag: 'forge:ores/cinnabar',
}, },
result: [ result: [
{ {
item: "minecraft:redstone", item: 'minecraft:redstone',
count: 8, count: 8,
}, },
{ {
item: "minecraft:redstone", item: 'minecraft:redstone',
count: 3, count: 3,
chance: 0.85, chance: 0.85,
}, },
{ {
item: "minecraft:gravel", item: 'minecraft:gravel',
chance: 0.2, chance: 0.2,
}, },
], ],
@ -198,17 +198,17 @@ const pulverizer = (event) => {
}); });
event.custom({ event.custom({
type: "thermal:pulverizer", type: 'thermal:pulverizer',
ingredient: { ingredient: {
tag: "forge:gems/cinnabar", tag: 'forge:gems/cinnabar',
}, },
result: [ result: [
{ {
item: "minecraft:redstone", item: 'minecraft:redstone',
count: 6, count: 6,
}, },
{ {
item: "minecraft:redstone", item: 'minecraft:redstone',
count: 2, count: 2,
chance: 0.65, chance: 0.65,
}, },
@ -217,7 +217,7 @@ const pulverizer = (event) => {
}); });
}; };
onEvent("recipes", (event) => { onEvent('recipes', event => {
crushingWheel(event); crushingWheel(event);
enrichmentChamber(event); enrichmentChamber(event);
ieCrusher(event); ieCrusher(event);

View file

@ -1,13 +1,13 @@
onEvent("recipes", (event) => { onEvent('recipes', event => {
event.remove({ id: "minecraft:wooden_axe" }); event.remove({id: 'minecraft:wooden_axe'});
event.remove({ id: "minecraft:wooden_hoe" }); event.remove({id: 'minecraft:wooden_hoe'});
event.remove({ id: "minecraft:wooden_pickaxe" }); event.remove({id: 'minecraft:wooden_pickaxe'});
event.remove({ id: "minecraft:wooden_shovel" }); event.remove({id: 'minecraft:wooden_shovel'});
event.remove({ id: "minecraft:wooden_sword" }); event.remove({id: 'minecraft:wooden_sword'});
event.remove({ id: "minecraft:stonecutter" }); event.remove({id: 'minecraft:stonecutter'});
event.shaped("1x minecraft:stonecutter", [" B ", "SSS"], { event.shaped('1x minecraft:stonecutter', [' B ', 'SSS'], {
B: "immersiveengineering:rockcutter", B: 'immersiveengineering:rockcutter',
S: "#forge:stone", S: '#forge:stone',
}); });
}); });

View file

@ -1,12 +1,12 @@
onEvent("recipes", (event) => { onEvent('recipes', event => {
event.remove({ event.remove({
output: "emendatusenigmatica:enigmatic_fortunizer", output: 'emendatusenigmatica:enigmatic_fortunizer',
}); });
// Removes all enigmatic hammer recipes even though the hammer itself can't be crafted // Removes all enigmatic hammer recipes even though the hammer itself can't be crafted
event.remove({ event.remove({
output: "#forge:plates", output: '#forge:plates',
type: "minecraft:crafting_shapeless", type: 'minecraft:crafting_shapeless',
}); });
// event.remove({ // event.remove({
@ -16,15 +16,15 @@ onEvent("recipes", (event) => {
// Removes all smelting recipes with input <ore> and output <ingot> // Removes all smelting recipes with input <ore> and output <ingot>
event.remove({ event.remove({
input: "#forge:ores", input: '#forge:ores',
output: "#forge:ingots", output: '#forge:ingots',
type: "minecraft:smelting", type: 'minecraft:smelting',
}); });
// Removes all blasting recipes with input <ore> and output <ingot> // Removes all blasting recipes with input <ore> and output <ingot>
event.remove({ event.remove({
input: "#forge:ores", input: '#forge:ores',
output: "#forge:ingots", output: '#forge:ingots',
type: "minecraft:blasting", type: 'minecraft:blasting',
}); });
}); });

View file

@ -1,32 +1,50 @@
onEvent("recipes", (event) => { onEvent('recipes', event => {
const core = "projectred-core"; const core = 'projectred-core';
event.remove({ output: `${core}:boule` }); event.remove({output: `${core}:boule`});
event.remove({ output: `${core}:copper_coil` }); event.remove({output: `${core}:copper_coil`});
event.remove({ output: `${core}:draw_plate` }); event.remove({output: `${core}:draw_plate`});
event.remove({ output: `${core}:electrotine_ingot` }); event.remove({output: `${core}:electrotine_ingot`});
event.remove({ output: `${core}:electrotine_iron_comp` }); event.remove({output: `${core}:electrotine_iron_comp`});
event.remove({ output: `${core}:electrotine_silicon_comp` }); event.remove({output: `${core}:electrotine_silicon_comp`});
event.remove({ output: `${core}:electrotine_silicon` }); event.remove({output: `${core}:electrotine_silicon`});
event.remove({ output: `${core}:energized_silicon` }); event.remove({output: `${core}:energized_silicon`});
event.remove({ output: `${core}:glow_silicon_comp` }); event.remove({output: `${core}:glow_silicon_comp`});
event.remove({ output: `${core}:gold_coil` }); event.remove({output: `${core}:gold_coil`});
event.remove({ output: `${core}:infused_silicon` }); event.remove({output: `${core}:infused_silicon`});
event.remove({ output: `${core}:iron_coil` }); event.remove({output: `${core}:iron_coil`});
event.remove({ output: `${core}:motor` }); event.remove({output: `${core}:motor`});
event.remove({ output: `${core}:null_routing_chip` }); event.remove({output: `${core}:null_routing_chip`});
event.remove({ output: `${core}:peridot` }); event.remove({output: `${core}:peridot`});
event.remove({ output: `${core}:red_ingot` }); event.remove({output: `${core}:red_ingot`});
event.remove({ output: `${core}:red_iron_comp` }); event.remove({output: `${core}:red_iron_comp`});
event.remove({ output: `${core}:red_silicon_comp` }); event.remove({output: `${core}:red_silicon_comp`});
event.remove({ output: `${core}:ruby` }); event.remove({output: `${core}:ruby`});
event.remove({ output: `${core}:sail` }); event.remove({output: `${core}:sail`});
event.remove({ output: `${core}:sand_coal_comp` }); event.remove({output: `${core}:sand_coal_comp`});
event.remove({ output: `${core}:sapphire` }); event.remove({output: `${core}:sapphire`});
event.remove({ output: `${core}:silicon` }); event.remove({output: `${core}:silicon`});
event.remove({ output: `${core}:woven_cloth` }); event.remove({output: `${core}:woven_cloth`});
global.genAlloyingRecipe(event, { item: "minecraft:iron_ingot" }, { item: "minecraft:redstone" }, `${core}:red_ingot`, 1); global.genAlloyingRecipe(
global.genAlloyingRecipe(event, { tag: "forge:silicon" }, { item: "minecraft:redstone" }, `${core}:infused_silicon`, 1); event,
global.genAlloyingRecipe(event, { tag: "forge:silicon" }, { item: "minecraft:glowstone_dust" }, `${core}:energized_silicon`, 1); {item: 'minecraft:iron_ingot'},
{item: 'minecraft:redstone'},
`${core}:red_ingot`,
1
);
global.genAlloyingRecipe(
event,
{tag: 'forge:silicon'},
{item: 'minecraft:redstone'},
`${core}:infused_silicon`,
1
);
global.genAlloyingRecipe(
event,
{tag: 'forge:silicon'},
{item: 'minecraft:glowstone_dust'},
`${core}:energized_silicon`,
1
);
}); });

View file

@ -1,37 +1,57 @@
onEvent("recipes", (event) => { onEvent('recipes', event => {
event.remove({ mod: "quantumquarryplus" }); event.remove({mod: 'quantumquarryplus'});
global.genLargeRecipe( global.genLargeRecipe(
event, event,
["GGGGGGG", "DDDDDDD", "DDDDDDD", "SSSESSS", "SSSSSSS", "SSSSSSS", "SSSSSSS"], ['GGGGGGG', 'DDDDDDD', 'DDDDDDD', 'SSSESSS', 'SSSSSSS', 'SSSSSSS', 'SSSSSSS'],
{ {
G: { item: "minecraft:grass_block" }, G: {item: 'minecraft:grass_block'},
D: { item: "minecraft:dirt" }, D: {item: 'minecraft:dirt'},
S: { item: "minecraft:stone" }, S: {item: 'minecraft:stone'},
E: { item: "kubejs:ender_singularity" }, E: {item: 'kubejs:ender_singularity'},
}, },
{ {
item: "quantumquarryplus:earth_orb", item: 'quantumquarryplus:earth_orb',
} }
); );
global.genLargeRecipe( global.genLargeRecipe(
event, event,
["EEWWWWWEE", "EKK KKE", "WK NCN KW", "W NSSSN W", "W CSISC W", "W NSSSN W", "WK NCN KW", "EKK KKE", "EEWWWWWEE"], [
'EEWWWWWEE',
'EKK KKE',
'WK NCN KW',
'W NSSSN W',
'W CSISC W',
'W NSSSN W',
'WK NCN KW',
'EKK KKE',
'EEWWWWWEE',
],
{ {
E: { tag: "forge:storage_blocks/enderium" }, E: {tag: 'forge:storage_blocks/enderium'},
S: { item: "kubejs:ender_singularity" }, S: {item: 'kubejs:ender_singularity'},
W: { item: "wormhole:portal_frame" }, W: {item: 'wormhole:portal_frame'},
C: { item: "chickenchunks:spot_loader" }, C: {item: 'chickenchunks:spot_loader'},
K: { item: "moreminecarts:chunkrodite" }, K: {item: 'moreminecarts:chunkrodite'},
I: { item: "mekanism:digital_miner" }, I: {item: 'mekanism:digital_miner'},
N: { item: "minecraft:nether_star" }, N: {item: 'minecraft:nether_star'},
}, },
{ {
item: "quantumquarryplus:quantum_quarry_plus", item: 'quantumquarryplus:quantum_quarry_plus',
} }
); );
global.genCombinedRecipe(event, Ingredient.of("thermal:item_filter_augment"), Ingredient.of("kubejs:ender_singularity"), Item.of("quantumquarryplus:filter_upgrade")); global.genCombinedRecipe(
global.genCombinedRecipe(event, Ingredient.of("thermal:fluid_tank_augment"), Ingredient.of("rangedpumps:pump"), Item.of("quantumquarryplus:pump_upgrade")); event,
Ingredient.of('thermal:item_filter_augment'),
Ingredient.of('kubejs:ender_singularity'),
Item.of('quantumquarryplus:filter_upgrade')
);
global.genCombinedRecipe(
event,
Ingredient.of('thermal:fluid_tank_augment'),
Ingredient.of('rangedpumps:pump'),
Item.of('quantumquarryplus:pump_upgrade')
);
}); });

View file

@ -1,38 +1,38 @@
onEvent("recipes", (event) => { onEvent('recipes', event => {
event.remove({ output: "rangedpumps:pump" }); event.remove({output: 'rangedpumps:pump'});
event.custom({ event.custom({
type: "natural-progression:damage_tools", type: 'natural-progression:damage_tools',
ingredients: [ ingredients: [
{ {
item: "immersiveengineering:hammer", item: 'immersiveengineering:hammer',
}, },
{ {
tag: "forge:shears", tag: 'forge:shears',
}, },
{ {
item: "chickenchunks:spot_loader", item: 'chickenchunks:spot_loader',
}, },
{ {
item: "thermal:hazmat_fabric", item: 'thermal:hazmat_fabric',
}, },
{ {
item: "thermal:hazmat_fabric", item: 'thermal:hazmat_fabric',
}, },
{ {
item: "thermal:hazmat_fabric", item: 'thermal:hazmat_fabric',
}, },
{ {
item: "create:mechanical_pump", item: 'create:mechanical_pump',
}, },
{ {
item: "create:fluid_pipe", item: 'create:fluid_pipe',
}, },
{ {
item: "create:fluid_pipe", item: 'create:fluid_pipe',
}, },
], ],
result: { result: {
item: "rangedpumps:pump", item: 'rangedpumps:pump',
}, },
}); });
}); });

View file

@ -1,73 +1,103 @@
onEvent("recipes", (event) => { onEvent('recipes', event => {
event.remove({ mod: "refinedstorage" }); event.remove({mod: 'refinedstorage'});
event.remove({ mod: "cabletiers" }); event.remove({mod: 'cabletiers'});
event.remove({ mod: "rsinfinitybooster" }); event.remove({mod: 'rsinfinitybooster'});
event.remove({ mod: "rsrequestify" }); event.remove({mod: 'rsrequestify'});
const mappings = [ const mappings = [
{ key: "#refinedstorage:controller", value: "appliedenergistics2:controller" }, {key: '#refinedstorage:controller', value: 'appliedenergistics2:controller'},
{ key: "#refinedstorage:security_manager", value: "appliedenergistics2:security_station" }, {key: '#refinedstorage:security_manager', value: 'appliedenergistics2:security_station'},
{ key: "#refinedstorage:disk_manipulator", value: "appliedenergistics2:cell_workbench" }, {key: '#refinedstorage:disk_manipulator', value: 'appliedenergistics2:cell_workbench'},
{ key: "#refinedstorage:crafter", value: "appliedenergistics2:molecular_assembler" }, {key: '#refinedstorage:crafter', value: 'appliedenergistics2:molecular_assembler'},
{ key: "#refinedstorage:wireless_transmitter", value: "appliedenergistics2:wireless_access_point" }, {
{ key: "#refinedstorage:detector", value: "appliedenergistics2:level_emitter" }, key: '#refinedstorage:wireless_transmitter',
{ key: "#refinedstorage:crafter_manager", value: "appliedenergistics2:interface_terminal" }, value: 'appliedenergistics2:wireless_access_point',
{ key: "#refinedstorage:fluid_grid", value: "appliedenergistics2:fluid_terminal" }, },
{ key: "#refinedstorage:crafting_grid", value: "appliedenergistics2:crafting_terminal" }, {key: '#refinedstorage:detector', value: 'appliedenergistics2:level_emitter'},
{ key: "#refinedstorage:grid", value: "appliedenergistics2:terminal" }, {key: '#refinedstorage:crafter_manager', value: 'appliedenergistics2:interface_terminal'},
{ key: "#refinedstorage:pattern_grid", value: "appliedenergistics2:pattern_terminal" }, {key: '#refinedstorage:fluid_grid', value: 'appliedenergistics2:fluid_terminal'},
{ key: "#refinedstorage:network_receiver", value: "8x appliedenergistics2:quantum_ring" }, {key: '#refinedstorage:crafting_grid', value: 'appliedenergistics2:crafting_terminal'},
{ key: "#refinedstorage:network_transmitter", value: "8x appliedenergistics2:quantum_ring" }, {key: '#refinedstorage:grid', value: 'appliedenergistics2:terminal'},
{ key: "refinedstorage:disk_drive", value: "appliedenergistics2:drive" }, {key: '#refinedstorage:pattern_grid', value: 'appliedenergistics2:pattern_terminal'},
{ key: "refinedstorage:cable", value: "appliedenergistics2:fluix_glass_cable" }, {key: '#refinedstorage:network_receiver', value: '8x appliedenergistics2:quantum_ring'},
{ key: "refinedstorage:portable_grid", value: "appliedenergistics2:wireless_terminal" }, {key: '#refinedstorage:network_transmitter', value: '8x appliedenergistics2:quantum_ring'},
{ key: "rsinfinitybooster:infinity_card", value: "aeinfinitybooster:infinity_card" }, {key: 'refinedstorage:disk_drive', value: 'appliedenergistics2:drive'},
{ key: "rsinfinitybooster:dimension_card", value: "aeinfinitybooster:dimension_card" }, {key: 'refinedstorage:cable', value: 'appliedenergistics2:fluix_glass_cable'},
{ key: "refinedstorageaddons:wireless_crafting_grid", value: "ae2wtlib:wireless_crafting_terminal" }, {key: 'refinedstorage:portable_grid', value: 'appliedenergistics2:wireless_terminal'},
{ key: "refinedstorage:destructor", value: "appliedenergistics2:annihilation_plane" }, {key: 'rsinfinitybooster:infinity_card', value: 'aeinfinitybooster:infinity_card'},
{ key: "refinedstorage:constructor", value: "appliedenergistics2:formation_plane" }, {key: 'rsinfinitybooster:dimension_card', value: 'aeinfinitybooster:dimension_card'},
{ key: "refinedstorage:importer", value: "appliedenergistics2:import_bus" }, {
{ key: "refinedstorage:exporter", value: "appliedenergistics2:export_bus" }, key: 'refinedstorageaddons:wireless_crafting_grid',
{ key: "refinedstorage:external_storage", value: "appliedenergistics2:storage_bus" }, value: 'ae2wtlib:wireless_crafting_terminal',
{ key: "refinedstorage:storage_housing", value: "appliedenergistics2:empty_storage_cell" }, },
{ key: "refinedstorage:pattern", value: "appliedenergistics2:blank_pattern" }, {key: 'refinedstorage:destructor', value: 'appliedenergistics2:annihilation_plane'},
{ key: "refinedstorage:1k_storage_part", value: "appliedenergistics2:1k_cell_component" }, {key: 'refinedstorage:constructor', value: 'appliedenergistics2:formation_plane'},
{ key: "refinedstorage:4k_storage_part", value: "appliedenergistics2:4k_cell_component" }, {key: 'refinedstorage:importer', value: 'appliedenergistics2:import_bus'},
{ key: "refinedstorage:16k_storage_part", value: "appliedenergistics2:16k_cell_component" }, {key: 'refinedstorage:exporter', value: 'appliedenergistics2:export_bus'},
{ key: "refinedstorage:64k_storage_part", value: "appliedenergistics2:64k_cell_component" }, {key: 'refinedstorage:external_storage', value: 'appliedenergistics2:storage_bus'},
{ key: "refinedstorage:1k_storage_block", value: "appliedenergistics2:1k_cell_component" }, {key: 'refinedstorage:storage_housing', value: 'appliedenergistics2:empty_storage_cell'},
{ key: "refinedstorage:4k_storage_block", value: "appliedenergistics2:4k_cell_component" }, {key: 'refinedstorage:pattern', value: 'appliedenergistics2:blank_pattern'},
{ key: "refinedstorage:16k_storage_block", value: "appliedenergistics2:16k_cell_component" }, {key: 'refinedstorage:1k_storage_part', value: 'appliedenergistics2:1k_cell_component'},
{ key: "refinedstorage:64k_storage_block", value: "appliedenergistics2:64k_cell_component" }, {key: 'refinedstorage:4k_storage_part', value: 'appliedenergistics2:4k_cell_component'},
{ key: "refinedstorage:64k_fluid_storage_part", value: "appliedenergistics2:1k_fluid_cell_component" }, {key: 'refinedstorage:16k_storage_part', value: 'appliedenergistics2:16k_cell_component'},
{ key: "refinedstorage:256k_fluid_storage_part", value: "appliedenergistics2:4k_fluid_cell_component" }, {key: 'refinedstorage:64k_storage_part', value: 'appliedenergistics2:64k_cell_component'},
{ key: "refinedstorage:1024k_fluid_storage_part", value: "appliedenergistics2:16k_fluid_cell_component" }, {key: 'refinedstorage:1k_storage_block', value: 'appliedenergistics2:1k_cell_component'},
{ key: "refinedstorage:4096k_fluid_storage_part", value: "appliedenergistics2:64k_fluid_cell_component" }, {key: 'refinedstorage:4k_storage_block', value: 'appliedenergistics2:4k_cell_component'},
{ key: "refinedstorage:64k_fluid_storage_block", value: "appliedenergistics2:1k_fluid_cell_component" }, {key: 'refinedstorage:16k_storage_block', value: 'appliedenergistics2:16k_cell_component'},
{ key: "refinedstorage:256k_fluid_storage_block", value: "appliedenergistics2:4k_fluid_cell_component" }, {key: 'refinedstorage:64k_storage_block', value: 'appliedenergistics2:64k_cell_component'},
{ key: "refinedstorage:1024k_fluid_storage_block", value: "appliedenergistics2:16k_fluid_cell_component" }, {
{ key: "refinedstorage:4096k_fluid_storage_block", value: "appliedenergistics2:64k_fluid_cell_component" }, key: 'refinedstorage:64k_fluid_storage_part',
{ key: "refinedstorage:speed_upgrade", value: "appliedenergistics2:speed_card" }, value: 'appliedenergistics2:1k_fluid_cell_component',
{ key: "refinedstorage:stack_upgrade", value: "4x appliedenergistics2:speed_card" }, },
{
key: 'refinedstorage:256k_fluid_storage_part',
value: 'appliedenergistics2:4k_fluid_cell_component',
},
{
key: 'refinedstorage:1024k_fluid_storage_part',
value: 'appliedenergistics2:16k_fluid_cell_component',
},
{
key: 'refinedstorage:4096k_fluid_storage_part',
value: 'appliedenergistics2:64k_fluid_cell_component',
},
{
key: 'refinedstorage:64k_fluid_storage_block',
value: 'appliedenergistics2:1k_fluid_cell_component',
},
{
key: 'refinedstorage:256k_fluid_storage_block',
value: 'appliedenergistics2:4k_fluid_cell_component',
},
{
key: 'refinedstorage:1024k_fluid_storage_block',
value: 'appliedenergistics2:16k_fluid_cell_component',
},
{
key: 'refinedstorage:4096k_fluid_storage_block',
value: 'appliedenergistics2:64k_fluid_cell_component',
},
{key: 'refinedstorage:speed_upgrade', value: 'appliedenergistics2:speed_card'},
{key: 'refinedstorage:stack_upgrade', value: '4x appliedenergistics2:speed_card'},
{ key: "cabletiers:elite_importer", value: "2x appliedenergistics2:import_bus" }, {key: 'cabletiers:elite_importer', value: '2x appliedenergistics2:import_bus'},
{ key: "cabletiers:ultra_importer", value: "4x appliedenergistics2:import_bus" }, {key: 'cabletiers:ultra_importer', value: '4x appliedenergistics2:import_bus'},
{ key: "cabletiers:creative_importer", value: "8x appliedenergistics2:import_bus" }, {key: 'cabletiers:creative_importer', value: '8x appliedenergistics2:import_bus'},
{ key: "cabletiers:elite_exporter", value: "2x appliedenergistics2:export_bus" }, {key: 'cabletiers:elite_exporter', value: '2x appliedenergistics2:export_bus'},
{ key: "cabletiers:ultra_exporter", value: "4x appliedenergistics2:export_bus" }, {key: 'cabletiers:ultra_exporter', value: '4x appliedenergistics2:export_bus'},
{ key: "cabletiers:creative_exporter", value: "8x appliedenergistics2:export_bus" }, {key: 'cabletiers:creative_exporter', value: '8x appliedenergistics2:export_bus'},
{ key: "cabletiers:elite_destructor", value: "2x appliedenergistics2:annihilation_plane" }, {key: 'cabletiers:elite_destructor', value: '2x appliedenergistics2:annihilation_plane'},
{ key: "cabletiers:ultra_destructor", value: "4x appliedenergistics2:annihilation_plane" }, {key: 'cabletiers:ultra_destructor', value: '4x appliedenergistics2:annihilation_plane'},
{ key: "cabletiers:creative_destructor", value: "8x appliedenergistics2:annihilation_plane" }, {key: 'cabletiers:creative_destructor', value: '8x appliedenergistics2:annihilation_plane'},
{ key: "cabletiers:elite_constructor", value: "2x appliedenergistics2:formation_plane" }, {key: 'cabletiers:elite_constructor', value: '2x appliedenergistics2:formation_plane'},
{ key: "cabletiers:ultra_constructor", value: "4x appliedenergistics2:formation_plane" }, {key: 'cabletiers:ultra_constructor', value: '4x appliedenergistics2:formation_plane'},
{ key: "cabletiers:creative_constructor", value: "8x appliedenergistics2:formation_plane" }, {key: 'cabletiers:creative_constructor', value: '8x appliedenergistics2:formation_plane'},
{ key: "cabletiers:elite_disk_manipulator", value: "2x appliedenergistics2:cell_workbench" }, {key: 'cabletiers:elite_disk_manipulator', value: '2x appliedenergistics2:cell_workbench'},
{ key: "cabletiers:ultra_disk_manipulator", value: "4x appliedenergistics2:cell_workbench" }, {key: 'cabletiers:ultra_disk_manipulator', value: '4x appliedenergistics2:cell_workbench'},
{ key: "cabletiers:creative_disk_manipulator", value: "8x appliedenergistics2:cell_workbench" }, {key: 'cabletiers:creative_disk_manipulator', value: '8x appliedenergistics2:cell_workbench'},
]; ];
mappings.forEach((mapping) => { mappings.forEach(mapping => {
event.shapeless(mapping.value, [mapping.key]); event.shapeless(mapping.value, [mapping.key]);
}); });
}); });

View file

@ -1,12 +1,12 @@
onEvent("recipes", (event) => { onEvent('recipes', event => {
event.remove({ output: "rftoolsbase:dimensionalshard" }); event.remove({output: 'rftoolsbase:dimensionalshard'});
event.remove({ output: "rftoolsbase:machine_infuser" }); event.remove({output: 'rftoolsbase:machine_infuser'});
event.remove({ output: "rftoolsbase:machine_frame" }); event.remove({output: 'rftoolsbase:machine_frame'});
event.remove({ output: "rftoolsbase:infused_diamond" }); event.remove({output: 'rftoolsbase:infused_diamond'});
event.remove({ output: "rftoolsbase:infused_enderpearl" }); event.remove({output: 'rftoolsbase:infused_enderpearl'});
event.shaped("1x rftoolsbase:machine_frame", [" G ", "GFG", " G "], { event.shaped('1x rftoolsbase:machine_frame', [' G ', 'GFG', ' G '], {
G: "#forge:gears/lapis", G: '#forge:gears/lapis',
F: "thermal:machine_frame", F: 'thermal:machine_frame',
}); });
}); });

View file

@ -1,71 +1,74 @@
onEvent("recipes", (event) => { onEvent('recipes', event => {
event.remove({ id: "redstone_arsenal:materials/flux_gem" }); event.remove({id: 'redstone_arsenal:materials/flux_gem'});
event.remove({ id: "redstone_arsenal:materials/flux_dust" }); event.remove({id: 'redstone_arsenal:materials/flux_dust'});
event.remove({ id: "redstone_arsenal:materials/flux_gear" }); event.remove({id: 'redstone_arsenal:materials/flux_gear'});
event.remove({ id: "redstone_arsenal:materials/flux_ingot_fire_charge_from_dust" }); event.remove({id: 'redstone_arsenal:materials/flux_ingot_fire_charge_from_dust'});
event.remove({ id: "redstone_arsenal:materials/obsidian_rod" }); event.remove({id: 'redstone_arsenal:materials/obsidian_rod'});
event.remove({ id: "redstone_arsenal:flux_elytra" }); event.remove({id: 'redstone_arsenal:flux_elytra'});
event.shaped("redstone_arsenal:flux_elytra", ["PRP", "IEI", "P P"], { event.shaped('redstone_arsenal:flux_elytra', ['PRP', 'IEI', 'P P'], {
R: "redstone_arsenal:flux_obsidian_rod", R: 'redstone_arsenal:flux_obsidian_rod',
P: "redstone_arsenal:flux_plating", P: 'redstone_arsenal:flux_plating',
I: "redstone_arsenal:flux_ingot", I: 'redstone_arsenal:flux_ingot',
E: "#forge:elytra", E: '#forge:elytra',
}); });
[ [
{ input: { tag: "forge:ingots/electrum" }, output: "redstone_arsenal:flux_ingot" }, {input: {tag: 'forge:ingots/electrum'}, output: 'redstone_arsenal:flux_ingot'},
{ input: { tag: "forge:dusts/electrum" }, output: "redstone_arsenal:flux_dust" }, {input: {tag: 'forge:dusts/electrum'}, output: 'redstone_arsenal:flux_dust'},
{ input: { item: "minecraft:diamond" }, output: "redstone_arsenal:flux_gem" }, {input: {item: 'minecraft:diamond'}, output: 'redstone_arsenal:flux_gem'},
].forEach((x) => ].forEach(x =>
event.custom({ event.custom({
type: "thermal:bottler", type: 'thermal:bottler',
ingredient: [x.input, { fluid: "thermal:redstone", amount: 1000 }], ingredient: [x.input, {fluid: 'thermal:redstone', amount: 1000}],
result: [{ item: x.output }], result: [{item: x.output}],
}) })
); );
// Obsidian Rod using Rod Mold // Obsidian Rod using Rod Mold
event.custom({ event.custom({
type: "immersiveengineering:metal_press", type: 'immersiveengineering:metal_press',
mold: { item: "immersiveengineering:mold_rod" }, mold: {item: 'immersiveengineering:mold_rod'},
input: { base_ingredient: { tag: "forge:obsidian" } }, input: {base_ingredient: {tag: 'forge:obsidian'}},
result: { item: "redstone_arsenal:obsidian_rod" }, result: {item: 'redstone_arsenal:obsidian_rod'},
energy: 9600, energy: 9600,
}); });
event.custom({ event.custom({
type: "thermal:press", type: 'thermal:press',
ingredients: [{ tag: "forge:obsidian" }, { item: "immersiveengineering:mold_rod" }], ingredients: [{tag: 'forge:obsidian'}, {item: 'immersiveengineering:mold_rod'}],
result: [{ item: "redstone_arsenal:obsidian_rod" }], result: [{item: 'redstone_arsenal:obsidian_rod'}],
}); });
// Manual Gear Crafting // Manual Gear Crafting
event.custom({ event.custom({
type: "natural-progression:damage_tools", type: 'natural-progression:damage_tools',
ingredients: [ ingredients: [
{ item: "create:cogwheel" }, {item: 'create:cogwheel'},
{ item: "immersiveengineering:hammer" }, {item: 'immersiveengineering:hammer'},
{ item: "redstone_arsenal:flux_plating" }, {item: 'redstone_arsenal:flux_plating'},
{ item: "redstone_arsenal:flux_plating" }, {item: 'redstone_arsenal:flux_plating'},
{ item: "redstone_arsenal:flux_plating" }, {item: 'redstone_arsenal:flux_plating'},
{ item: "redstone_arsenal:flux_plating" }, {item: 'redstone_arsenal:flux_plating'},
], ],
result: { item: "redstone_arsenal:flux_gear" }, result: {item: 'redstone_arsenal:flux_gear'},
}); });
event.custom({ event.custom({
type: "thermal:press", type: 'thermal:press',
ingredients: [{ item: "redstone_arsenal:flux_ingot", count: 4 }, { item: "thermal:press_gear_die" }], ingredients: [
result: [{ item: "redstone_arsenal:flux_gear" }], {item: 'redstone_arsenal:flux_ingot', count: 4},
{item: 'thermal:press_gear_die'},
],
result: [{item: 'redstone_arsenal:flux_gear'}],
}); });
// IE Metal Press // IE Metal Press
event.custom({ event.custom({
type: "immersiveengineering:metal_press", type: 'immersiveengineering:metal_press',
mold: { item: "immersiveengineering:mold_gear" }, mold: {item: 'immersiveengineering:mold_gear'},
input: { base_ingredient: { item: "redstone_arsenal:flux_ingot" }, count: 4 }, input: {base_ingredient: {item: 'redstone_arsenal:flux_ingot'}, count: 4},
result: { item: "redstone_arsenal:flux_gear" }, result: {item: 'redstone_arsenal:flux_gear'},
energy: 4800, energy: 4800,
}); });
}); });

View file

@ -1,18 +1,18 @@
onEvent("recipes", (event) => { onEvent('recipes', event => {
event.remove({ output: "scannable:module_blank" }); event.remove({output: 'scannable:module_blank'});
event.remove({ output: "scannable:scanner" }); event.remove({output: 'scannable:scanner'});
event.shaped("1x scannable:module_blank", ["ggg", "scs", "sns"], { event.shaped('1x scannable:module_blank', ['ggg', 'scs', 'sns'], {
g: "immersiveengineering:insulating_glass", g: 'immersiveengineering:insulating_glass',
c: "projectred-integration:bus_transceiver_gate", c: 'projectred-integration:bus_transceiver_gate',
s: "#forge:silicon", s: '#forge:silicon',
n: "#forge:nuggets/gold", n: '#forge:nuggets/gold',
}); });
event.shaped("1x scannable:scanner", ["n n", "bsb", "ntn"], { event.shaped('1x scannable:scanner', ['n n', 'bsb', 'ntn'], {
n: "#forge:ingots/netherite", n: '#forge:ingots/netherite',
s: "rftoolsbase:information_screen", s: 'rftoolsbase:information_screen',
b: "minecraft:iron_bars", b: 'minecraft:iron_bars',
t: "mekanism:portable_teleporter", t: 'mekanism:portable_teleporter',
}); });
}); });

View file

@ -1,27 +1,35 @@
onEvent("recipes", (event) => { onEvent('recipes', event => {
const tiers = ["", "_tier_1", "_tier_2", "_tier_3"]; const tiers = ['', '_tier_1', '_tier_2', '_tier_3'];
const tierItems = ["", "minecraft:iron_ingot", "minecraft:gold_ingot", "minecraft:diamond"]; const tierItems = ['', 'minecraft:iron_ingot', 'minecraft:gold_ingot', 'minecraft:diamond'];
const storageTypes = ["chest", "barrel"]; const storageTypes = ['chest', 'barrel'];
const woodTypes = ["oak", "spruce", "birch", "acacia", "jungle", "dark_oak", "crimson", "warped"]; const woodTypes = ['oak', 'spruce', 'birch', 'acacia', 'jungle', 'dark_oak', 'crimson', 'warped'];
woodTypes.forEach((wood) => { woodTypes.forEach(wood => {
tiers.forEach((tier, idx) => { tiers.forEach((tier, idx) => {
if (idx < tiers.length - 1) { if (idx < tiers.length - 1) {
storageTypes.forEach((store) => { storageTypes.forEach(store => {
console.log(`storage_overhaul:${wood}_${store}${tier} + ${tierItems[idx + 1]} = storage_overhaul:${wood}_${store}${tiers[idx + 1]}`);
const left = Ingredient.of(`storage_overhaul:${wood}_${store}${tier}`); const left = Ingredient.of(`storage_overhaul:${wood}_${store}${tier}`);
const right = Ingredient.of(tierItems[idx + 1]); const right = Ingredient.of(tierItems[idx + 1]);
const out = Item.of(`storage_overhaul:${wood}_${store}${tiers[idx + 1]}`); const out = Item.of(`storage_overhaul:${wood}_${store}${tiers[idx + 1]}`);
global.genCombinedRecipe(event, left, right, out); global.genCombinedRecipe(event, left, right, out);
}); });
global.genCombinedRecipe(event, Ingredient.of("#forge:chests/wooden"), Ingredient.of("#forge:ingots/iron"), Item.of("storage_overhaul:oak_chest_tier_1")); global.genCombinedRecipe(
event,
Ingredient.of('#forge:chests/wooden'),
Ingredient.of('#forge:ingots/iron'),
Item.of('storage_overhaul:oak_chest_tier_1')
);
} }
}); });
}); });
global.minecraftColors.forEach((color) => { global.minecraftColors.forEach(color => {
global.genCombinedRecipe(event, Ingredient.of(`minecraft:${color}_shulker_box`), Ingredient.of("#forge:ingots/iron"), Item.of(`storage_overhaul:${color}_shulker_box`)); global.genCombinedRecipe(
event,
Ingredient.of(`minecraft:${color}_shulker_box`),
Ingredient.of('#forge:ingots/iron'),
Item.of(`storage_overhaul:${color}_shulker_box`)
);
}); });
}); });

View file

@ -1,4 +1,9 @@
onEvent("recipes", (event) => { onEvent('recipes', event => {
event.remove({ output: "storagedrawers:controller" }); event.remove({output: 'storagedrawers:controller'});
global.genCombinedRecipe(event, Ingredient.of("storagedrawers:controller_slave"), Ingredient.of("mekanism:ultimate_control_circuit"), Item.of("storagedrawers:controller")); global.genCombinedRecipe(
event,
Ingredient.of('storagedrawers:controller_slave'),
Ingredient.of('mekanism:ultimate_control_circuit'),
Item.of('storagedrawers:controller')
);
}); });

View file

@ -1,4 +1,4 @@
onEvent("recipes", (event) => { onEvent('recipes', event => {
event.remove({ output: "storagenetwork:crafting_remote" }); event.remove({output: 'storagenetwork:crafting_remote'});
event.remove({ output: "storagenetwork:inventory_remote" }); event.remove({output: 'storagenetwork:inventory_remote'});
}); });

View file

@ -1,128 +1,132 @@
onEvent("recipes", (event) => { onEvent('recipes', event => {
event.remove({ output: "tconstruct:smeltery_controller" }); event.remove({output: 'tconstruct:smeltery_controller'});
event.remove({ output: "tconstruct:seared_heater" }); event.remove({output: 'tconstruct:seared_heater'});
event.remove({ output: "tconstruct:seared_melter" }); event.remove({output: 'tconstruct:seared_melter'});
event.custom({ event.custom({
type: "natural-progression:damage_tools", type: 'natural-progression:damage_tools',
ingredients: [ ingredients: [
{ {
item: "immersiveengineering:hammer", item: 'immersiveengineering:hammer',
}, },
{ {
tag: "harmeng:diamond_tier_saws", tag: 'harmeng:diamond_tier_saws',
}, },
{ {
item: "tconstruct:seared_bricks", item: 'tconstruct:seared_bricks',
}, },
{ {
item: "tconstruct:seared_bricks", item: 'tconstruct:seared_bricks',
}, },
{ {
tag: "forge:plates/copper", tag: 'forge:plates/copper',
}, },
], ],
result: { result: {
item: "tconstruct:smeltery_controller", item: 'tconstruct:smeltery_controller',
count: 1, count: 1,
}, },
}); });
event.custom({ event.custom({
type: "natural-progression:damage_tools", type: 'natural-progression:damage_tools',
ingredients: [ ingredients: [
{ {
item: "immersiveengineering:hammer", item: 'immersiveengineering:hammer',
}, },
{ {
item: "tconstruct:seared_brick", item: 'tconstruct:seared_brick',
}, },
{ {
item: "tconstruct:seared_brick", item: 'tconstruct:seared_brick',
}, },
{ {
item: "tconstruct:seared_brick", item: 'tconstruct:seared_brick',
}, },
{ {
item: "tconstruct:seared_brick", item: 'tconstruct:seared_brick',
}, },
{ {
item: "tconstruct:seared_brick", item: 'tconstruct:seared_brick',
}, },
{ {
item: "tconstruct:seared_brick", item: 'tconstruct:seared_brick',
}, },
{ {
item: "tconstruct:seared_brick", item: 'tconstruct:seared_brick',
}, },
{ {
item: "tconstruct:seared_brick", item: 'tconstruct:seared_brick',
}, },
], ],
result: { result: {
item: "tconstruct:seared_heater", item: 'tconstruct:seared_heater',
count: 1, count: 1,
}, },
}); });
event.custom({ event.custom({
type: "natural-progression:damage_tools", type: 'natural-progression:damage_tools',
ingredients: [ ingredients: [
{ {
tag: "tconstruct:tanks", tag: 'tconstruct:tanks',
}, },
{ {
item: "immersiveengineering:hammer", item: 'immersiveengineering:hammer',
}, },
{ {
item: "tconstruct:seared_brick", item: 'tconstruct:seared_brick',
}, },
{ {
item: "tconstruct:seared_brick", item: 'tconstruct:seared_brick',
}, },
{ {
item: "tconstruct:seared_brick", item: 'tconstruct:seared_brick',
}, },
{ {
item: "tconstruct:seared_brick", item: 'tconstruct:seared_brick',
}, },
{ {
item: "tconstruct:seared_brick", item: 'tconstruct:seared_brick',
}, },
], ],
result: { result: {
item: "tconstruct:seared_melter", item: 'tconstruct:seared_melter',
count: 1, count: 1,
}, },
}); });
const tconWoods = [ const tconWoods = [
{ {
log: "tconstruct:greenheart_log", log: 'tconstruct:greenheart_log',
strippedLog: "tconstruct:stripped_greenheart_log", strippedLog: 'tconstruct:stripped_greenheart_log',
wood: "tconstruct:greenheart_wood", wood: 'tconstruct:greenheart_wood',
strippedWood: "tconstruct:stripped_greenheart_wood", strippedWood: 'tconstruct:stripped_greenheart_wood',
plank: "tconstruct:greenheart_planks", plank: 'tconstruct:greenheart_planks',
}, },
{ {
log: "tconstruct:skyroot_log", log: 'tconstruct:skyroot_log',
strippedLog: "tconstruct:stripped_skyroot_log", strippedLog: 'tconstruct:stripped_skyroot_log',
wood: "tconstruct:skyroot_wood", wood: 'tconstruct:skyroot_wood',
strippedWood: "tconstruct:stripped_skyroot_wood", strippedWood: 'tconstruct:stripped_skyroot_wood',
plank: "tconstruct:skyroot_planks", plank: 'tconstruct:skyroot_planks',
}, },
{ {
log: "tconstruct:bloodshroom_log", log: 'tconstruct:bloodshroom_log',
strippedLog: "tconstruct:stripped_bloodshroom_log", strippedLog: 'tconstruct:stripped_bloodshroom_log',
wood: "tconstruct:bloodshroom_wood", wood: 'tconstruct:bloodshroom_wood',
strippedWood: "tconstruct:stripped_bloodshroom_wood", strippedWood: 'tconstruct:stripped_bloodshroom_wood',
plank: "tconstruct:bloodshroom_planks", plank: 'tconstruct:bloodshroom_planks',
}, },
]; ];
tconWoods.forEach((woodType) => { tconWoods.forEach(woodType => {
event.remove({ output: woodType.plank }); event.remove({output: woodType.plank});
global.genNatProgRecipes(woodType.log, woodType.strippedLog, woodType.plank).forEach((x) => event.custom(x)); global
global.genNatProgRecipes(woodType.wood, woodType.strippedWood, woodType.plank).forEach((x) => event.custom(x)); .genNatProgRecipes(woodType.log, woodType.strippedLog, woodType.plank)
.forEach(x => event.custom(x));
global
.genNatProgRecipes(woodType.wood, woodType.strippedWood, woodType.plank)
.forEach(x => event.custom(x));
}); });
}); });

View file

@ -1,23 +1,50 @@
onEvent("recipes", (event) => { onEvent('recipes', event => {
event.remove({ output: "thermal:rf_coil" }); event.remove({output: 'thermal:rf_coil'});
event.remove({ output: "thermal:machine_frame" }); event.remove({output: 'thermal:machine_frame'});
event.remove({ output: "thermal:saw_blade" }); event.remove({output: 'thermal:saw_blade'});
event.remove({ id: "thermal:machine/chiller/chiller_ender_to_ender_pearl" }); event.remove({output: 'thermal:latex_bucket'});
event.remove({output: 'thermal:rubber'});
event.remove({id: 'thermal:devices/tree_extractor/tree_extractor_jungle'});
event.remove({id: 'thermal:machine/press/press_vine_to_latex'});
event.remove({id: 'thermal:machine/press/press_dandelion_to_latex'});
event.remove({id: 'thermal:machine/chiller/chiller_ender_to_ender_pearl'});
event.shaped("1x thermal:rf_coil", [" RG", "RSR", "GR "], { event.shaped('1x thermal:rf_coil', [' RG', 'RSR', 'GR '], {
R: "immersiveengineering:wirecoil_redstone", R: 'immersiveengineering:wirecoil_redstone',
S: "#forge:ingots/steel", S: '#forge:ingots/steel',
G: "#forge:nuggets/gold", G: '#forge:nuggets/gold',
}); });
event.shaped("1x thermal:machine_frame", ["SGS", "GTG", "SGS"], { event.shaped('1x thermal:machine_frame', ['SGS', 'GTG', 'SGS'], {
G: "mekanism:structural_glass", G: 'mekanism:structural_glass',
S: "#forge:ingots/steel", S: '#forge:ingots/steel',
T: "#forge:gears/tin", T: '#forge:gears/tin',
}); });
event.shaped("1x thermal:saw_blade", ["SS ", "SCS", " SS"], { event.shaped('1x thermal:saw_blade', ['SS ', 'SCS', ' SS'], {
S: "#forge:ingots/steel", S: '#forge:ingots/steel',
C: "#forge:ingots/copper", C: '#forge:ingots/copper',
});
event.custom({
type: 'thermal:tree_extractor',
trunk: 'minecraft:jungle_log',
leaves: 'minecraft:jungle_leaves',
result: {
fluid: 'industrialforegoing:latex',
amount: 25,
},
});
event.custom({
type: 'thermal:chiller',
ingredients: [
{
fluid: 'industrialforegoing:latex',
amount: 100,
},
],
result: [{item: 'thermal:rubber'}],
energy: 2000,
}); });
}); });

View file

@ -1,11 +1,27 @@
onEvent("recipes", (event) => { onEvent('recipes', event => {
event.remove({ id: "tools_complement:netherite_excavator" }); event.remove({id: 'tools_complement:netherite_excavator'});
event.remove({ id: "tools_complement:netherite_hammer" }); event.remove({id: 'tools_complement:netherite_hammer'});
event.remove({ id: "tools_complement:netherite_sickle" }); event.remove({id: 'tools_complement:netherite_sickle'});
event.remove({ id: "tools_complement:netherite_knife" }); event.remove({id: 'tools_complement:netherite_knife'});
event.smithing("tools_complement:netherite_excavator", "tools_complement:diamond_excavator", "minecraft:netherite_ingot"); event.smithing(
event.smithing("tools_complement:netherite_hammer", "tools_complement:diamond_hammer", "minecraft:netherite_ingot"); 'tools_complement:netherite_excavator',
event.smithing("tools_complement:netherite_sickle", "tools_complement:diamond_sickle", "minecraft:netherite_ingot"); 'tools_complement:diamond_excavator',
event.smithing("tools_complement:netherite_knife", "tools_complement:diamond_knife", "minecraft:netherite_ingot"); 'minecraft:netherite_ingot'
);
event.smithing(
'tools_complement:netherite_hammer',
'tools_complement:diamond_hammer',
'minecraft:netherite_ingot'
);
event.smithing(
'tools_complement:netherite_sickle',
'tools_complement:diamond_sickle',
'minecraft:netherite_ingot'
);
event.smithing(
'tools_complement:netherite_knife',
'tools_complement:diamond_knife',
'minecraft:netherite_ingot'
);
}); });

View file

@ -1,15 +1,15 @@
onEvent("recipes", (event) => { onEvent('recipes', event => {
event.remove({ output: "torchmaster:feral_flare_lantern" }); event.remove({output: 'torchmaster:feral_flare_lantern'});
event.shaped("1x torchmaster:feral_flare_lantern", ["PPP", "GFG", "PPP"], { event.shaped('1x torchmaster:feral_flare_lantern', ['PPP', 'GFG', 'PPP'], {
P: "#forge:plates/lumium", P: '#forge:plates/lumium',
G: "#forge:glass", G: '#forge:glass',
F: "immersiveengineering:floodlight", F: 'immersiveengineering:floodlight',
}); });
event.remove({ output: "torchmaster:megatorch" }); event.remove({output: 'torchmaster:megatorch'});
event.shaped("1x torchmaster:megatorch", ["FFF", "HLH", "HLH"], { event.shaped('1x torchmaster:megatorch', ['FFF', 'HLH', 'HLH'], {
F: "torchmaster:feral_flare_lantern", F: 'torchmaster:feral_flare_lantern',
H: "#harmeng:meka/filler_1", H: '#harmeng:meka/filler_1',
L: "#minecraft:logs", L: '#minecraft:logs',
}); });
}); });

View file

@ -1,95 +1,95 @@
const removeThermalGearRecipes = (event) => { const removeThermalGearRecipes = event => {
const gears = [ const gears = [
"aluminum", 'aluminum',
"brass", 'brass',
"bronze", 'bronze',
"cast_iron", 'cast_iron',
"cobalt", 'cobalt',
"constantan", 'constantan',
"copper", 'copper',
"diamond", 'diamond',
"electrum", 'electrum',
"emerald", 'emerald',
"enderium", 'enderium',
"gold", 'gold',
"invar", 'invar',
"iridium", 'iridium',
"iron", 'iron',
"lapis", 'lapis',
"lead", 'lead',
"lumium", 'lumium',
"nickel", 'nickel',
"osmium", 'osmium',
"peridot", 'peridot',
"ruby", 'ruby',
"sapphire", 'sapphire',
"signalum", 'signalum',
"silver", 'silver',
"steel", 'steel',
"tin", 'tin',
"uranium", 'uranium',
"zinc", 'zinc',
]; ];
gears.forEach((mat) => { gears.forEach(mat => {
event.remove({ output: `thermal:${mat}_gear` }); event.remove({output: `thermal:${mat}_gear`});
event.remove({ id: `thermal:machine/press/press_${mat}_ingot_to_gear` }); event.remove({id: `thermal:machine/press/press_${mat}_ingot_to_gear`});
event.remove({ output: `emendatusenigmatica:${mat}_gear` }); event.remove({output: `emendatusenigmatica:${mat}_gear`});
}); });
event.remove({ output: "emendatusenigmatica:quartz_gear" }); event.remove({output: 'emendatusenigmatica:quartz_gear'});
}; };
const addGearRecipesForEE = (event) => { const addGearRecipesForEE = event => {
const allEeMaterials = [ const allEeMaterials = [
"forge:ingots/aluminum", 'forge:ingots/aluminum',
"forge:ingots/brass", 'forge:ingots/brass',
"forge:ingots/bronze", 'forge:ingots/bronze',
"forge:ingots/cast_iron", 'forge:ingots/cast_iron',
"forge:ingots/cobalt", 'forge:ingots/cobalt',
"forge:ingots/constantan", 'forge:ingots/constantan',
"forge:ingots/copper", 'forge:ingots/copper',
"forge:gems/diamond", 'forge:gems/diamond',
"forge:ingots/electrum", 'forge:ingots/electrum',
"forge:gems/emerald", 'forge:gems/emerald',
"forge:ingots/enderium", 'forge:ingots/enderium',
"forge:ingots/gold", 'forge:ingots/gold',
"forge:ingots/invar", 'forge:ingots/invar',
"forge:ingots/iridium", 'forge:ingots/iridium',
"forge:ingots/iron", 'forge:ingots/iron',
"forge:gems/lapis", 'forge:gems/lapis',
"forge:ingots/lead", 'forge:ingots/lead',
"forge:ingots/lumium", 'forge:ingots/lumium',
"forge:ingots/nickel", 'forge:ingots/nickel',
"forge:ingots/osmium", 'forge:ingots/osmium',
"forge:gems/peridot", 'forge:gems/peridot',
"forge:gems/ruby", 'forge:gems/ruby',
"forge:gems/sapphire", 'forge:gems/sapphire',
"forge:ingots/signalum", 'forge:ingots/signalum',
"forge:ingots/silver", 'forge:ingots/silver',
"forge:ingots/steel", 'forge:ingots/steel',
"forge:ingots/tin", 'forge:ingots/tin',
"forge:ingots/uranium", 'forge:ingots/uranium',
"forge:ingots/zinc", 'forge:ingots/zinc',
]; ];
// Manual crafting // Manual crafting
allEeMaterials.forEach((mat) => { allEeMaterials.forEach(mat => {
const baseMat = mat.replace("forge:ingots/", "").replace("forge:gems/", ""); const baseMat = mat.replace('forge:ingots/', '').replace('forge:gems/', '');
event.remove({ id: `emendatusenigmatica:gear_from_ingot/${baseMat}` }); event.remove({id: `emendatusenigmatica:gear_from_ingot/${baseMat}`});
event.remove({ id: `emendatusenigmatica:gear_from_gem/${baseMat}` }); event.remove({id: `emendatusenigmatica:gear_from_gem/${baseMat}`});
event.custom({ event.custom({
result: { result: {
item: `emendatusenigmatica:${baseMat}_gear`, item: `emendatusenigmatica:${baseMat}_gear`,
}, },
type: "natural-progression:damage_tools", type: 'natural-progression:damage_tools',
ingredients: [ ingredients: [
{ {
item: "create:cogwheel", item: 'create:cogwheel',
}, },
{ {
item: "immersiveengineering:hammer", item: 'immersiveengineering:hammer',
}, },
{ {
tag: `forge:plates/${baseMat}`, tag: `forge:plates/${baseMat}`,
@ -108,18 +108,18 @@ const addGearRecipesForEE = (event) => {
}); });
// Thermal Multiservo Press // Thermal Multiservo Press
allEeMaterials.forEach((mat) => { allEeMaterials.forEach(mat => {
const baseMat = mat.replace("forge:ingots/", "").replace("forge:gems/", ""); const baseMat = mat.replace('forge:ingots/', '').replace('forge:gems/', '');
event.remove({ output: `emendatusenigmatica:${baseMat}_gear` }); event.remove({output: `emendatusenigmatica:${baseMat}_gear`});
event.custom({ event.custom({
type: "thermal:press", type: 'thermal:press',
ingredients: [ ingredients: [
{ {
tag: mat, tag: mat,
count: 4, count: 4,
}, },
{ {
item: "thermal:press_gear_die", item: 'thermal:press_gear_die',
}, },
], ],
result: [ result: [
@ -131,12 +131,12 @@ const addGearRecipesForEE = (event) => {
}); });
// IE Metal Press // IE Metal Press
allEeMaterials.forEach((mat) => { allEeMaterials.forEach(mat => {
const baseMat = mat.replace("forge:ingots/", "").replace("forge:gems/", ""); const baseMat = mat.replace('forge:ingots/', '').replace('forge:gems/', '');
event.custom({ event.custom({
type: "immersiveengineering:metal_press", type: 'immersiveengineering:metal_press',
mold: { mold: {
item: "immersiveengineering:mold_gear", item: 'immersiveengineering:mold_gear',
}, },
input: { input: {
count: 4, count: 4,
@ -152,13 +152,13 @@ const addGearRecipesForEE = (event) => {
}); });
// Tinkers Casting // Tinkers Casting
allEeMaterials.forEach((mat) => { allEeMaterials.forEach(mat => {
const baseMat = mat.replace("forge:ingots/", "").replace("forge:gems/", ""); const baseMat = mat.replace('forge:ingots/', '').replace('forge:gems/', '');
event.custom({ event.custom({
type: "tconstruct:casting_table", type: 'tconstruct:casting_table',
cast: { cast: {
tag: "tconstruct:casts/multi_use/gear", tag: 'tconstruct:casts/multi_use/gear',
}, },
fluid: { fluid: {
tag: `forge:molten_${baseMat}`, tag: `forge:molten_${baseMat}`,
@ -171,9 +171,9 @@ const addGearRecipesForEE = (event) => {
}); });
event.custom({ event.custom({
type: "tconstruct:casting_table", type: 'tconstruct:casting_table',
cast: { cast: {
tag: "tconstruct:casts/single_use/gear", tag: 'tconstruct:casts/single_use/gear',
}, },
cast_consumed: true, cast_consumed: true,
fluid: { fluid: {
@ -188,7 +188,7 @@ const addGearRecipesForEE = (event) => {
}); });
}; };
onEvent("recipes", (event) => { onEvent('recipes', event => {
removeThermalGearRecipes(event); removeThermalGearRecipes(event);
addGearRecipesForEE(event); addGearRecipesForEE(event);
}); });

View file

@ -1,41 +1,41 @@
const addPlateRecipesForEE = (event) => { const addPlateRecipesForEE = event => {
const allEeMaterials = [ const allEeMaterials = [
"forge:ingots/aluminum", 'forge:ingots/aluminum',
"forge:ingots/brass", 'forge:ingots/brass',
"forge:ingots/bronze", 'forge:ingots/bronze',
"forge:ingots/cast_iron", 'forge:ingots/cast_iron',
"forge:ingots/cobalt", 'forge:ingots/cobalt',
"forge:ingots/constantan", 'forge:ingots/constantan',
"forge:ingots/copper", 'forge:ingots/copper',
"forge:gems/diamond", 'forge:gems/diamond',
"forge:ingots/electrum", 'forge:ingots/electrum',
"forge:gems/emerald", 'forge:gems/emerald',
"forge:ingots/enderium", 'forge:ingots/enderium',
"forge:ingots/gold", 'forge:ingots/gold',
"forge:ingots/invar", 'forge:ingots/invar',
"forge:ingots/iridium", 'forge:ingots/iridium',
"forge:ingots/iron", 'forge:ingots/iron',
"forge:gems/lapis", 'forge:gems/lapis',
"forge:ingots/lead", 'forge:ingots/lead',
"forge:ingots/lumium", 'forge:ingots/lumium',
"forge:ingots/nickel", 'forge:ingots/nickel',
"forge:ingots/osmium", 'forge:ingots/osmium',
"forge:gems/peridot", 'forge:gems/peridot',
"forge:gems/ruby", 'forge:gems/ruby',
"forge:gems/sapphire", 'forge:gems/sapphire',
"forge:ingots/signalum", 'forge:ingots/signalum',
"forge:ingots/silver", 'forge:ingots/silver',
"forge:ingots/steel", 'forge:ingots/steel',
"forge:ingots/tin", 'forge:ingots/tin',
"forge:ingots/uranium", 'forge:ingots/uranium',
"forge:ingots/zinc", 'forge:ingots/zinc',
]; ];
// Thermal Multiservo Press // Thermal Multiservo Press
allEeMaterials.forEach((mat) => { allEeMaterials.forEach(mat => {
const baseMat = mat.replace("forge:ingots/", "").replace("forge:gems/", ""); const baseMat = mat.replace('forge:ingots/', '').replace('forge:gems/', '');
event.custom({ event.custom({
type: "thermal:press", type: 'thermal:press',
ingredients: [ ingredients: [
{ {
tag: mat, tag: mat,
@ -51,10 +51,10 @@ const addPlateRecipesForEE = (event) => {
}); });
// Create metal press // Create metal press
allEeMaterials.forEach((mat) => { allEeMaterials.forEach(mat => {
const baseMat = mat.replace("forge:ingots/", "").replace("forge:gems/", ""); const baseMat = mat.replace('forge:ingots/', '').replace('forge:gems/', '');
event.custom({ event.custom({
type: "create:pressing", type: 'create:pressing',
ingredients: [ ingredients: [
{ {
tag: mat, tag: mat,
@ -69,12 +69,12 @@ const addPlateRecipesForEE = (event) => {
}); });
// IE Metal Press // IE Metal Press
allEeMaterials.forEach((mat) => { allEeMaterials.forEach(mat => {
const baseMat = mat.replace("forge:ingots/", "").replace("forge:gems/", ""); const baseMat = mat.replace('forge:ingots/', '').replace('forge:gems/', '');
event.custom({ event.custom({
type: "immersiveengineering:metal_press", type: 'immersiveengineering:metal_press',
mold: { mold: {
item: "immersiveengineering:mold_plate", item: 'immersiveengineering:mold_plate',
}, },
input: { input: {
tag: mat, tag: mat,
@ -87,13 +87,13 @@ const addPlateRecipesForEE = (event) => {
}); });
// Tinkers Casting // Tinkers Casting
allEeMaterials.forEach((mat) => { allEeMaterials.forEach(mat => {
const baseMat = mat.replace("forge:ingots/", "").replace("forge:gems/", ""); const baseMat = mat.replace('forge:ingots/', '').replace('forge:gems/', '');
event.custom({ event.custom({
type: "tconstruct:casting_table", type: 'tconstruct:casting_table',
cast: { cast: {
tag: "tconstruct:casts/multi_use/plate", tag: 'tconstruct:casts/multi_use/plate',
}, },
fluid: { fluid: {
tag: `forge:molten_${baseMat}`, tag: `forge:molten_${baseMat}`,
@ -106,9 +106,9 @@ const addPlateRecipesForEE = (event) => {
}); });
event.custom({ event.custom({
type: "tconstruct:casting_table", type: 'tconstruct:casting_table',
cast: { cast: {
tag: "tconstruct:casts/single_use/plate", tag: 'tconstruct:casts/single_use/plate',
}, },
cast_consumed: true, cast_consumed: true,
fluid: { fluid: {
@ -123,94 +123,94 @@ const addPlateRecipesForEE = (event) => {
}); });
}; };
const removeIERecipes = (event) => { const removeIERecipes = event => {
[ [
"aluminum", 'aluminum',
"brass", 'brass',
"bronze", 'bronze',
"cast_iron", 'cast_iron',
"cobalt", 'cobalt',
"constantan", 'constantan',
"copper", 'copper',
"electrum", 'electrum',
"enderium", 'enderium',
"gold", 'gold',
"invar", 'invar',
"iridium", 'iridium',
"iron", 'iron',
"lead", 'lead',
"lumium", 'lumium',
"nickel", 'nickel',
"osmium", 'osmium',
"signalum", 'signalum',
"silver", 'silver',
"steel", 'steel',
"tin", 'tin',
"uranium", 'uranium',
"zinc", 'zinc',
].forEach((mat) => { ].forEach(mat => {
event.remove({ id: `immersiveengineering:metalpress/plate_${mat}` }); event.remove({id: `immersiveengineering:metalpress/plate_${mat}`});
}); });
}; };
const removeThermalPlateRecipes = (event) => { const removeThermalPlateRecipes = event => {
const plates = [ const plates = [
"bronze_plate", 'bronze_plate',
"constantan_plate", 'constantan_plate',
"copper_plate", 'copper_plate',
"diamond_plate", 'diamond_plate',
"electrum_plate", 'electrum_plate',
"emerald_plate", 'emerald_plate',
"enderium_plate", 'enderium_plate',
"gold_plate", 'gold_plate',
"invar_plate", 'invar_plate',
"iron_plate", 'iron_plate',
"lapis_plate", 'lapis_plate',
"lead_plate", 'lead_plate',
"lumium_plate", 'lumium_plate',
"nickel_plate", 'nickel_plate',
"quartz_plate", 'quartz_plate',
"signalum_plate", 'signalum_plate',
"silver_plate", 'silver_plate',
"tin_plate", 'tin_plate',
]; ];
plates.forEach((plate) => { plates.forEach(plate => {
const mat = plate.replace("_plate", ""); const mat = plate.replace('_plate', '');
event.remove({ output: `thermal:${plate}` }); event.remove({output: `thermal:${plate}`});
event.remove({ id: `thermal:machine/press/press_${mat}_ingot_to_plate` }); event.remove({id: `thermal:machine/press/press_${mat}_ingot_to_plate`});
}); });
event.remove({ event.remove({
id: "thermal:compat/immersiveengineering/press_ie_uranium_ingot_to_plate", id: 'thermal:compat/immersiveengineering/press_ie_uranium_ingot_to_plate',
}); });
}; };
const removeTinkersPlateRecipes = (event) => { const removeTinkersPlateRecipes = event => {
[ [
"aluminum", 'aluminum',
"brass", 'brass',
"bronze", 'bronze',
"cast_iron", 'cast_iron',
"cobalt", 'cobalt',
"constantan", 'constantan',
"copper", 'copper',
"electrum", 'electrum',
"enderium", 'enderium',
"gold", 'gold',
"invar", 'invar',
"iridium", 'iridium',
"iron", 'iron',
"lead", 'lead',
"lumium", 'lumium',
"nickel", 'nickel',
"osmium", 'osmium',
"signalum", 'signalum',
"silver", 'silver',
"steel", 'steel',
"tin", 'tin',
"uranium", 'uranium',
"zinc", 'zinc',
].forEach((mat) => { ].forEach(mat => {
event.remove({ event.remove({
id: `tconstruct:smeltery/casting/metal/${mat}/plate_gold_cast`, id: `tconstruct:smeltery/casting/metal/${mat}/plate_gold_cast`,
}); });
@ -220,17 +220,17 @@ const removeTinkersPlateRecipes = (event) => {
}); });
}; };
const removeCreateRecipes = (event) => { const removeCreateRecipes = event => {
event.remove({ id: "create:pressing/iron_ingot" }); event.remove({id: 'create:pressing/iron_ingot'});
event.remove({ id: "create:pressing/gold_ingot" }); event.remove({id: 'create:pressing/gold_ingot'});
event.remove({ id: "create:pressing/copper_ingot" }); event.remove({id: 'create:pressing/copper_ingot'});
event.remove({ id: "create:pressing/brass_ingot" }); event.remove({id: 'create:pressing/brass_ingot'});
event.remove({ id: "createaddition:pressing/zinc_ingot" }); event.remove({id: 'createaddition:pressing/zinc_ingot'});
event.remove({ id: "minecraft:pressing/zinc_sheet" }); event.remove({id: 'minecraft:pressing/zinc_sheet'});
event.remove({ id: "minecraft:pressing/netherite_sheet" }); event.remove({id: 'minecraft:pressing/netherite_sheet'});
}; };
onEvent("recipes", (event) => { onEvent('recipes', event => {
removeThermalPlateRecipes(event); removeThermalPlateRecipes(event);
removeTinkersPlateRecipes(event); removeTinkersPlateRecipes(event);
removeCreateRecipes(event); removeCreateRecipes(event);

View file

@ -1,39 +1,39 @@
const removeRodRecipes = (event) => { const removeRodRecipes = event => {
const rodMats = [ const rodMats = [
"forge:ingots/aluminum", 'forge:ingots/aluminum',
"forge:ingots/brass", 'forge:ingots/brass',
"forge:ingots/bronze", 'forge:ingots/bronze',
"forge:ingots/cast_iron", 'forge:ingots/cast_iron',
"forge:ingots/cobalt", 'forge:ingots/cobalt',
"forge:ingots/constantan", 'forge:ingots/constantan',
"forge:ingots/copper", 'forge:ingots/copper',
"forge:gems/diamond", 'forge:gems/diamond',
"forge:ingots/electrum", 'forge:ingots/electrum',
"forge:gems/emerald", 'forge:gems/emerald',
"forge:ingots/enderium", 'forge:ingots/enderium',
"forge:ingots/gold", 'forge:ingots/gold',
"forge:ingots/invar", 'forge:ingots/invar',
"forge:ingots/iridium", 'forge:ingots/iridium',
"forge:ingots/iron", 'forge:ingots/iron',
"forge:gems/lapis", 'forge:gems/lapis',
"forge:ingots/lead", 'forge:ingots/lead',
"forge:ingots/lumium", 'forge:ingots/lumium',
"forge:ingots/nickel", 'forge:ingots/nickel',
"forge:ingots/osmium", 'forge:ingots/osmium',
"forge:gems/peridot", 'forge:gems/peridot',
"forge:gems/ruby", 'forge:gems/ruby',
"forge:gems/sapphire", 'forge:gems/sapphire',
"forge:ingots/signalum", 'forge:ingots/signalum',
"forge:ingots/silver", 'forge:ingots/silver',
"forge:ingots/steel", 'forge:ingots/steel',
"forge:ingots/tin", 'forge:ingots/tin',
"forge:ingots/uranium", 'forge:ingots/uranium',
"forge:ingots/zinc", 'forge:ingots/zinc',
]; ];
rodMats.forEach((tag) => { rodMats.forEach(tag => {
const baseMat = tag.replace("forge:ingots/", "").replace("forge:gems/", ""); const baseMat = tag.replace('forge:ingots/', '').replace('forge:gems/', '');
event.remove({ output: `#forge:rods/${baseMat}` }); event.remove({output: `#forge:rods/${baseMat}`});
// Remove existing inconsistent tcon recipes // Remove existing inconsistent tcon recipes
event.remove({ event.remove({
id: `tconstruct:smeltery/casting/metal/${baseMat}/rod_gold_cast`, id: `tconstruct:smeltery/casting/metal/${baseMat}/rod_gold_cast`,
@ -41,63 +41,63 @@ const removeRodRecipes = (event) => {
event.remove({ event.remove({
id: `tconstruct:smeltery/casting/metal/${baseMat}/rod_sand_cast`, id: `tconstruct:smeltery/casting/metal/${baseMat}/rod_sand_cast`,
}); });
event.remove({ id: `createaddition:rolling/${baseMat}_ingot` }); event.remove({id: `createaddition:rolling/${baseMat}_ingot`});
event.remove({ id: `immersiveengineering:metalpress/rod_${baseMat}` }); event.remove({id: `immersiveengineering:metalpress/rod_${baseMat}`});
}); });
}; };
const addRodRecipesForEE = (event) => { const addRodRecipesForEE = event => {
const allEeMaterials = [ const allEeMaterials = [
"forge:ingots/aluminum", 'forge:ingots/aluminum',
"forge:ingots/brass", 'forge:ingots/brass',
"forge:ingots/bronze", 'forge:ingots/bronze',
"forge:ingots/cast_iron", 'forge:ingots/cast_iron',
"forge:ingots/cobalt", 'forge:ingots/cobalt',
"forge:ingots/constantan", 'forge:ingots/constantan',
"forge:ingots/copper", 'forge:ingots/copper',
"forge:gems/diamond", 'forge:gems/diamond',
"forge:ingots/electrum", 'forge:ingots/electrum',
"forge:gems/emerald", 'forge:gems/emerald',
"forge:ingots/enderium", 'forge:ingots/enderium',
"forge:ingots/gold", 'forge:ingots/gold',
"forge:ingots/invar", 'forge:ingots/invar',
"forge:ingots/iridium", 'forge:ingots/iridium',
"forge:ingots/iron", 'forge:ingots/iron',
"forge:gems/lapis", 'forge:gems/lapis',
"forge:ingots/lead", 'forge:ingots/lead',
"forge:ingots/lumium", 'forge:ingots/lumium',
"forge:ingots/nickel", 'forge:ingots/nickel',
"forge:ingots/osmium", 'forge:ingots/osmium',
"forge:gems/peridot", 'forge:gems/peridot',
"forge:gems/ruby", 'forge:gems/ruby',
"forge:gems/sapphire", 'forge:gems/sapphire',
"forge:ingots/signalum", 'forge:ingots/signalum',
"forge:ingots/silver", 'forge:ingots/silver',
"forge:ingots/steel", 'forge:ingots/steel',
"forge:ingots/tin", 'forge:ingots/tin',
"forge:ingots/uranium", 'forge:ingots/uranium',
"forge:ingots/zinc", 'forge:ingots/zinc',
]; ];
// Manual crafting // Manual crafting
allEeMaterials.forEach((tag) => { allEeMaterials.forEach(tag => {
const baseMat = tag.replace("forge:ingots/", "").replace("forge:gems/", ""); const baseMat = tag.replace('forge:ingots/', '').replace('forge:gems/', '');
event.shaped(`2x emendatusenigmatica:${baseMat}_rod`, ["I", "I"], { event.shaped(`2x emendatusenigmatica:${baseMat}_rod`, ['I', 'I'], {
I: `#${tag}`, I: `#${tag}`,
}); });
}); });
// Thermal multiservo press // Thermal multiservo press
allEeMaterials.forEach((tag) => { allEeMaterials.forEach(tag => {
const baseMat = tag.replace("forge:ingots/", "").replace("forge:gems/", ""); const baseMat = tag.replace('forge:ingots/', '').replace('forge:gems/', '');
event.custom({ event.custom({
type: "thermal:press", type: 'thermal:press',
ingredients: [ ingredients: [
{ {
tag: tag, tag: tag,
}, },
{ {
item: "immersiveengineering:mold_rod", item: 'immersiveengineering:mold_rod',
}, },
], ],
result: [ result: [
@ -110,12 +110,12 @@ const addRodRecipesForEE = (event) => {
}); });
// IE Press (overwritten from AVSP/replaceoutputs.js) // IE Press (overwritten from AVSP/replaceoutputs.js)
allEeMaterials.forEach((mat) => { allEeMaterials.forEach(mat => {
const baseMat = mat.replace("forge:ingots/", "").replace("forge:gems/", ""); const baseMat = mat.replace('forge:ingots/', '').replace('forge:gems/', '');
event.custom({ event.custom({
type: "immersiveengineering:metal_press", type: 'immersiveengineering:metal_press',
mold: { mold: {
item: "immersiveengineering:mold_rod", item: 'immersiveengineering:mold_rod',
}, },
input: { input: {
count: 1, count: 1,
@ -132,13 +132,13 @@ const addRodRecipesForEE = (event) => {
}); });
// TConstruct Casting // TConstruct Casting
allEeMaterials.forEach((tag) => { allEeMaterials.forEach(tag => {
const baseMat = tag.replace("forge:ingots/", "").replace("forge:gems/", ""); const baseMat = tag.replace('forge:ingots/', '').replace('forge:gems/', '');
event.custom({ event.custom({
type: "tconstruct:casting_table", type: 'tconstruct:casting_table',
cast: { cast: {
tag: "tconstruct:casts/multi_use/rod", tag: 'tconstruct:casts/multi_use/rod',
}, },
fluid: { fluid: {
tag: `forge:molten_${baseMat}`, tag: `forge:molten_${baseMat}`,
@ -151,9 +151,9 @@ const addRodRecipesForEE = (event) => {
}); });
event.custom({ event.custom({
type: "tconstruct:casting_table", type: 'tconstruct:casting_table',
cast: { cast: {
tag: "tconstruct:casts/single_use/rod", tag: 'tconstruct:casts/single_use/rod',
}, },
cast_consumed: true, cast_consumed: true,
fluid: { fluid: {
@ -168,10 +168,10 @@ const addRodRecipesForEE = (event) => {
}); });
// Create Additions Rolling // Create Additions Rolling
allEeMaterials.forEach((tag) => { allEeMaterials.forEach(tag => {
const baseMat = tag.replace("forge:ingots/", "").replace("forge:gems/", ""); const baseMat = tag.replace('forge:ingots/', '').replace('forge:gems/', '');
event.custom({ event.custom({
type: "createaddition:rolling", type: 'createaddition:rolling',
input: { input: {
tag: tag, tag: tag,
}, },
@ -183,25 +183,25 @@ const addRodRecipesForEE = (event) => {
}); });
}; };
onEvent("recipes", (event) => { onEvent('recipes', event => {
removeRodRecipes(event); removeRodRecipes(event);
addRodRecipesForEE(event); addRodRecipesForEE(event);
// custom thermal recipe for graphite electrode // custom thermal recipe for graphite electrode
event.custom({ event.custom({
type: "thermal:press", type: 'thermal:press',
ingredients: [ ingredients: [
{ {
tag: "forge:ingots/hop_graphite", tag: 'forge:ingots/hop_graphite',
count: 4, count: 4,
}, },
{ {
item: "immersiveengineering:mold_rod", item: 'immersiveengineering:mold_rod',
}, },
], ],
result: [ result: [
{ {
item: "immersiveengineering:graphite_electrode", item: 'immersiveengineering:graphite_electrode',
count: 1, count: 1,
nbt: { nbt: {
graphDmg: 48000, graphDmg: 48000,

View file

@ -1,14 +1,34 @@
onEvent("recipes", (event) => { onEvent('recipes', event => {
event.remove({ output: "wormhole:portal_frame" }); event.remove({output: 'wormhole:portal_frame'});
event.remove({ output: "wormhole:portal_stabilizer" }); event.remove({output: 'wormhole:portal_stabilizer'});
event.remove({ output: "wormhole:basic_energy_cell" }); event.remove({output: 'wormhole:basic_energy_cell'});
event.remove({ output: "wormhole:advanced_energy_cell" }); event.remove({output: 'wormhole:advanced_energy_cell'});
event.remove({ output: "wormhole:coal_generator" }); event.remove({output: 'wormhole:coal_generator'});
global.genCombinedRecipe(event, Ingredient.of("#forge:obsidian"), Ingredient.of("#forge:ingots/steel"), Item.of("2x wormhole:portal_frame")); global.genCombinedRecipe(
global.genCombinedRecipe(event, Ingredient.of("wormhole:portal_frame"), Ingredient.of("kubejs:ender_singularity"), Item.of("wormhole:portal_stabilizer")); event,
global.genCombinedRecipe(event, Ingredient.of("wormhole:portal_frame"), Ingredient.of("thermal:energy_cell"), Item.of("wormhole:basic_energy_cell")); Ingredient.of('#forge:obsidian'),
global.genCombinedRecipe(event, Ingredient.of("wormhole:basic_energy_cell"), Ingredient.of("thermal:energy_cell"), Item.of("wormhole:advanced_energy_cell")); Ingredient.of('#forge:ingots/steel'),
Item.of('2x wormhole:portal_frame')
);
global.genCombinedRecipe(
event,
Ingredient.of('wormhole:portal_frame'),
Ingredient.of('kubejs:ender_singularity'),
Item.of('wormhole:portal_stabilizer')
);
global.genCombinedRecipe(
event,
Ingredient.of('wormhole:portal_frame'),
Ingredient.of('thermal:energy_cell'),
Item.of('wormhole:basic_energy_cell')
);
global.genCombinedRecipe(
event,
Ingredient.of('wormhole:basic_energy_cell'),
Ingredient.of('thermal:energy_cell'),
Item.of('wormhole:advanced_energy_cell')
);
// event.shaped("wormhole:portal_stabilizer", [], { // event.shaped("wormhole:portal_stabilizer", [], {

View file

@ -1,24 +1,43 @@
onEvent("recipes", (event) => { onEvent('recipes', event => {
const cableVariants = ["red", "green", "blue", "yellow", "routing"]; const cableVariants = ['red', 'green', 'blue', 'yellow', 'routing'];
// Cables // Cables
cableVariants.forEach((x) => event.remove({ id: `xnet:netcable_${x}` })); cableVariants.forEach(x => event.remove({id: `xnet:netcable_${x}`}));
cableVariants.forEach((x) => cableVariants.forEach(x =>
global.genCombinedRecipe(event, Ingredient.of("pipez:universal_pipe"), Ingredient.of(`#forge:dyes/${x === "routing" ? "black" : x}`), Item.of(`32x xnet:netcable_${x}`)) global.genCombinedRecipe(
event,
Ingredient.of('pipez:universal_pipe'),
Ingredient.of(`#forge:dyes/${x === 'routing' ? 'black' : x}`),
Item.of(`32x xnet:netcable_${x}`)
)
); );
// Connectors // Connectors
cableVariants.forEach((x) => event.remove({ id: `xnet:connector_${x}` })); cableVariants.forEach(x => event.remove({id: `xnet:connector_${x}`}));
cableVariants.forEach((x) => global.genCombinedRecipe(event, Ingredient.of(`xnet:netcable_${x}`), Ingredient.of("#forge:ingots/gold"), Item.of(`1x xnet:connector_${x}`))); cableVariants.forEach(x =>
global.genCombinedRecipe(
event,
Ingredient.of(`xnet:netcable_${x}`),
Ingredient.of('#forge:ingots/gold'),
Item.of(`1x xnet:connector_${x}`)
)
);
// Advanced Connectors // Advanced Connectors
cableVariants.forEach((x) => event.remove({ id: `xnet:advanced_connector_${x}` })); cableVariants.forEach(x => event.remove({id: `xnet:advanced_connector_${x}`}));
cableVariants.forEach((x) => global.genCombinedRecipe(event, Ingredient.of(`xnet:connector_${x}`), Ingredient.of("#forge:ingots/cobalt"), Item.of(`1x xnet:advanced_connector_${x}`))); cableVariants.forEach(x =>
global.genCombinedRecipe(
event,
Ingredient.of(`xnet:connector_${x}`),
Ingredient.of('#forge:ingots/cobalt'),
Item.of(`1x xnet:advanced_connector_${x}`)
)
);
event.remove({ id: "xnet:connector_upgrade" }); event.remove({id: 'xnet:connector_upgrade'});
event.remove({ id: "xnet:wireless_router" }); event.remove({id: 'xnet:wireless_router'});
event.shaped("1x xnet:wireless_router", ["CSC", "RFR", "CRC"], { event.shaped('1x xnet:wireless_router', ['CSC', 'RFR', 'CRC'], {
R: "#forge:dusts/redstone", R: '#forge:dusts/redstone',
C: "#xnet:advanced_connectors", C: '#xnet:advanced_connectors',
F: "rftoolsbase:machine_frame", F: 'rftoolsbase:machine_frame',
S: "kubejs:ender_singularity", S: 'kubejs:ender_singularity',
}); });
}); });

View file

@ -1,6 +1,6 @@
onEvent("player.logged_in", (event) => { onEvent('player.logged_in', event => {
if (!event.player.stages.has("starting_items")) { if (!event.player.stages.has('starting_items')) {
event.player.stages.add("starting_items"); event.player.stages.add('starting_items');
event.player.give("ftbquests:book"); event.player.give('ftbquests:book');
} }
}); });

View file

@ -1,142 +1,194 @@
const harmoniousEngineeringTags = (event) => { const harmoniousEngineeringTags = event => {
event.add("harmeng:diamond_tier_saws", "natural-progression:diamond_saw"); event.add('harmeng:diamond_tier_saws', 'natural-progression:diamond_saw');
event.add("harmeng:diamond_tier_saws", "natural-progression:netherite_saw"); event.add('harmeng:diamond_tier_saws', 'natural-progression:netherite_saw');
event.add("harmeng:presses", "thermal:machine_press"); event.add('harmeng:presses', 'thermal:machine_press');
event.add("harmeng:presses", "create:mechanical_press"); event.add('harmeng:presses', 'create:mechanical_press');
event.add("harmeng:basic_tank", "create:fluid_tank"); event.add('harmeng:basic_tank', 'create:fluid_tank');
event.add("harmeng:basic_tank", "mekanism:basic_fluid_tank"); event.add('harmeng:basic_tank', 'mekanism:basic_fluid_tank');
event.add("harmeng:basic_tank", "industrialforegoing:pity_black_hole_tank"); event.add('harmeng:basic_tank', 'industrialforegoing:pity_black_hole_tank');
event.add("harmeng:basic_tank", "industrialforegoing:simple_black_hole_tank"); event.add('harmeng:basic_tank', 'industrialforegoing:simple_black_hole_tank');
event.add("harmeng:basic_tank", "thermal:fluid_cell"); event.add('harmeng:basic_tank', 'thermal:fluid_cell');
event.add("harmeng:chestless_logs", "#tconstruct:greenheart_logs"); event.add('harmeng:chestless_logs', '#tconstruct:greenheart_logs');
event.add("harmeng:chestless_logs", "#tconstruct:skyroot_logs"); event.add('harmeng:chestless_logs', '#tconstruct:skyroot_logs');
event.add("harmeng:chestless_logs", "#tconstruct:bloodshroom_logs"); event.add('harmeng:chestless_logs', '#tconstruct:bloodshroom_logs');
event.add("harmeng:chestless_planks", "quark:white_stained_planks"); event.add('harmeng:chestless_planks', 'quark:white_stained_planks');
event.add("harmeng:chestless_planks", "quark:orange_stained_planks"); event.add('harmeng:chestless_planks', 'quark:orange_stained_planks');
event.add("harmeng:chestless_planks", "quark:magenta_stained_planks"); event.add('harmeng:chestless_planks', 'quark:magenta_stained_planks');
event.add("harmeng:chestless_planks", "quark:light_blue_stained_planks"); event.add('harmeng:chestless_planks', 'quark:light_blue_stained_planks');
event.add("harmeng:chestless_planks", "quark:yellow_stained_planks"); event.add('harmeng:chestless_planks', 'quark:yellow_stained_planks');
event.add("harmeng:chestless_planks", "quark:lime_stained_planks"); event.add('harmeng:chestless_planks', 'quark:lime_stained_planks');
event.add("harmeng:chestless_planks", "quark:pink_stained_planks"); event.add('harmeng:chestless_planks', 'quark:pink_stained_planks');
event.add("harmeng:chestless_planks", "quark:gray_stained_planks"); event.add('harmeng:chestless_planks', 'quark:gray_stained_planks');
event.add("harmeng:chestless_planks", "quark:light_gray_stained_planks"); event.add('harmeng:chestless_planks', 'quark:light_gray_stained_planks');
event.add("harmeng:chestless_planks", "quark:cyan_stained_planks"); event.add('harmeng:chestless_planks', 'quark:cyan_stained_planks');
event.add("harmeng:chestless_planks", "quark:purple_stained_planks"); event.add('harmeng:chestless_planks', 'quark:purple_stained_planks');
event.add("harmeng:chestless_planks", "quark:blue_stained_planks"); event.add('harmeng:chestless_planks', 'quark:blue_stained_planks');
event.add("harmeng:chestless_planks", "quark:brown_stained_planks"); event.add('harmeng:chestless_planks', 'quark:brown_stained_planks');
event.add("harmeng:chestless_planks", "quark:green_stained_planks"); event.add('harmeng:chestless_planks', 'quark:green_stained_planks');
event.add("harmeng:chestless_planks", "quark:red_stained_planks"); event.add('harmeng:chestless_planks', 'quark:red_stained_planks');
event.add("harmeng:chestless_planks", "quark:black_stained_planks"); event.add('harmeng:chestless_planks', 'quark:black_stained_planks');
event.add("harmeng:chestless_planks", "tconstruct:greenheart_planks"); event.add('harmeng:chestless_planks', 'tconstruct:greenheart_planks');
event.add("harmeng:chestless_planks", "tconstruct:skyroot_planks"); event.add('harmeng:chestless_planks', 'tconstruct:skyroot_planks');
event.add("harmeng:chestless_planks", "tconstruct:bloodshroom_planks"); event.add('harmeng:chestless_planks', 'tconstruct:bloodshroom_planks');
event.add("harmeng:saw_blade", "thermal:saw_blade"); event.add('harmeng:saw_blade', 'thermal:saw_blade');
event.add("harmeng:saw_blade", "#forge:sawblades"); event.add('harmeng:saw_blade', '#forge:sawblades');
event.add("harmeng:meka/filler_1", "powah:crystal_blazing"); event.add('harmeng:meka/filler_1', 'powah:crystal_blazing');
event.add("harmeng:meka/filler_1", "industrialforegoing:pink_slime_ingot"); event.add('harmeng:meka/filler_1', 'industrialforegoing:pink_slime_ingot');
event.add("harmeng:meka/filler_1", "#forge:ingots/enderium"); event.add('harmeng:meka/filler_1', '#forge:ingots/enderium');
event.add("harmeng:meka/filler_1", "#forge:ingots/refined_obsidian"); event.add('harmeng:meka/filler_1', '#forge:ingots/refined_obsidian');
event.add("harmeng:meka/filler_2", "powah:capacitor_blazing"); event.add('harmeng:meka/filler_2', 'powah:capacitor_blazing');
event.add("harmeng:meka/filler_2", "industrialforegoing:range_addon11"); event.add('harmeng:meka/filler_2', 'industrialforegoing:range_addon11');
event.add("harmeng:meka/filler_2", "thermal:upgrade_augment_2"); event.add('harmeng:meka/filler_2', 'thermal:upgrade_augment_2');
event.add("harmeng:meka/filler_2", "#forge:batteries"); event.add('harmeng:meka/filler_2', '#forge:batteries');
event.add("harmeng:meka/crafting_tool_1", "minecraft:netherite_pickaxe"); event.add('harmeng:meka/crafting_tool_1', 'minecraft:netherite_pickaxe');
event.add("harmeng:meka/crafting_tool_1", "mekanismtools:refined_obsidian_pickaxe"); event.add('harmeng:meka/crafting_tool_1', 'mekanismtools:refined_obsidian_pickaxe');
event.add("harmeng:meka/crafting_tool_2", "minecraft:netherite_axe"); event.add('harmeng:meka/crafting_tool_2', 'minecraft:netherite_axe');
event.add("harmeng:meka/crafting_tool_2", "mekanismtools:refined_obsidian_axe"); event.add('harmeng:meka/crafting_tool_2', 'mekanismtools:refined_obsidian_axe');
event.add("harmeng:meka/crafting_helm", "minecraft:netherite_helmet"); event.add('harmeng:meka/crafting_helm', 'minecraft:netherite_helmet');
event.add("harmeng:meka/crafting_helm", "mekanismtools:refined_obsidian_helmet"); event.add('harmeng:meka/crafting_helm', 'mekanismtools:refined_obsidian_helmet');
event.add("harmeng:meka/crafting_chest", "minecraft:netherite_chestplate"); event.add('harmeng:meka/crafting_chest', 'minecraft:netherite_chestplate');
event.add("harmeng:meka/crafting_chest", "mekanismtools:refined_obsidian_chestplate"); event.add('harmeng:meka/crafting_chest', 'mekanismtools:refined_obsidian_chestplate');
event.add("harmeng:meka/crafting_legs", "minecraft:netherite_leggings"); event.add('harmeng:meka/crafting_legs', 'minecraft:netherite_leggings');
event.add("harmeng:meka/crafting_legs", "mekanismtools:refined_obsidian_leggings"); event.add('harmeng:meka/crafting_legs', 'mekanismtools:refined_obsidian_leggings');
event.add("harmeng:meka/crafting_boots", "minecraft:netherite_boots"); event.add('harmeng:meka/crafting_boots', 'minecraft:netherite_boots');
event.add("harmeng:meka/crafting_boots", "mekanismtools:refined_obsidian_boots"); event.add('harmeng:meka/crafting_boots', 'mekanismtools:refined_obsidian_boots');
}; };
const naturalProgressionTags = (event) => { const naturalProgressionTags = event => {
event.add("natural-progression:axes", "immersiveengineering:axe_steel"); event.add('natural-progression:axes', 'immersiveengineering:axe_steel');
event.add("natural-progression:axes", "mekanismtools:stone_paxel"); event.add('natural-progression:axes', 'mekanismtools:stone_paxel');
event.add("natural-progression:axes", "mekanismtools:iron_paxel"); event.add('natural-progression:axes', 'mekanismtools:iron_paxel');
event.add("natural-progression:axes", "mekanismtools:gold_paxel"); event.add('natural-progression:axes', 'mekanismtools:gold_paxel');
event.add("natural-progression:axes", "mekanismtools:diamond_paxel"); event.add('natural-progression:axes', 'mekanismtools:diamond_paxel');
event.add("natural-progression:axes", "mekanismtools:netherite_paxel"); event.add('natural-progression:axes', 'mekanismtools:netherite_paxel');
event.add("natural-progression:axes", "mekanismtools:bronze_axe"); event.add('natural-progression:axes', 'mekanismtools:bronze_axe');
event.add("natural-progression:axes", "mekanismtools:bronze_paxel"); event.add('natural-progression:axes', 'mekanismtools:bronze_paxel');
event.add("natural-progression:axes", "mekanismtools:osmium_axe"); event.add('natural-progression:axes', 'mekanismtools:osmium_axe');
event.add("natural-progression:axes", "mekanismtools:osmium_paxel"); event.add('natural-progression:axes', 'mekanismtools:osmium_paxel');
event.add("natural-progression:axes", "mekanismtools:lapis_lazuli_axe"); event.add('natural-progression:axes', 'mekanismtools:lapis_lazuli_axe');
event.add("natural-progression:axes", "mekanismtools:lapis_lazuli_paxel"); event.add('natural-progression:axes', 'mekanismtools:lapis_lazuli_paxel');
event.add("natural-progression:axes", "mekanismtools:refined_glowstone_axe"); event.add('natural-progression:axes', 'mekanismtools:refined_glowstone_axe');
event.add("natural-progression:axes", "mekanismtools:refined_obsidian_axe"); event.add('natural-progression:axes', 'mekanismtools:refined_obsidian_axe');
event.add("natural-progression:axes", "mekanismtools:refined_obsidian_paxel"); event.add('natural-progression:axes', 'mekanismtools:refined_obsidian_paxel');
event.add("natural-progression:axes", "mekanismtools:steel_axe"); event.add('natural-progression:axes', 'mekanismtools:steel_axe');
event.add("natural-progression:axes", "mekanismtools:steel_paxel"); event.add('natural-progression:axes', 'mekanismtools:steel_paxel');
event.add("natural-progression:axes", "tconstruct:hand_axe"); event.add('natural-progression:axes', 'tconstruct:hand_axe');
event.add("natural-progression:axes", "betterendforge:aeternium_axe"); event.add('natural-progression:axes', 'betterendforge:aeternium_axe');
event.add("natural-progression:axes", "betterendforge:thallasium_axe"); event.add('natural-progression:axes', 'betterendforge:thallasium_axe');
event.add("natural-progression:axes", "betterendforge:terminite_axe"); event.add('natural-progression:axes', 'betterendforge:terminite_axe');
event.add("natural-progression:axes", "betternether:cincinnasite_axe"); event.add('natural-progression:axes', 'betternether:cincinnasite_axe');
event.add("natural-progression:axes", "betternether:nether_ruby_axe"); event.add('natural-progression:axes', 'betternether:nether_ruby_axe');
event.add("natural-progression:axes", "mekanismtools:refined_glowstone_paxel"); event.add('natural-progression:axes', 'mekanismtools:refined_glowstone_paxel');
event.add("natural-progression:axes", "appliedenergistics2:certus_quartz_axe"); event.add('natural-progression:axes', 'appliedenergistics2:certus_quartz_axe');
event.add("natural-progression:axes", "appliedenergistics2:nether_quartz_axe"); event.add('natural-progression:axes', 'appliedenergistics2:nether_quartz_axe');
}; };
const thermalTags = (event) => { const thermalTags = event => {
event.add("thermal:crafting/dies", "immersiveengineering:mold_plate"); event.add('thermal:crafting/dies', 'immersiveengineering:mold_plate');
event.add("thermal:crafting/dies", "immersiveengineering:mold_gear"); event.add('thermal:crafting/dies', 'immersiveengineering:mold_gear');
event.add("thermal:crafting/dies", "immersiveengineering:mold_rod"); event.add('thermal:crafting/dies', 'immersiveengineering:mold_rod');
event.add("thermal:crafting/dies", "immersiveengineering:mold_bullet_casing"); event.add('thermal:crafting/dies', 'immersiveengineering:mold_bullet_casing');
event.add("thermal:crafting/dies", "immersiveengineering:mold_wire"); event.add('thermal:crafting/dies', 'immersiveengineering:mold_wire');
}; };
const removePlates = (event) => { const curiousElytraTags = event => {
["bronze", "constantan", "copper", "electrum", "enderium", "gold", "invar", "iron", "lead", "lumium", "nickel", "signalum", "silver", "tin"].forEach((mat) => { event.add('curios:back', 'alexsmobs:tarantula_hawk_elytra');
event.add('curios:back', 'mekanism:hdpe_elytra');
event.add('curios:back', 'tconstruct:slime_chestplate');
event.add('curios:back', 'redstone_arsenal:flux_elytra');
};
const removePlates = event => {
[
'bronze',
'constantan',
'copper',
'electrum',
'enderium',
'gold',
'invar',
'iron',
'lead',
'lumium',
'nickel',
'signalum',
'silver',
'tin',
].forEach(mat => {
event.remove(`forge:plates/${mat}`, `thermal:${mat}_plate`); event.remove(`forge:plates/${mat}`, `thermal:${mat}_plate`);
event.remove(`forge:plates`, `thermal:${mat}_plate`); event.remove(`forge:plates`, `thermal:${mat}_plate`);
}); });
["copper", "aluminum", "lead", "silver", "nickel", "uranium", "constantan", "electrum", "steel", "iron", "gold"].forEach((mat) => { [
'copper',
'aluminum',
'lead',
'silver',
'nickel',
'uranium',
'constantan',
'electrum',
'steel',
'iron',
'gold',
].forEach(mat => {
event.remove(`forge:plates/${mat}`, `immersiveengineering:plate_${mat}`); event.remove(`forge:plates/${mat}`, `immersiveengineering:plate_${mat}`);
event.remove(`forge:plates`, `immersiveengineering:plate_${mat}`); event.remove(`forge:plates`, `immersiveengineering:plate_${mat}`);
}); });
}; };
const removeGears = (event) => { const removeGears = event => {
["bronze", "constantan", "copper", "diamond", "electrum", "emerald", "enderium", "gold", "invar", "iron", "lapis", "lead", "lumium", "nickel", "quartz", "signalum", "silver", "tin"].forEach( [
(mat) => { 'bronze',
'constantan',
'copper',
'diamond',
'electrum',
'emerald',
'enderium',
'gold',
'invar',
'iron',
'lapis',
'lead',
'lumium',
'nickel',
'quartz',
'signalum',
'silver',
'tin',
].forEach(mat => {
event.remove(`forge:gears/${mat}`, `thermal:${mat}_gear`); event.remove(`forge:gears/${mat}`, `thermal:${mat}_gear`);
event.remove(`forge:gears`, `thermal:${mat}_gear`); event.remove(`forge:gears`, `thermal:${mat}_gear`);
} });
);
}; };
onEvent("tags.blocks", (event) => { onEvent('tags.blocks', event => {
event.add("forge:stone", "quark:deepslate"); event.add('forge:stone', 'quark:deepslate');
}); });
onEvent("tags.items", (event) => { onEvent('tags.items', event => {
harmoniousEngineeringTags(event); harmoniousEngineeringTags(event);
naturalProgressionTags(event); naturalProgressionTags(event);
removePlates(event); removePlates(event);
removeGears(event); removeGears(event);
thermalTags(event); thermalTags(event);
event.add("forge:stone", "quark:deepslate"); curiousElytraTags(event);
event.add("valhelsia_structures:axe_crafting_blacklisted", "#natural-progression:saw"); event.add('forge:stone', 'quark:deepslate');
event.add("forge:dusts/ender", "betterendforge:ender_dust"); event.add('valhelsia_structures:axe_crafting_blacklisted', '#natural-progression:saw');
event.add("forge:dusts/ender", "appliedenergistics2:ender_dust"); event.add('forge:dusts/ender', 'betterendforge:ender_dust');
event.add('forge:dusts/ender', 'appliedenergistics2:ender_dust');
}); });

View file

@ -1,13 +1,13 @@
// priority: 0 // priority: 0
onEvent("item.registry", (event) => { onEvent('item.registry', event => {
event.create("cloth_covered_windmill_blade").texture("kubejs:item/cloth_covered_windmill_blade"); event.create('cloth_covered_windmill_blade').texture('kubejs:item/cloth_covered_windmill_blade');
event.create("ender_singularity").texture("kubejs:item/ender_singularity"); event.create('ender_singularity').texture('kubejs:item/ender_singularity');
event.create("crude_andesite_alloy").texture("kubejs:item/crude_andesite_alloy"); event.create('crude_andesite_alloy').texture('kubejs:item/crude_andesite_alloy');
}); });
onEvent("item.modification", (event) => { onEvent('item.modification', event => {
event.modify("corail_woodcutter:acacia_woodcutter", (item) => { event.modify('corail_woodcutter:acacia_woodcutter', item => {
item.maxStackSize = 1; item.maxStackSize = 1;
}); });
}); });