port everything to KubeJS
This commit is contained in:
parent
3acef7947c
commit
50ad720258
1125 changed files with 39415 additions and 15189 deletions
517
kubejs/server_scripts/HarmoniousEngineering/recipes/_custom.js
Normal file
517
kubejs/server_scripts/HarmoniousEngineering/recipes/_custom.js
Normal file
|
|
@ -0,0 +1,517 @@
|
|||
const bottler = (event) => {
|
||||
// Treated planks in the bottler
|
||||
event.custom({
|
||||
type: "thermal:bottler",
|
||||
ingredient: [
|
||||
{
|
||||
tag: "minecraft:planks",
|
||||
},
|
||||
{
|
||||
fluid: "immersiveengineering:creosote",
|
||||
amount: 125,
|
||||
},
|
||||
],
|
||||
result: [
|
||||
{
|
||||
item: "immersiveengineering:treated_wood_horizontal",
|
||||
},
|
||||
],
|
||||
});
|
||||
};
|
||||
|
||||
const campfire = (event) => {
|
||||
// Cast-Iron from campfire
|
||||
event.campfireCooking(
|
||||
"1x emendatusenigmatica:cast_iron_ingot",
|
||||
"#forge:ingots/iron"
|
||||
);
|
||||
};
|
||||
|
||||
const crafting = (event) => {
|
||||
event.custom({
|
||||
type: "natural-progression:damage_tools",
|
||||
ingredients: [
|
||||
{
|
||||
item: "minecraft:clay",
|
||||
},
|
||||
{
|
||||
tag: "forge:pebbles",
|
||||
},
|
||||
{
|
||||
tag: "forge:pebbles",
|
||||
},
|
||||
{
|
||||
item: "emendatusenigmatica:zinc_chunk",
|
||||
},
|
||||
{
|
||||
tag: "natural-progression:saw",
|
||||
},
|
||||
],
|
||||
result: {
|
||||
item: "create:andesite_alloy",
|
||||
count: 1,
|
||||
nbt: {
|
||||
display: {
|
||||
Name: '{"text": "Crude Andesite Alloy", "italic": "false"}',
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
event.custom({
|
||||
type: "natural-progression:damage_tools",
|
||||
ingredients: [
|
||||
{
|
||||
item: "minecraft:clay",
|
||||
},
|
||||
{
|
||||
tag: "forge:pebbles",
|
||||
},
|
||||
{
|
||||
tag: "forge:pebbles",
|
||||
},
|
||||
{
|
||||
item: "emendatusenigmatica:iron_chunk",
|
||||
},
|
||||
{
|
||||
tag: "natural-progression:saw",
|
||||
},
|
||||
],
|
||||
result: {
|
||||
item: "create:andesite_alloy",
|
||||
count: 1,
|
||||
nbt: {
|
||||
display: {
|
||||
Name: '{"text": "Crude Andesite Alloy", "italic": "false"}',
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
event.custom({
|
||||
type: "natural-progression:damage_tools",
|
||||
ingredients: [
|
||||
{
|
||||
item: "minecraft:shears",
|
||||
},
|
||||
{
|
||||
tag: "minecraft:wool",
|
||||
},
|
||||
],
|
||||
result: {
|
||||
item: "minecraft:string",
|
||||
count: 3,
|
||||
},
|
||||
});
|
||||
|
||||
event.shapeless("4x minecraft:clay_ball", ["minecraft:clay"]);
|
||||
event.shaped("16x supplementaries:cog_block", ["ccc", "cgc", "ccc"], {
|
||||
g: "#forge:gears/copper",
|
||||
c: "#forge:ingots/copper",
|
||||
});
|
||||
event.shaped("32x supplementaries:cog_block", ["ccc", "cgc", "ccc"], {
|
||||
g: "#forge:gears/signalum",
|
||||
c: "#forge:ingots/signalum",
|
||||
});
|
||||
|
||||
event.remove({ id: "quark:building/crafting/chests/chest_revert" });
|
||||
event.shapeless("1x minecraft:chest", ["#forge:chests/wooden"]);
|
||||
event.shapeless("1x minecraft:trapped_chest", ["#forge:chests/trapped"]);
|
||||
|
||||
event.shapeless("4x appliedenergistics2:sky_stone_block", [
|
||||
"3x #forge:stone",
|
||||
"#forge:silicon",
|
||||
]);
|
||||
|
||||
// chipped planks for quark chest crafting
|
||||
[
|
||||
"acacia",
|
||||
"birch",
|
||||
"crimson",
|
||||
"dark_oak",
|
||||
"jungle",
|
||||
"oak",
|
||||
"spruce",
|
||||
"warped",
|
||||
].forEach((plank) => {
|
||||
event.shaped(`1x quark:${plank}_chest`, ["ppp", "p p", "ppp"], {
|
||||
p: `#chipped:${plank}_planks`,
|
||||
});
|
||||
});
|
||||
|
||||
// Craft chests out of chestless planks
|
||||
event.shaped("4x minecraft:chest", ["lll", "l l", "lll"], {
|
||||
l: "#harmeng:chestless_logs",
|
||||
});
|
||||
event.shaped("minecraft:chest", ["ppp", "p p", "ppp"], {
|
||||
p: "#harmeng:chestless_planks",
|
||||
});
|
||||
};
|
||||
|
||||
const metallurgicInfuser = (event) => {
|
||||
event.custom({
|
||||
type: "mekanism:metallurgic_infusing",
|
||||
itemInput: {
|
||||
ingredient: {
|
||||
tag: "forge:storage_blocks/uranium",
|
||||
},
|
||||
},
|
||||
infusionInput: {
|
||||
amount: 90,
|
||||
tag: "mekanism:redstone",
|
||||
},
|
||||
output: {
|
||||
item: "powah:uraninite_block",
|
||||
},
|
||||
});
|
||||
|
||||
event.custom({
|
||||
type: "mekanism:metallurgic_infusing",
|
||||
itemInput: {
|
||||
ingredient: {
|
||||
tag: "forge:ingots/uranium",
|
||||
},
|
||||
},
|
||||
infusionInput: {
|
||||
amount: 10,
|
||||
tag: "mekanism:redstone",
|
||||
},
|
||||
output: {
|
||||
item: "powah:uraninite",
|
||||
},
|
||||
});
|
||||
};
|
||||
|
||||
const multiservoPress = (event) => {
|
||||
// Recipes for IE wires from multiservo press
|
||||
event.custom({
|
||||
type: "thermal:press",
|
||||
ingredients: [
|
||||
{
|
||||
tag: "forge:ingots/aluminum",
|
||||
},
|
||||
{
|
||||
item: "immersiveengineering:mold_wire",
|
||||
},
|
||||
],
|
||||
result: [
|
||||
{
|
||||
item: "immersiveengineering:wire_aluminum",
|
||||
count: 2,
|
||||
},
|
||||
],
|
||||
});
|
||||
|
||||
event.custom({
|
||||
type: "thermal:press",
|
||||
ingredients: [
|
||||
{
|
||||
tag: "forge:ingots/copper",
|
||||
},
|
||||
{
|
||||
item: "immersiveengineering:mold_wire",
|
||||
},
|
||||
],
|
||||
result: [
|
||||
{
|
||||
item: "immersiveengineering:wire_copper",
|
||||
count: 2,
|
||||
},
|
||||
],
|
||||
});
|
||||
event.custom({
|
||||
type: "thermal:press",
|
||||
ingredients: [
|
||||
{
|
||||
tag: "forge:ingots/electrum",
|
||||
},
|
||||
{
|
||||
item: "immersiveengineering:mold_wire",
|
||||
},
|
||||
],
|
||||
result: [
|
||||
{
|
||||
item: "immersiveengineering:wire_electrum",
|
||||
count: 2,
|
||||
},
|
||||
],
|
||||
});
|
||||
event.custom({
|
||||
type: "thermal:press",
|
||||
ingredients: [
|
||||
{
|
||||
tag: "forge:ingots/gold",
|
||||
},
|
||||
{
|
||||
item: "immersiveengineering:mold_wire",
|
||||
},
|
||||
],
|
||||
result: [
|
||||
{
|
||||
item: "createaddition:gold_wire",
|
||||
count: 2,
|
||||
},
|
||||
],
|
||||
});
|
||||
event.custom({
|
||||
type: "thermal:press",
|
||||
ingredients: [
|
||||
{
|
||||
tag: "forge:ingots/iron",
|
||||
},
|
||||
{
|
||||
item: "immersiveengineering:mold_wire",
|
||||
},
|
||||
],
|
||||
result: [
|
||||
{
|
||||
item: "createaddition:iron_wire",
|
||||
count: 2,
|
||||
},
|
||||
],
|
||||
});
|
||||
event.custom({
|
||||
type: "thermal:press",
|
||||
ingredients: [
|
||||
{
|
||||
tag: "forge:ingots/lead",
|
||||
},
|
||||
{
|
||||
item: "immersiveengineering:mold_wire",
|
||||
},
|
||||
],
|
||||
result: [
|
||||
{
|
||||
item: "immersiveengineering:wire_lead",
|
||||
count: 2,
|
||||
},
|
||||
],
|
||||
});
|
||||
event.custom({
|
||||
type: "thermal:press",
|
||||
ingredients: [
|
||||
{
|
||||
tag: "forge:ingots/steel",
|
||||
},
|
||||
{
|
||||
item: "immersiveengineering:mold_wire",
|
||||
},
|
||||
],
|
||||
result: [
|
||||
{
|
||||
item: "immersiveengineering:wire_steel",
|
||||
count: 2,
|
||||
},
|
||||
],
|
||||
});
|
||||
event.custom({
|
||||
type: "thermal:press",
|
||||
ingredients: [
|
||||
{
|
||||
tag: "forge:ingots/copper",
|
||||
},
|
||||
{
|
||||
item: "immersiveengineering:mold_bullet_casing",
|
||||
},
|
||||
],
|
||||
result: [
|
||||
{
|
||||
item: "immersiveengineering:empty_casing",
|
||||
count: 2,
|
||||
},
|
||||
],
|
||||
});
|
||||
};
|
||||
|
||||
const stonecutter = (event) => {
|
||||
event.stonecutting(
|
||||
"appliedenergistics2:calculation_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:silicon_press",
|
||||
"#forge:plates/steel"
|
||||
);
|
||||
event.stonecutting("appliedenergistics2:name_press", "#forge:plates/steel");
|
||||
};
|
||||
|
||||
const woodcutter = (event) => {
|
||||
// Lots of wonky dynamic logic for reducing hundreds of JSON files to a few hundred lines ;)
|
||||
[
|
||||
"atmospheric:aspen",
|
||||
"atmospheric:grimwood",
|
||||
"atmospheric:kousa",
|
||||
"atmospheric:morado",
|
||||
"atmospheric:rosewood",
|
||||
"atmospheric:yucca",
|
||||
"autumnity:maple",
|
||||
"betterendforge:dragon_tree",
|
||||
"betterendforge:end_lotus",
|
||||
"betterendforge:helix_tree",
|
||||
"betterendforge:jellyshroom",
|
||||
"betterendforge:lacugrove",
|
||||
"betterendforge:lucernia",
|
||||
"betterendforge:mossy_glowshroom",
|
||||
"betterendforge:pythadendron",
|
||||
"betterendforge:tenanea",
|
||||
"betterendforge:umbrella_tree",
|
||||
"enhanced_mushrooms:brown_mushroom",
|
||||
"enhanced_mushrooms:glowshroom",
|
||||
"enhanced_mushrooms:red_mushroom",
|
||||
"tconstruct:bloodshroom",
|
||||
"tconstruct:greenheart",
|
||||
"tconstruct:skyroot",
|
||||
"upgrade_aquatic:driftwood",
|
||||
"upgrade_aquatic:river",
|
||||
].forEach((wood) => {
|
||||
[
|
||||
{ type: "button", qty: 4 },
|
||||
{ type: "door", qty: 1 },
|
||||
{ type: "fence_gate", qty: 1 },
|
||||
{ type: "fence", qty: 1 },
|
||||
{ type: "gate", qty: 1 },
|
||||
{ type: "pressure_plate", qty: 3 },
|
||||
{ type: "sign", qty: 1 },
|
||||
{ type: "slab", qty: 2 },
|
||||
{ type: "stairs", qty: 1 },
|
||||
{ type: "trapdoor", qty: 2 },
|
||||
].forEach((x) => {
|
||||
const { type, qty } = x;
|
||||
event.custom({
|
||||
type: "corail_woodcutter:woodcutting",
|
||||
ingredient: {
|
||||
item: `${wood}_planks`,
|
||||
},
|
||||
result: `${wood}_${type}`,
|
||||
count: qty,
|
||||
conditions: [
|
||||
{
|
||||
type: "forge:mod_loaded",
|
||||
modid: "corail_woodcutter",
|
||||
},
|
||||
{
|
||||
type: "forge:mod_loaded",
|
||||
modid: wood.split(":")[0],
|
||||
},
|
||||
{
|
||||
// Check that the generated item actually exists
|
||||
type: "forge:item_exists",
|
||||
item: `${wood}_${type}`,
|
||||
},
|
||||
],
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
[
|
||||
"atmospheric:aspen_logs",
|
||||
"atmospheric:grimwood_logs",
|
||||
"atmospheric:morado_logs",
|
||||
"atmospheric:rosewood_logs",
|
||||
"atmospheric:yucca_logs",
|
||||
"autumnity:maple_logs",
|
||||
"enhanced_mushrooms:brown_mushroom_stems",
|
||||
"enhanced_mushrooms:glowshroom_stems",
|
||||
"enhanced_mushrooms:red_mushroom_stems",
|
||||
"upgrade_aquatic:driftwood_logs",
|
||||
"upgrade_aquatic:river_logs",
|
||||
].forEach((wood) => {
|
||||
const [modid, path] = wood.split(":");
|
||||
[
|
||||
{ type: "beam", qty: 1 },
|
||||
{ type: "palisade", qty: 4 },
|
||||
].forEach((x) => {
|
||||
const { type, qty } = x;
|
||||
const output = `decorative_blocks_abnormals:${path}_${type}`
|
||||
.replace("_logs", "")
|
||||
.replace("_stems", "");
|
||||
event.custom({
|
||||
type: "corail_woodcutter:woodcutting",
|
||||
ingredient: { tag: wood },
|
||||
result: output,
|
||||
count: qty,
|
||||
conditions: [
|
||||
{
|
||||
type: "forge:mod_loaded",
|
||||
modid: "corail_woodcutter",
|
||||
},
|
||||
{
|
||||
type: "forge:mod_loaded",
|
||||
modid: modid,
|
||||
},
|
||||
{
|
||||
// Check that the generated item actually exists
|
||||
type: "forge:item_exists",
|
||||
item: output,
|
||||
},
|
||||
],
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
[
|
||||
"atmospheric:aspen_planks",
|
||||
"atmospheric:grimwood_planks",
|
||||
"atmospheric:morado_planks",
|
||||
"atmospheric:rosewood_planks",
|
||||
"atmospheric:yucca_planks",
|
||||
"autumnity:maple_planks",
|
||||
"enhanced_mushrooms:brown_mushroom_planks",
|
||||
"enhanced_mushrooms:glowshroom_planks",
|
||||
"enhanced_mushrooms:red_mushroom_planks",
|
||||
"upgrade_aquatic:driftwood_planks",
|
||||
"upgrade_aquatic:river_planks",
|
||||
].forEach((wood) => {
|
||||
const [modid, path] = wood.split(":");
|
||||
[
|
||||
{ type: "seat", qty: 1 },
|
||||
{ type: "support", qty: 1 },
|
||||
].forEach((x) => {
|
||||
const { type, qty } = x;
|
||||
const output = `decorative_blocks_abnormals:${path}_${type}`.replace(
|
||||
"_planks",
|
||||
""
|
||||
);
|
||||
event.custom({
|
||||
type: "corail_woodcutter:woodcutting",
|
||||
ingredient: { item: wood },
|
||||
result: output,
|
||||
count: qty,
|
||||
conditions: [
|
||||
{
|
||||
type: "forge:mod_loaded",
|
||||
modid: "corail_woodcutter",
|
||||
},
|
||||
{
|
||||
type: "forge:mod_loaded",
|
||||
modid: modid,
|
||||
},
|
||||
{
|
||||
// Check that the generated item actually exists
|
||||
type: "forge:item_exists",
|
||||
item: output,
|
||||
},
|
||||
],
|
||||
});
|
||||
});
|
||||
});
|
||||
};
|
||||
|
||||
// Completely custom, non-replacing recipes
|
||||
onEvent("recipes", (event) => {
|
||||
bottler(event);
|
||||
campfire(event);
|
||||
crafting(event);
|
||||
metallurgicInfuser(event);
|
||||
multiservoPress(event);
|
||||
stonecutter(event);
|
||||
woodcutter(event);
|
||||
});
|
||||
54
kubejs/server_scripts/HarmoniousEngineering/recipes/ae2.js
Normal file
54
kubejs/server_scripts/HarmoniousEngineering/recipes/ae2.js
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
onEvent("recipes", (event) => {
|
||||
event.remove({ output: "appliedenergistics2:grindstone" });
|
||||
event.remove({ output: "appliedenergistics2:controller" });
|
||||
event.remove({ output: "appliedenergistics2:inscriber" });
|
||||
|
||||
event.smithing(
|
||||
"appliedenergistics2:controller",
|
||||
"storagenetwork:master",
|
||||
"appliedenergistics2:engineering_processor"
|
||||
);
|
||||
|
||||
event.smithing(
|
||||
"appliedenergistics2:inscriber",
|
||||
"#harmeng:presses",
|
||||
"appliedenergistics2:purified_fluix_crystal"
|
||||
);
|
||||
|
||||
// AE2 crushing in IE Crusher
|
||||
event.custom({
|
||||
type: "immersiveengineering:crusher",
|
||||
secondaries: [],
|
||||
result: {
|
||||
item: "emendatusenigmatica:certus_quartz_dust",
|
||||
},
|
||||
input: {
|
||||
tag: "forge:gems/certus_quartz",
|
||||
},
|
||||
energy: 1600,
|
||||
});
|
||||
|
||||
event.custom({
|
||||
type: "immersiveengineering:crusher",
|
||||
secondaries: [],
|
||||
result: {
|
||||
item: "emendatusenigmatica:fluix_dust",
|
||||
},
|
||||
input: {
|
||||
tag: "forge:gems/fluix",
|
||||
},
|
||||
energy: 1600,
|
||||
});
|
||||
|
||||
event.custom({
|
||||
type: "immersiveengineering:crusher",
|
||||
secondaries: [],
|
||||
result: {
|
||||
item: "emendatusenigmatica:quartz_dust",
|
||||
},
|
||||
input: {
|
||||
tag: "forge:gems/quartz",
|
||||
},
|
||||
energy: 1600,
|
||||
});
|
||||
});
|
||||
|
|
@ -0,0 +1,29 @@
|
|||
onEvent("recipes", (event) => {
|
||||
event.remove({ output: "chickenchunks:chunk_loader" });
|
||||
event.remove({ output: "chickenchunks:spot_loader" });
|
||||
|
||||
event.smithing(
|
||||
"chickenchunks:chunk_loader",
|
||||
"minecraft:enchanting_table",
|
||||
"rftoolsbase:infused_enderpearl"
|
||||
);
|
||||
|
||||
event.shaped("1x chickenchunks:chunk_loader", ["xxx", "xxx", "xxx"], {
|
||||
x: "chickenchunks:spot_loader",
|
||||
});
|
||||
event.custom({
|
||||
type: "natural-progression:damage_tools",
|
||||
ingredients: [
|
||||
{
|
||||
item: "chickenchunks:chunk_loader",
|
||||
},
|
||||
{
|
||||
tag: "harmeng:diamond_tier_saws",
|
||||
},
|
||||
],
|
||||
result: {
|
||||
item: "chickenchunks:spot_loader",
|
||||
count: 9,
|
||||
},
|
||||
});
|
||||
});
|
||||
|
|
@ -0,0 +1,35 @@
|
|||
onEvent("recipes", (event) => {
|
||||
event.remove({ output: "compactmachines:wall" });
|
||||
event.remove({ output: "compactmachines:machine_tiny" });
|
||||
event.remove({ output: "compactmachines:machine_small" });
|
||||
event.remove({ output: "compactmachines:machine_normal" });
|
||||
event.remove({ output: "compactmachines:machine_large" });
|
||||
event.remove({ output: "compactmachines:machine_giant" });
|
||||
event.remove({ output: "compactmachines:machine_maximum" });
|
||||
|
||||
event.smithing(
|
||||
"compactmachines:wall",
|
||||
"minecraft:iron_block",
|
||||
"minecraft:redstone"
|
||||
);
|
||||
event.smithing(
|
||||
"compactmachines:machine_tiny",
|
||||
"immersiveengineering:heavy_engineering",
|
||||
"immersiveengineering:circuit_board"
|
||||
);
|
||||
event.smithing(
|
||||
"compactmachines:machine_small",
|
||||
"compactmachines:machine_tiny",
|
||||
"immersiveengineering:maintenance_kit"
|
||||
);
|
||||
event.smithing(
|
||||
"compactmachines:machine_normal",
|
||||
"compactmachines:machine_small",
|
||||
"immersivepetroleum:projector"
|
||||
);
|
||||
event.smithing(
|
||||
"compactmachines:machine_large",
|
||||
"compactmachines:machine_normal",
|
||||
"entangled:block"
|
||||
);
|
||||
});
|
||||
|
|
@ -0,0 +1,31 @@
|
|||
onEvent("recipes", (event) => {
|
||||
event.remove({ output: "corail_woodcutter:acacia_woodcutter" });
|
||||
event.remove({ output: "corail_woodcutter:birch_woodcutter" });
|
||||
event.remove({ output: "corail_woodcutter:black_stained_woodcutter" });
|
||||
event.remove({ output: "corail_woodcutter:blue_stained_woodcutter" });
|
||||
event.remove({ output: "corail_woodcutter:brown_stained_woodcutter" });
|
||||
event.remove({ output: "corail_woodcutter:crimson_woodcutter" });
|
||||
event.remove({ output: "corail_woodcutter:cyan_stained_woodcutter" });
|
||||
event.remove({ output: "corail_woodcutter:dark_oak_woodcutter" });
|
||||
event.remove({ output: "corail_woodcutter:gray_stained_woodcutter" });
|
||||
event.remove({ output: "corail_woodcutter:green_stained_woodcutter" });
|
||||
event.remove({ output: "corail_woodcutter:jungle_woodcutter" });
|
||||
event.remove({ output: "corail_woodcutter:light_blue_stained_woodcutter" });
|
||||
event.remove({ output: "corail_woodcutter:light_gray_stained_woodcutter" });
|
||||
event.remove({ output: "corail_woodcutter:lime_stained_woodcutter" });
|
||||
event.remove({ output: "corail_woodcutter:magenta_stained_woodcutter" });
|
||||
event.remove({ output: "corail_woodcutter:oak_woodcutter" });
|
||||
event.remove({ output: "corail_woodcutter:orange_stained_woodcutter" });
|
||||
event.remove({ output: "corail_woodcutter:pink_stained_woodcutter" });
|
||||
event.remove({ output: "corail_woodcutter:purple_stained_woodcutter" });
|
||||
event.remove({ output: "corail_woodcutter:red_stained_woodcutter" });
|
||||
event.remove({ output: "corail_woodcutter:spruce_woodcutter" });
|
||||
event.remove({ output: "corail_woodcutter:warped_woodcutter" });
|
||||
event.remove({ output: "corail_woodcutter:white_stained_woodcutter" });
|
||||
event.remove({ output: "corail_woodcutter:yellow_stained_woodcutter" });
|
||||
|
||||
event.shaped("1x corail_woodcutter:oak_woodcutter", [" B ", "PPP"], {
|
||||
B: "#harmeng:saw_blade",
|
||||
P: "#minecraft:planks",
|
||||
});
|
||||
});
|
||||
|
|
@ -0,0 +1,38 @@
|
|||
onEvent("recipes", (event) => {
|
||||
event.remove({ output: "create:copper_ingot" });
|
||||
event.remove({ output: "create:zinc_ingot" });
|
||||
|
||||
event.remove({ output: "create:hand_crank" });
|
||||
event.remove({ output: "create:shaft" });
|
||||
event.remove({ output: "create:water_wheel" });
|
||||
// Leave the createadditions recipe behind
|
||||
event.remove({ id: "create:crafting/kinetics/white_sail" });
|
||||
event.remove({ id: "create:cutting/andesite_alloy" });
|
||||
|
||||
event.shaped("18x create:shaft", ["R", "R"], { R: "#forge:rods/steel" });
|
||||
event.shaped("1x create:hand_crank", [" C ", "PPP", " A"], {
|
||||
P: "#minecraft:planks",
|
||||
C: "create:cogwheel",
|
||||
A: "create:andesite_alloy",
|
||||
});
|
||||
event.shaped("1x create:water_wheel", ["SSS", "SCS", "SSS"], {
|
||||
S: "#forge:treated_wood_slab",
|
||||
C: "create:large_cogwheel",
|
||||
});
|
||||
|
||||
event.custom({
|
||||
type: "create:cutting",
|
||||
ingredients: [
|
||||
{
|
||||
tag: "forge:ingots/steel",
|
||||
},
|
||||
],
|
||||
results: [
|
||||
{
|
||||
item: "create:shaft",
|
||||
count: 20,
|
||||
},
|
||||
],
|
||||
processingTime: 200,
|
||||
});
|
||||
});
|
||||
|
|
@ -0,0 +1,49 @@
|
|||
onEvent("recipes", (event) => {
|
||||
event.remove({ output: "doomangelring:itemdoomangelring" });
|
||||
|
||||
event.custom({
|
||||
type: "create:mechanical_crafting",
|
||||
pattern: [
|
||||
"FFBBBFF",
|
||||
"FBNRNBF",
|
||||
"BHSGSHB",
|
||||
"BLT TLB",
|
||||
"BHSGSHB",
|
||||
" BNRNB ",
|
||||
" BBB ",
|
||||
],
|
||||
key: {
|
||||
B: {
|
||||
item: "create:brass_ingot",
|
||||
},
|
||||
S: {
|
||||
item: "minecraft:nether_star",
|
||||
},
|
||||
G: {
|
||||
item: "tconstruct:hepatizon_ingot",
|
||||
},
|
||||
R: {
|
||||
item: "create:refined_radiance",
|
||||
},
|
||||
L: {
|
||||
item: "alexsmobs:void_worm_eye",
|
||||
},
|
||||
H: {
|
||||
item: "buzzier_bees:bee_bottle",
|
||||
},
|
||||
N: {
|
||||
item: "minecraft:netherite_block",
|
||||
},
|
||||
T: {
|
||||
item: "alexsmobs:tarantula_hawk_wing",
|
||||
},
|
||||
F: {
|
||||
item: "minecraft:feather",
|
||||
},
|
||||
},
|
||||
result: {
|
||||
item: "doomangelring:itemdoomangelring",
|
||||
count: 1,
|
||||
},
|
||||
});
|
||||
});
|
||||
|
|
@ -0,0 +1,23 @@
|
|||
onEvent("recipes", (event) => {
|
||||
event.remove({ output: "enderstorage:ender_chest" });
|
||||
event.remove({ output: "enderstorage:ender_tank" });
|
||||
event.remove({ output: "enderstorage:ender_pouch" });
|
||||
|
||||
event.smithing(
|
||||
"enderstorage:ender_chest",
|
||||
"minecraft:ender_chest",
|
||||
"#forge:storage_blocks/enderium"
|
||||
);
|
||||
|
||||
event.smithing(
|
||||
"enderstorage:ender_tank",
|
||||
"#harmeng:basic_tank",
|
||||
"#forge:storage_blocks/enderium"
|
||||
);
|
||||
|
||||
event.smithing(
|
||||
"enderstorage:ender_pouch",
|
||||
"improvedbackpacks:large_pocket",
|
||||
"#forge:storage_blocks/enderium"
|
||||
);
|
||||
});
|
||||
|
|
@ -0,0 +1,407 @@
|
|||
onEvent("recipes", (event) => {
|
||||
event.remove({
|
||||
id: "enhanced_mushrooms:crafting/red_mushroom/red_mushroom_planks",
|
||||
});
|
||||
event.remove({
|
||||
id: "enhanced_mushrooms:crafting/brown_mushroom/brown_mushroom_planks",
|
||||
});
|
||||
event.remove({
|
||||
id: "enhanced_mushrooms:crafting/glowshroom/glowshroom_planks",
|
||||
});
|
||||
|
||||
event.custom({
|
||||
conditions: [
|
||||
{
|
||||
type: "forge:mod_loaded",
|
||||
modid: "enhanced_mushrooms",
|
||||
},
|
||||
],
|
||||
type: "natural-progression:damage_tools",
|
||||
ingredients: [
|
||||
{
|
||||
item: "enhanced_mushrooms:stripped_red_mushroom_stem",
|
||||
},
|
||||
{
|
||||
tag: "natural-progression:saw",
|
||||
},
|
||||
],
|
||||
result: {
|
||||
item: "enhanced_mushrooms:red_mushroom_planks",
|
||||
count: 4,
|
||||
},
|
||||
});
|
||||
|
||||
event.custom({
|
||||
conditions: [
|
||||
{
|
||||
type: "forge:mod_loaded",
|
||||
modid: "enhanced_mushrooms",
|
||||
},
|
||||
],
|
||||
type: "natural-progression:damage_tools",
|
||||
ingredients: [
|
||||
{
|
||||
item: "enhanced_mushrooms:stripped_brown_mushroom_stem",
|
||||
},
|
||||
{
|
||||
tag: "natural-progression:saw",
|
||||
},
|
||||
],
|
||||
result: {
|
||||
item: "enhanced_mushrooms:brown_mushroom_planks",
|
||||
count: 4,
|
||||
},
|
||||
});
|
||||
|
||||
event.custom({
|
||||
conditions: [
|
||||
{
|
||||
type: "forge:mod_loaded",
|
||||
modid: "enhanced_mushrooms",
|
||||
},
|
||||
],
|
||||
type: "natural-progression:damage_tools",
|
||||
ingredients: [
|
||||
{
|
||||
item: "enhanced_mushrooms:stripped_glowshroom_stem",
|
||||
},
|
||||
{
|
||||
tag: "natural-progression:saw",
|
||||
},
|
||||
],
|
||||
result: {
|
||||
item: "enhanced_mushrooms:glowshroom_planks",
|
||||
count: 4,
|
||||
},
|
||||
});
|
||||
|
||||
event.custom({
|
||||
conditions: [
|
||||
{
|
||||
type: "forge:mod_loaded",
|
||||
modid: "enhanced_mushrooms",
|
||||
},
|
||||
],
|
||||
type: "natural-progression:damage_tools",
|
||||
ingredients: [
|
||||
{
|
||||
item: "enhanced_mushrooms:stripped_brown_mushroom_hyphae",
|
||||
},
|
||||
{
|
||||
tag: "natural-progression:axe",
|
||||
},
|
||||
],
|
||||
result: {
|
||||
item: "enhanced_mushrooms:brown_mushroom_planks",
|
||||
count: 1,
|
||||
},
|
||||
});
|
||||
|
||||
event.custom({
|
||||
conditions: [
|
||||
{
|
||||
type: "forge:mod_loaded",
|
||||
modid: "enhanced_mushrooms",
|
||||
},
|
||||
],
|
||||
type: "natural-progression:damage_tools",
|
||||
ingredients: [
|
||||
{
|
||||
item: "enhanced_mushrooms:stripped_brown_mushroom_stem",
|
||||
},
|
||||
{
|
||||
tag: "natural-progression:axe",
|
||||
},
|
||||
],
|
||||
result: {
|
||||
item: "enhanced_mushrooms:brown_mushroom_planks",
|
||||
count: 1,
|
||||
},
|
||||
});
|
||||
|
||||
event.custom({
|
||||
conditions: [
|
||||
{
|
||||
type: "forge:mod_loaded",
|
||||
modid: "enhanced_mushrooms",
|
||||
},
|
||||
],
|
||||
type: "natural-progression:damage_tools",
|
||||
ingredients: [
|
||||
{
|
||||
item: "enhanced_mushrooms:stripped_glowshroom_hyphae",
|
||||
},
|
||||
{
|
||||
tag: "natural-progression:axe",
|
||||
},
|
||||
],
|
||||
result: {
|
||||
item: "enhanced_mushrooms:glowshroom_planks",
|
||||
count: 1,
|
||||
},
|
||||
});
|
||||
|
||||
event.custom({
|
||||
conditions: [
|
||||
{
|
||||
type: "forge:mod_loaded",
|
||||
modid: "enhanced_mushrooms",
|
||||
},
|
||||
],
|
||||
type: "natural-progression:damage_tools",
|
||||
ingredients: [
|
||||
{
|
||||
item: "enhanced_mushrooms:stripped_glowshroom_stem",
|
||||
},
|
||||
{
|
||||
tag: "natural-progression:axe",
|
||||
},
|
||||
],
|
||||
result: {
|
||||
item: "enhanced_mushrooms:glowshroom_planks",
|
||||
count: 1,
|
||||
},
|
||||
});
|
||||
|
||||
event.custom({
|
||||
conditions: [
|
||||
{
|
||||
type: "forge:mod_loaded",
|
||||
modid: "enhanced_mushrooms",
|
||||
},
|
||||
],
|
||||
type: "natural-progression:damage_tools",
|
||||
ingredients: [
|
||||
{
|
||||
item: "enhanced_mushrooms:stripped_red_mushroom_hyphae",
|
||||
},
|
||||
{
|
||||
tag: "natural-progression:axe",
|
||||
},
|
||||
],
|
||||
result: {
|
||||
item: "enhanced_mushrooms:red_mushroom_planks",
|
||||
count: 1,
|
||||
},
|
||||
});
|
||||
|
||||
event.custom({
|
||||
conditions: [
|
||||
{
|
||||
type: "forge:mod_loaded",
|
||||
modid: "enhanced_mushrooms",
|
||||
},
|
||||
],
|
||||
type: "natural-progression:damage_tools",
|
||||
ingredients: [
|
||||
{
|
||||
item: "enhanced_mushrooms:stripped_red_mushroom_stem",
|
||||
},
|
||||
{
|
||||
tag: "natural-progression:axe",
|
||||
},
|
||||
],
|
||||
result: {
|
||||
item: "enhanced_mushrooms:red_mushroom_planks",
|
||||
count: 1,
|
||||
},
|
||||
});
|
||||
|
||||
event.custom({
|
||||
conditions: [
|
||||
{
|
||||
type: "forge:mod_loaded",
|
||||
modid: "enhanced_mushrooms",
|
||||
},
|
||||
],
|
||||
type: "natural-progression:damage_tools",
|
||||
ingredients: [
|
||||
{
|
||||
item: "enhanced_mushrooms:brown_mushroom_hyphae",
|
||||
},
|
||||
{
|
||||
tag: "natural-progression:saw",
|
||||
},
|
||||
],
|
||||
result: {
|
||||
item: "enhanced_mushrooms:stripped_brown_mushroom_hyphae",
|
||||
count: 1,
|
||||
},
|
||||
});
|
||||
|
||||
event.custom({
|
||||
conditions: [
|
||||
{
|
||||
type: "forge:mod_loaded",
|
||||
modid: "enhanced_mushrooms",
|
||||
},
|
||||
],
|
||||
type: "natural-progression:damage_tools",
|
||||
ingredients: [
|
||||
{
|
||||
item: "enhanced_mushrooms:brown_mushroom_stem",
|
||||
},
|
||||
{
|
||||
tag: "natural-progression:saw",
|
||||
},
|
||||
],
|
||||
result: {
|
||||
item: "enhanced_mushrooms:stripped_brown_mushroom_stem",
|
||||
count: 1,
|
||||
},
|
||||
});
|
||||
|
||||
event.custom({
|
||||
conditions: [
|
||||
{
|
||||
type: "forge:mod_loaded",
|
||||
modid: "enhanced_mushrooms",
|
||||
},
|
||||
],
|
||||
type: "natural-progression:damage_tools",
|
||||
ingredients: [
|
||||
{
|
||||
item: "enhanced_mushrooms:glowshroom_hyphae",
|
||||
},
|
||||
{
|
||||
tag: "natural-progression:saw",
|
||||
},
|
||||
],
|
||||
result: {
|
||||
item: "enhanced_mushrooms:stripped_glowshroom_hyphae",
|
||||
count: 1,
|
||||
},
|
||||
});
|
||||
|
||||
event.custom({
|
||||
conditions: [
|
||||
{
|
||||
type: "forge:mod_loaded",
|
||||
modid: "enhanced_mushrooms",
|
||||
},
|
||||
],
|
||||
type: "natural-progression:damage_tools",
|
||||
ingredients: [
|
||||
{
|
||||
item: "enhanced_mushrooms:glowshroom_stem",
|
||||
},
|
||||
{
|
||||
tag: "natural-progression:saw",
|
||||
},
|
||||
],
|
||||
result: {
|
||||
item: "enhanced_mushrooms:stripped_glowshroom_stem",
|
||||
count: 1,
|
||||
},
|
||||
});
|
||||
|
||||
event.custom({
|
||||
conditions: [
|
||||
{
|
||||
type: "forge:mod_loaded",
|
||||
modid: "enhanced_mushrooms",
|
||||
},
|
||||
],
|
||||
type: "natural-progression:damage_tools",
|
||||
ingredients: [
|
||||
{
|
||||
item: "enhanced_mushrooms:red_mushroom_hyphae",
|
||||
},
|
||||
{
|
||||
tag: "natural-progression:saw",
|
||||
},
|
||||
],
|
||||
result: {
|
||||
item: "enhanced_mushrooms:stripped_red_mushroom_hyphae",
|
||||
count: 1,
|
||||
},
|
||||
});
|
||||
|
||||
event.custom({
|
||||
conditions: [
|
||||
{
|
||||
type: "forge:mod_loaded",
|
||||
modid: "enhanced_mushrooms",
|
||||
},
|
||||
],
|
||||
type: "natural-progression:damage_tools",
|
||||
ingredients: [
|
||||
{
|
||||
item: "enhanced_mushrooms:red_mushroom_stem",
|
||||
},
|
||||
{
|
||||
tag: "natural-progression:saw",
|
||||
},
|
||||
],
|
||||
result: {
|
||||
item: "enhanced_mushrooms:stripped_red_mushroom_stem",
|
||||
count: 1,
|
||||
},
|
||||
});
|
||||
|
||||
event.custom({
|
||||
conditions: [
|
||||
{
|
||||
type: "forge:mod_loaded",
|
||||
modid: "enhanced_mushrooms",
|
||||
},
|
||||
],
|
||||
type: "natural-progression:damage_tools",
|
||||
ingredients: [
|
||||
{
|
||||
item: "enhanced_mushrooms:stripped_brown_mushroom_hyphae",
|
||||
},
|
||||
{
|
||||
tag: "natural-progression:saw",
|
||||
},
|
||||
],
|
||||
result: {
|
||||
item: "enhanced_mushrooms:brown_mushroom_planks",
|
||||
count: 4,
|
||||
},
|
||||
});
|
||||
|
||||
event.custom({
|
||||
conditions: [
|
||||
{
|
||||
type: "forge:mod_loaded",
|
||||
modid: "enhanced_mushrooms",
|
||||
},
|
||||
],
|
||||
type: "natural-progression:damage_tools",
|
||||
ingredients: [
|
||||
{
|
||||
item: "enhanced_mushrooms:stripped_glowshroom_hyphae",
|
||||
},
|
||||
{
|
||||
tag: "natural-progression:saw",
|
||||
},
|
||||
],
|
||||
result: {
|
||||
item: "enhanced_mushrooms:glowshroom_planks",
|
||||
count: 4,
|
||||
},
|
||||
});
|
||||
|
||||
event.custom({
|
||||
conditions: [
|
||||
{
|
||||
type: "forge:mod_loaded",
|
||||
modid: "enhanced_mushrooms",
|
||||
},
|
||||
],
|
||||
type: "natural-progression:damage_tools",
|
||||
ingredients: [
|
||||
{
|
||||
item: "enhanced_mushrooms:stripped_red_mushroom_hyphae",
|
||||
},
|
||||
{
|
||||
tag: "natural-progression:saw",
|
||||
},
|
||||
],
|
||||
result: {
|
||||
item: "enhanced_mushrooms:red_mushroom_planks",
|
||||
count: 4,
|
||||
},
|
||||
});
|
||||
});
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
onEvent("recipes", (event) => {
|
||||
event.remove({ output: "entangled:block" });
|
||||
event.smithing(
|
||||
"entangled:block",
|
||||
"thermal:machine_frame",
|
||||
"appliedenergistics2:quantum_entangled_singularity"
|
||||
);
|
||||
});
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
onEvent("recipes", (event) => {
|
||||
event.remove({ output: "farmersdelight:cooking_pot" });
|
||||
event.remove({ output: "farmersdelight:skillet" });
|
||||
|
||||
event.shaped("1x farmersdelight:cooking_pot", ["B B", "IWI", "III"], {
|
||||
I: "#forge:ingots/cast_iron",
|
||||
W: "minecraft:water_bucket",
|
||||
B: "extcaves:brick_half",
|
||||
});
|
||||
event.shaped("1x farmersdelight:skillet", [" II", " II", "B "], {
|
||||
I: "#forge:ingots/cast_iron",
|
||||
B: "extcaves:brick_half",
|
||||
});
|
||||
});
|
||||
|
|
@ -0,0 +1,75 @@
|
|||
onEvent("recipes", (event) => {
|
||||
const modid = "immersiveengineering";
|
||||
event.remove({ id: `${modid}:crafting/hammercrushing_aluminum` });
|
||||
event.remove({ id: `${modid}:crafting/hammercrushing_ardite` });
|
||||
event.remove({ id: `${modid}:crafting/hammercrushing_cobalt` });
|
||||
event.remove({ id: `${modid}:crafting/hammercrushing_copper` });
|
||||
event.remove({ id: `${modid}:crafting/hammercrushing_gold` });
|
||||
event.remove({ id: `${modid}:crafting/hammercrushing_iron` });
|
||||
event.remove({ id: `${modid}:crafting/hammercrushing_lead` });
|
||||
event.remove({ id: `${modid}:crafting/hammercrushing_nickel` });
|
||||
event.remove({ id: `${modid}:crafting/hammercrushing_osmium` });
|
||||
event.remove({ id: `${modid}:crafting/hammercrushing_platinum` });
|
||||
event.remove({ id: `${modid}:crafting/hammercrushing_silver` });
|
||||
event.remove({ id: `${modid}:crafting/hammercrushing_tin` });
|
||||
event.remove({ id: `${modid}:crafting/hammercrushing_tungsten` });
|
||||
event.remove({ id: `${modid}:crafting/hammercrushing_uranium` });
|
||||
event.remove({ id: `${modid}:crafting/hammercrushing_zinc` });
|
||||
|
||||
event.remove({ id: `${modid}:crafting/plate_aluminum_hammering` });
|
||||
event.remove({ id: `${modid}:crafting/plate_constantan_hammering` });
|
||||
event.remove({ id: `${modid}:crafting/plate_copper_hammering` });
|
||||
event.remove({ id: `${modid}:crafting/plate_electrum_hammering` });
|
||||
event.remove({ id: `${modid}:crafting/plate_gold_hammering` });
|
||||
event.remove({ id: `${modid}:crafting/plate_iron_hammering` });
|
||||
event.remove({ id: `${modid}:crafting/plate_lead_hammering` });
|
||||
event.remove({ id: `${modid}:crafting/plate_nickel_hammering` });
|
||||
event.remove({ id: `${modid}:crafting/plate_silver_hammering` });
|
||||
event.remove({ id: `${modid}:crafting/plate_steel_hammering` });
|
||||
event.remove({ id: `${modid}:crafting/plate_uranium_hammering` });
|
||||
|
||||
event.remove({ output: `${modid}:alloybrick` });
|
||||
event.remove({ output: `${modid}:blastbrick` });
|
||||
event.remove({ output: `${modid}:cokebrick` });
|
||||
event.remove({ output: `${modid}:hammer` });
|
||||
event.remove({ output: `${modid}:watermill` });
|
||||
event.remove({ output: `${modid}:windmill` });
|
||||
|
||||
event.smithing(
|
||||
"immersiveengineering:alloybrick",
|
||||
"createdeco:dean_bricks",
|
||||
"minecraft:sandstone"
|
||||
);
|
||||
|
||||
event.shaped("27x immersiveengineering:blastbrick", ["CHC", "BSB", "CBC"], {
|
||||
C: "minecraft:clay",
|
||||
B: "createdeco:dusk_bricks",
|
||||
S: "create:blaze_burner",
|
||||
H: "create:chute",
|
||||
});
|
||||
|
||||
event.shaped("27x immersiveengineering:cokebrick", ["CHC", "BSB", "CBC"], {
|
||||
C: "minecraft:clay",
|
||||
B: "createdeco:blue_bricks",
|
||||
H: "create:chute",
|
||||
S: "createaddition:crude_burner",
|
||||
});
|
||||
|
||||
event.shaped("1x immersiveengineering:hammer", [" IR", " SI", "S "], {
|
||||
S: "#forge:rods/wooden",
|
||||
I: "#forge:plates/iron",
|
||||
R: "immersiveengineering:hemp_fiber",
|
||||
});
|
||||
|
||||
event.smithing(
|
||||
"immersiveengineering:watermill",
|
||||
"create:large_cogwheel",
|
||||
"immersiveengineering:waterwheel_segment"
|
||||
);
|
||||
|
||||
event.smithing(
|
||||
"immersiveengineering:windmill",
|
||||
"create:large_cogwheel",
|
||||
"immersiveengineering:windmill_sail"
|
||||
);
|
||||
});
|
||||
|
|
@ -0,0 +1,30 @@
|
|||
onEvent("recipes", (event) => {
|
||||
const modid = "industrialforegoing";
|
||||
|
||||
event.remove({ mod: "titanium" });
|
||||
event.remove({ output: `${modid}:latex_processing_unit` });
|
||||
event.remove({ output: `${modid}:machine_frame_pity` });
|
||||
event.remove({ output: `${modid}:plastic` });
|
||||
|
||||
event.shaped(`1x ${modid}:machine_frame_pity`, ["WPW", "PLP", "WPW"], {
|
||||
W: "#forge:dusts/wood",
|
||||
L: "#minecraft:logs",
|
||||
P: `${modid}:plastic`,
|
||||
});
|
||||
|
||||
event.custom({
|
||||
type: "mekanism:compressing",
|
||||
itemInput: {
|
||||
ingredient: {
|
||||
item: "mekanism:hdpe_sheet",
|
||||
},
|
||||
},
|
||||
gasInput: {
|
||||
amount: 1,
|
||||
gas: "mekanism:oxygen",
|
||||
},
|
||||
output: {
|
||||
item: `${modid}:plastic`,
|
||||
},
|
||||
});
|
||||
});
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
onEvent("recipes", (event) => {
|
||||
event.remove({ id: "infernalexp:blasting/iron_ingot" });
|
||||
event.remove({ id: "infernalexp:smelting/iron_ingot" });
|
||||
});
|
||||
288
kubejs/server_scripts/HarmoniousEngineering/recipes/mekanism.js
Normal file
288
kubejs/server_scripts/HarmoniousEngineering/recipes/mekanism.js
Normal file
|
|
@ -0,0 +1,288 @@
|
|||
onEvent("recipes", (event) => {
|
||||
event.remove({ output: "mekanism:mekasuit_bodyarmor" });
|
||||
event.remove({ output: "mekanism:mekasuit_boots" });
|
||||
event.remove({ output: "mekanism:mekasuit_helmet" });
|
||||
event.remove({ output: "mekanism:mekasuit_pants" });
|
||||
event.remove({ output: "mekanism:meka_tool" });
|
||||
event.remove({ output: "mekanism:metallurgic_infuser" });
|
||||
event.remove({ output: "mekanism:modification_station" });
|
||||
event.remove({ output: "mekanism:module_attack_amplification_unit" });
|
||||
event.remove({ output: "mekanism:module_base" });
|
||||
event.remove({ output: "mekanism:module_charge_distribution_unit" });
|
||||
event.remove({ output: "mekanism:module_dosimeter_unit" });
|
||||
event.remove({ output: "mekanism:module_electrolytic_breathing_unit" });
|
||||
event.remove({ output: "mekanism:module_energy_unit" });
|
||||
event.remove({ output: "mekanism:module_excavation_escalation_unit" });
|
||||
event.remove({ output: "mekanism:module_farming_unit" });
|
||||
event.remove({ output: "mekanism:module_hydraulic_propulsion_unit" });
|
||||
event.remove({ output: "mekanism:module_inhalation_purification_unit" });
|
||||
event.remove({ output: "mekanism:module_jetpack_unit" });
|
||||
event.remove({ output: "mekanism:module_locomotive_boosting_unit" });
|
||||
event.remove({ output: "mekanism:module_magnetic_attraction_unit" });
|
||||
event.remove({ output: "mekanism:module_nutritional_injection_unit" });
|
||||
event.remove({ output: "mekanism:module_radiation_shielding_unit" });
|
||||
event.remove({ output: "mekanism:module_silk_touch_unit" });
|
||||
event.remove({ output: "mekanism:module_teleportation_unit" });
|
||||
event.remove({ output: "mekanism:module_vein_mining_unit" });
|
||||
event.remove({ output: "mekanism:module_vision_enhancement_unit" });
|
||||
event.remove({ output: "mekanism:steel_casing" });
|
||||
|
||||
[("copper", "lead", "osmium", "tin", "uranium")].forEach((ingot) => {
|
||||
event.remove({
|
||||
id: `mekanism:processing/${ingot}/ingot/from_ore_blasting`,
|
||||
});
|
||||
event.remove({
|
||||
id: `mekanism:processing/${ingot}/ingot/from_ore_smelting`,
|
||||
});
|
||||
});
|
||||
|
||||
["helmet", "chestplate", "leggings", "boots"].forEach((armor) => {
|
||||
event.remove({ id: `mekanismtools:lapis_lazuli/armor/${armor}` });
|
||||
event.remove({ id: `mekanismtools:osmium/armor/${armor}` });
|
||||
});
|
||||
|
||||
["sword", "pickaxe", "shovel", "axe", "hoe"].forEach((tool) => {
|
||||
event.remove({ id: `mekanismtools:lapis_lazuli/tools/${tool}` });
|
||||
event.remove({ id: `mekanismtools:osmium/tools/${tool}` });
|
||||
});
|
||||
|
||||
event.shaped("1x mekanism:mekasuit_bodyarmor", ["PCP", "P#P", "EEE"], {
|
||||
C: "projectred-integration:bus_transceiver_gate",
|
||||
"#": "#harmeng:meka/crafting_chest",
|
||||
P: "#harmeng:meka/filler_1",
|
||||
E: "#harmeng:meka/filler_2",
|
||||
});
|
||||
|
||||
event.shaped("1x mekanism:mekasuit_boots", ["PCP", "P#P", "EEE"], {
|
||||
C: "projectred-integration:bus_transceiver_gate",
|
||||
"#": "#harmeng:meka/crafting_boots",
|
||||
P: "#harmeng:meka/filler_1",
|
||||
E: "#harmeng:meka/filler_2",
|
||||
});
|
||||
|
||||
event.shaped("1x mekanism:mekasuit_helmet", ["PCP", "P#P", "EEE"], {
|
||||
C: "projectred-integration:bus_transceiver_gate",
|
||||
"#": "#harmeng:meka/crafting_helm",
|
||||
P: "#harmeng:meka/filler_1",
|
||||
E: "#harmeng:meka/filler_2",
|
||||
});
|
||||
|
||||
event.shaped("1x mekanism:mekasuit_pants", ["PCP", "P#P", "EEE"], {
|
||||
C: "projectred-integration:bus_transceiver_gate",
|
||||
"#": "#harmeng:meka/crafting_legs",
|
||||
P: "#harmeng:meka/filler_1",
|
||||
E: "#harmeng:meka/filler_2",
|
||||
});
|
||||
|
||||
event.shaped("1x mekanism:meka_tool", [" E#", "PoE", "CP "], {
|
||||
C: "projectred-integration:bus_transceiver_gate",
|
||||
"#": "#harmeng:meka/crafting_tool_1",
|
||||
o: "#harmeng:meka/crafting_tool_2",
|
||||
E: "#harmeng:meka/filler_1",
|
||||
P: "#harmeng:meka/filler_2",
|
||||
});
|
||||
|
||||
event.shaped("1x mekanism:metallurgic_infuser", ["LBR", "LCR", "LLR"], {
|
||||
C: "mekanism:steel_casing",
|
||||
R: "minecraft:iron_bars",
|
||||
B: "minecraft:blast_furnace",
|
||||
L: "#forge:sheetmetals/lead",
|
||||
});
|
||||
|
||||
event.shaped("1x mekanism:modification_station", ["AWA", "CTC", "PPP"], {
|
||||
C: "projectred-integration:bus_transceiver_gate",
|
||||
W: "#forge:chests/wooden",
|
||||
P: "#harmeng:meka/filler_1",
|
||||
A: "#harmeng:meka/filler_2",
|
||||
T: "#forge:workbench",
|
||||
});
|
||||
|
||||
event.shaped(
|
||||
"1x mekanism:module_attack_amplification_unit",
|
||||
["I#I", "IAI", "PPP"],
|
||||
{
|
||||
I: "#forge:alloys/advanced",
|
||||
A: "mekanism:module_base",
|
||||
"#": "minecraft:iron_sword",
|
||||
P: "mekanism:hdpe_sheet",
|
||||
}
|
||||
);
|
||||
|
||||
event.shaped("2x mekanism:module_base", ["NIN", "I#I", "NIN"], {
|
||||
I: "#forge:ingots/tin",
|
||||
N: "#forge:nuggets/bronze",
|
||||
"#": "mekanism:hdpe_sheet",
|
||||
});
|
||||
|
||||
event.shaped(
|
||||
"1x mekanism:module_charge_distribution_unit",
|
||||
["I#I", "IAI", "PPP"],
|
||||
{
|
||||
I: "#forge:alloys/elite",
|
||||
A: "mekanism:module_base",
|
||||
"#": "mekanism:basic_induction_provider",
|
||||
P: "powah:capacitor_nitro",
|
||||
}
|
||||
);
|
||||
|
||||
event.shaped("1x mekanism:module_dosimeter_unit", ["I#I", "IAI", "PPP"], {
|
||||
I: "#forge:alloys/advanced",
|
||||
A: "mekanism:module_base",
|
||||
"#": "mekanism:dosimeter",
|
||||
P: "mekanism:hdpe_sheet",
|
||||
});
|
||||
|
||||
event.shaped(
|
||||
"1x mekanism:module_electrolytic_breathing_unit",
|
||||
["I#I", "IAI", "PPP"],
|
||||
{
|
||||
I: "#forge:alloys/advanced",
|
||||
A: "mekanism:module_base",
|
||||
"#": "mekanism:electrolytic_core",
|
||||
P: "mekanism:hdpe_sheet",
|
||||
}
|
||||
);
|
||||
|
||||
event.shaped("1x mekanism:module_energy_unit", ["I#I", "IAI", "PPP"], {
|
||||
I: "#forge:alloys/advanced",
|
||||
A: "mekanism:module_base",
|
||||
"#": "mekanism:basic_induction_cell",
|
||||
P: "mekanism:hdpe_sheet",
|
||||
});
|
||||
|
||||
event.shaped(
|
||||
"1x mekanism:module_excavation_escalation_unit",
|
||||
["I#I", "IAI", "PPP"],
|
||||
{
|
||||
I: "#forge:alloys/advanced",
|
||||
A: "mekanism:module_base",
|
||||
"#": "minecraft:iron_pickaxe",
|
||||
P: "mekanism:hdpe_sheet",
|
||||
}
|
||||
);
|
||||
|
||||
event.shaped("1x mekanism:module_farming_unit", ["I#I", "IAI", "PPP"], {
|
||||
I: "#forge:alloys/advanced",
|
||||
A: "mekanism:module_base",
|
||||
"#": "minecraft:iron_hoe",
|
||||
P: "mekanism:hdpe_sheet",
|
||||
});
|
||||
|
||||
event.shaped(
|
||||
"1x mekanism:module_hydraulic_propulsion_unit",
|
||||
["I#I", "EAE", "PPP"],
|
||||
{
|
||||
I: "#forge:alloys/elite",
|
||||
A: "mekanism:module_base",
|
||||
"#": "mekanism:free_runners",
|
||||
E: "mekanism:energy_tablet",
|
||||
P: "powah:capacitor_nitro",
|
||||
}
|
||||
);
|
||||
|
||||
event.shaped(
|
||||
"1x mekanism:module_inhalation_purification_unit",
|
||||
["I#I", "IAI", "PoP"],
|
||||
{
|
||||
I: "#forge:alloys/elite",
|
||||
A: "mekanism:module_base",
|
||||
"#": "mekanism:hazmat_mask",
|
||||
P: "powah:capacitor_nitro",
|
||||
o: "mekanism:scuba_mask",
|
||||
}
|
||||
);
|
||||
|
||||
event.shaped("1x mekanism:module_jetpack_unit", ["I#I", "IAI", "PPP"], {
|
||||
I: "#forge:alloys/elite",
|
||||
A: "mekanism:module_base",
|
||||
"#": "mekanism:jetpack",
|
||||
P: "powah:capacitor_nitro",
|
||||
});
|
||||
|
||||
event.shaped(
|
||||
"1x mekanism:module_locomotive_boosting_unit",
|
||||
["I#I", "EAE", "PPP"],
|
||||
{
|
||||
I: "#forge:alloys/elite",
|
||||
A: "mekanism:module_base",
|
||||
"#": "minecraft:diamond_leggings",
|
||||
E: "mekanism:energy_tablet",
|
||||
P: "powah:capacitor_nitro",
|
||||
}
|
||||
);
|
||||
|
||||
event.shaped(
|
||||
"1x mekanism:module_magnetic_attraction_unit",
|
||||
["I#I", "CAC", "PPP"],
|
||||
{
|
||||
I: "#forge:alloys/elite",
|
||||
A: "mekanism:module_base",
|
||||
"#": "minecraft:iron_bars",
|
||||
C: "#forge:circuits/elite",
|
||||
P: "powah:capacitor_nitro",
|
||||
}
|
||||
);
|
||||
|
||||
event.shaped(
|
||||
"1x mekanism:module_nutritional_injection_unit",
|
||||
["I#I", "IAI", "PPP"],
|
||||
{
|
||||
I: "#forge:alloys/elite",
|
||||
A: "mekanism:module_base",
|
||||
"#": "mekanism:canteen",
|
||||
P: "powah:capacitor_nitro",
|
||||
}
|
||||
);
|
||||
|
||||
event.shaped(
|
||||
"1x mekanism:module_radiation_shielding_unit",
|
||||
["I#I", "IAI", "PPP"],
|
||||
{
|
||||
I: "#forge:alloys/advanced",
|
||||
A: "mekanism:module_base",
|
||||
"#": "#forge:storage_blocks/lead",
|
||||
P: "mekanism:hdpe_sheet",
|
||||
}
|
||||
);
|
||||
|
||||
event.shaped("1x mekanism:module_silk_touch_unit", ["I#I", "WAW", "PPP"], {
|
||||
I: "#forge:alloys/elite",
|
||||
A: "mekanism:module_base",
|
||||
"#": "mekanism:block_refined_glowstone",
|
||||
P: "powah:capacitor_nitro",
|
||||
W: "minecraft:diamond_pickaxe",
|
||||
});
|
||||
|
||||
event.shaped("1x mekanism:module_teleportation_unit", ["I#I", "IAI", "PPP"], {
|
||||
I: "#forge:alloys/ultimate",
|
||||
A: "mekanism:module_base",
|
||||
"#": "mekanism:teleportation_core",
|
||||
P: "#forge:pellets/antimatter",
|
||||
});
|
||||
|
||||
event.shaped("1x mekanism:module_vein_mining_unit", ["I#I", "xAs", "PPP"], {
|
||||
I: "#forge:alloys/elite",
|
||||
A: "mekanism:module_base",
|
||||
"#": "minecraft:diamond_pickaxe",
|
||||
x: "minecraft:diamond_axe",
|
||||
s: "minecraft:diamond_shovel",
|
||||
P: "powah:capacitor_nitro",
|
||||
});
|
||||
|
||||
event.shaped(
|
||||
"1x mekanism:module_vision_enhancement_unit",
|
||||
["I#I", "IAI", "PPP"],
|
||||
{
|
||||
I: "#forge:alloys/elite",
|
||||
A: "mekanism:module_base",
|
||||
"#": "minecraft:emerald",
|
||||
P: "powah:capacitor_nitro",
|
||||
}
|
||||
);
|
||||
|
||||
event.shaped("1x mekanism:steel_casing", ["SGS", "GAG", "SGS"], {
|
||||
S: "#forge:ingots/steel",
|
||||
G: "#forge:glass",
|
||||
A: "thermal:upgrade_augment_3",
|
||||
});
|
||||
});
|
||||
|
|
@ -0,0 +1,17 @@
|
|||
onEvent("recipes", (event) => {
|
||||
const modid = "modularrouters";
|
||||
|
||||
event.remove({ output: `${modid}:augment_core` });
|
||||
event.remove({ output: `${modid}:blank_module` });
|
||||
event.remove({ output: `${modid}:blank_upgrade` });
|
||||
event.remove({ output: `${modid}:item_router` });
|
||||
|
||||
event.stonecutting(`${modid}:augment_core`, "rftoolsbase:tablet");
|
||||
event.stonecutting(`${modid}:blank_module`, "rftoolsbase:tablet");
|
||||
event.stonecutting(`${modid}:blank_upgrade`, "rftoolsbase:tablet");
|
||||
event.shaped(`4x ${modid}:item_router`, ["SBS", "BFB", "SBS"], {
|
||||
S: "#forge:plates/enderium",
|
||||
B: `${modid}:blank_module`,
|
||||
F: "industrialforegoing:machine_frame_pity",
|
||||
});
|
||||
});
|
||||
83
kubejs/server_scripts/HarmoniousEngineering/recipes/powah.js
Normal file
83
kubejs/server_scripts/HarmoniousEngineering/recipes/powah.js
Normal file
|
|
@ -0,0 +1,83 @@
|
|||
onEvent("recipes", (event) => {
|
||||
event.remove({ id: "powah:crafting/cable_basic" });
|
||||
event.remove({ id: "powah:crafting/cable_basic_2" });
|
||||
event.remove({ id: "powah:crafting/cable_blazing" });
|
||||
event.remove({ id: "powah:crafting/cable_blazing_2" });
|
||||
event.remove({ id: "powah:crafting/cable_hardened" });
|
||||
event.remove({ id: "powah:crafting/cable_hardened_2" });
|
||||
event.remove({ id: "powah:crafting/cable_niotic" });
|
||||
event.remove({ id: "powah:crafting/cable_niotic_2" });
|
||||
event.remove({ id: "powah:crafting/cable_nitro" });
|
||||
event.remove({ id: "powah:crafting/cable_nitro_2" });
|
||||
event.remove({ id: "powah:crafting/cable_spirited" });
|
||||
event.remove({ id: "powah:crafting/cable_spirited_2" });
|
||||
event.remove({ id: "powah:crafting/cable_starter" });
|
||||
event.remove({ id: "powah:crafting/dielectric_paste_2" });
|
||||
event.remove({ id: "powah:crafting/dielectric_rod_h" });
|
||||
event.remove({ id: "powah:crafting/ender_cell_starter" });
|
||||
event.remove({ id: "powah:crafting/ender_gate_basic" });
|
||||
event.remove({ id: "powah:crafting/ender_gate_blazing" });
|
||||
event.remove({ id: "powah:crafting/ender_gate_hardened" });
|
||||
event.remove({ id: "powah:crafting/ender_gate_niotic" });
|
||||
event.remove({ id: "powah:crafting/ender_gate_nitro" });
|
||||
event.remove({ id: "powah:crafting/ender_gate_spirited" });
|
||||
event.remove({ id: "powah:crafting/ender_gate_starter" });
|
||||
event.remove({ id: "powah:crafting/magmator_basic" });
|
||||
event.remove({ id: "powah:crafting/magmator_blazing" });
|
||||
event.remove({ id: "powah:crafting/magmator_hardened" });
|
||||
event.remove({ id: "powah:crafting/magmator_niotic" });
|
||||
event.remove({ id: "powah:crafting/magmator_nitro" });
|
||||
event.remove({ id: "powah:crafting/magmator_spirited" });
|
||||
event.remove({ id: "powah:crafting/magmator_starter" });
|
||||
event.remove({ id: "powah:crafting/reactor_starter" });
|
||||
event.remove({ id: "powah:crafting/solar_panel_basic" });
|
||||
event.remove({ id: "powah:crafting/solar_panel_blazing" });
|
||||
event.remove({ id: "powah:crafting/solar_panel_hardened" });
|
||||
event.remove({ id: "powah:crafting/solar_panel_niotic" });
|
||||
event.remove({ id: "powah:crafting/solar_panel_nitro" });
|
||||
event.remove({ id: "powah:crafting/solar_panel_spirited" });
|
||||
event.remove({ id: "powah:crafting/solar_panel_starter" });
|
||||
event.remove({ id: "powah:crafting/thermo_generator_basic" });
|
||||
event.remove({ id: "powah:crafting/thermo_generator_blazing" });
|
||||
event.remove({ id: "powah:crafting/thermo_generator_hardened" });
|
||||
event.remove({ id: "powah:crafting/thermo_generator_niotic" });
|
||||
event.remove({ id: "powah:crafting/thermo_generator_nitro" });
|
||||
event.remove({ id: "powah:crafting/thermo_generator_spirited" });
|
||||
event.remove({ id: "powah:crafting/thermo_generator_starter" });
|
||||
|
||||
event.remove({ id: "powah:crafting/dielectric_paste" });
|
||||
event.remove({ id: "powah:crafting/dielectric_rod" });
|
||||
|
||||
event.custom({
|
||||
type: "natural-progression:damage_tools",
|
||||
ingredients: [
|
||||
{
|
||||
tag: "forge:silicon",
|
||||
},
|
||||
{
|
||||
tag: "forge:dusts/coal",
|
||||
},
|
||||
{
|
||||
tag: "forge:dusts/coal",
|
||||
},
|
||||
{
|
||||
tag: "forge:dusts/coal",
|
||||
},
|
||||
{
|
||||
item: "create:super_glue",
|
||||
},
|
||||
{
|
||||
tag: "appliedenergistics2:knife",
|
||||
},
|
||||
],
|
||||
result: {
|
||||
item: "powah:dielectric_paste",
|
||||
count: 8,
|
||||
},
|
||||
});
|
||||
|
||||
event.shaped("64x powah:dielectric_rod", ["PSP", "PSP", "PSP"], {
|
||||
P: "powah:dielectric_paste",
|
||||
S: "#forge:ingots/steel",
|
||||
});
|
||||
});
|
||||
|
|
@ -0,0 +1,227 @@
|
|||
/* Handles turning cinnabar into redstone in the many ways */
|
||||
const ieCrusher = (event) => {
|
||||
event.custom({
|
||||
type: "immersiveengineering:crusher",
|
||||
secondaries: [
|
||||
{
|
||||
chance: 0.6,
|
||||
output: {
|
||||
item: "minecraft:redstone",
|
||||
},
|
||||
},
|
||||
],
|
||||
result: {
|
||||
count: 4,
|
||||
base_ingredient: {
|
||||
item: "minecraft:redstone",
|
||||
},
|
||||
},
|
||||
input: {
|
||||
tag: "forge:gems/cinnabar",
|
||||
},
|
||||
energy: 9000,
|
||||
});
|
||||
|
||||
event.custom({
|
||||
type: "immersiveengineering:crusher",
|
||||
secondaries: [
|
||||
{
|
||||
chance: 0.6,
|
||||
output: {
|
||||
item: "minecraft:redstone",
|
||||
},
|
||||
},
|
||||
],
|
||||
result: {
|
||||
count: 6,
|
||||
base_ingredient: {
|
||||
item: "minecraft:redstone",
|
||||
},
|
||||
},
|
||||
input: {
|
||||
tag: "forge:ores/cinnabar",
|
||||
},
|
||||
energy: 12000,
|
||||
});
|
||||
};
|
||||
|
||||
const mill = (event) => {
|
||||
event.custom({
|
||||
type: "create:milling",
|
||||
ingredients: [
|
||||
{
|
||||
tag: "forge:gems/cinnabar",
|
||||
},
|
||||
],
|
||||
results: [
|
||||
{
|
||||
item: "minecraft:redstone",
|
||||
count: 1,
|
||||
},
|
||||
{
|
||||
item: "minecraft:redstone",
|
||||
count: 1,
|
||||
chance: 0.5,
|
||||
},
|
||||
],
|
||||
processingTime: 500,
|
||||
conditions: [
|
||||
{
|
||||
value: {
|
||||
tag: "forge:gems/cinnabar",
|
||||
type: "forge:tag_empty",
|
||||
},
|
||||
type: "forge:not",
|
||||
},
|
||||
],
|
||||
});
|
||||
};
|
||||
|
||||
const crushingWheel = (event) => {
|
||||
event.custom({
|
||||
type: "create:crushing",
|
||||
ingredients: [
|
||||
{
|
||||
tag: "forge:ores/cinnabar",
|
||||
},
|
||||
],
|
||||
results: [
|
||||
{
|
||||
item: "minecraft:redstone",
|
||||
count: 8,
|
||||
},
|
||||
{
|
||||
item: "minecraft:cobblestone",
|
||||
chance: 0.3,
|
||||
},
|
||||
],
|
||||
processingTime: 850,
|
||||
conditions: [
|
||||
{
|
||||
value: {
|
||||
tag: "forge:ores/cinnabar",
|
||||
type: "forge:tag_empty",
|
||||
},
|
||||
type: "forge:not",
|
||||
},
|
||||
],
|
||||
});
|
||||
|
||||
event.custom({
|
||||
type: "create:crushing",
|
||||
ingredients: [
|
||||
{
|
||||
tag: "forge:gems/cinnabar",
|
||||
},
|
||||
],
|
||||
results: [
|
||||
{
|
||||
item: "minecraft:redstone",
|
||||
count: 5,
|
||||
},
|
||||
{
|
||||
item: "minecraft:redstone",
|
||||
count: 1,
|
||||
chance: 0.3,
|
||||
},
|
||||
],
|
||||
processingTime: 600,
|
||||
conditions: [
|
||||
{
|
||||
value: {
|
||||
tag: "forge:gems/cinnabar",
|
||||
type: "forge:tag_empty",
|
||||
},
|
||||
type: "forge:not",
|
||||
},
|
||||
],
|
||||
});
|
||||
};
|
||||
|
||||
const enrichmentChamber = (event) => {
|
||||
event.custom({
|
||||
type: "mekanism:enriching",
|
||||
input: {
|
||||
ingredient: {
|
||||
tag: "forge:gems/cinnabar",
|
||||
},
|
||||
},
|
||||
output: {
|
||||
item: "minecraft:redstone",
|
||||
count: 7,
|
||||
},
|
||||
});
|
||||
};
|
||||
|
||||
const purifier = (event) => {
|
||||
event.custom({
|
||||
type: "mekanism:purifying",
|
||||
itemInput: {
|
||||
ingredient: {
|
||||
tag: "forge:gems/cinnabar",
|
||||
},
|
||||
},
|
||||
gasInput: {
|
||||
amount: 1,
|
||||
gas: "mekanism:oxygen",
|
||||
},
|
||||
output: {
|
||||
item: "minecraft:redstone",
|
||||
count: 11,
|
||||
},
|
||||
});
|
||||
};
|
||||
|
||||
const pulverizer = (event) => {
|
||||
event.remove({ id: "thermal:machine/pulverizer/pulverizer_cinnabar" });
|
||||
event.custom({
|
||||
type: "thermal:pulverizer",
|
||||
ingredient: {
|
||||
tag: "forge:ores/cinnabar",
|
||||
},
|
||||
result: [
|
||||
{
|
||||
item: "minecraft:redstone",
|
||||
count: 8,
|
||||
},
|
||||
{
|
||||
item: "minecraft:redstone",
|
||||
count: 3,
|
||||
chance: 0.85,
|
||||
},
|
||||
{
|
||||
item: "minecraft:gravel",
|
||||
chance: 0.2,
|
||||
},
|
||||
],
|
||||
experience: 1.4,
|
||||
});
|
||||
|
||||
event.custom({
|
||||
type: "thermal:pulverizer",
|
||||
ingredient: {
|
||||
tag: "forge:gems/cinnabar",
|
||||
},
|
||||
result: [
|
||||
{
|
||||
item: "minecraft:redstone",
|
||||
count: 6,
|
||||
},
|
||||
{
|
||||
item: "minecraft:redstone",
|
||||
count: 2,
|
||||
chance: 0.65,
|
||||
},
|
||||
],
|
||||
experience: 0.8,
|
||||
});
|
||||
};
|
||||
|
||||
onEvent("recipes", (event) => {
|
||||
crushingWheel(event);
|
||||
enrichmentChamber(event);
|
||||
ieCrusher(event);
|
||||
mill(event);
|
||||
pulverizer(event);
|
||||
purifier(event);
|
||||
});
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
onEvent("recipes", (event) => {
|
||||
event.remove({ id: "minecraft:gold_ingot" });
|
||||
event.remove({ id: "minecraft:iron_ingot" });
|
||||
event.remove({ id: "minecraft:gold_ingot_from_blasting" });
|
||||
event.remove({ id: "minecraft:iron_ingot_from_blasting" });
|
||||
|
||||
event.remove({ id: "minecraft:wooden_axe" });
|
||||
event.remove({ id: "minecraft:wooden_hoe" });
|
||||
event.remove({ id: "minecraft:wooden_pickaxe" });
|
||||
event.remove({ id: "minecraft:wooden_shovel" });
|
||||
event.remove({ id: "minecraft:wooden_sword" });
|
||||
|
||||
event.remove({ id: "minecraft:stonecutter" });
|
||||
event.shaped("1x minecraft:stonecutter", [" B ", "SSS"], {
|
||||
B: "#harmeng:saw_blade",
|
||||
S: "#forge:stone",
|
||||
});
|
||||
});
|
||||
|
|
@ -0,0 +1,30 @@
|
|||
onEvent("recipes", (event) => {
|
||||
event.remove({
|
||||
output: "emendatusenigmatica:enigmatic_fortunizer",
|
||||
});
|
||||
|
||||
// Removes all enigmatic hammer recipes even though the hammer itself can't be crafted
|
||||
event.remove({
|
||||
output: "#forge:plates",
|
||||
type: "minecraft:crafting_shapeless",
|
||||
});
|
||||
|
||||
event.remove({
|
||||
output: "#forge:dusts",
|
||||
type: "minecraft:crafting_shapeless",
|
||||
});
|
||||
|
||||
// Removes all smelting recipes with input <ore> and output <ingot>
|
||||
event.remove({
|
||||
input: "#forge:ores",
|
||||
output: "#forge:ingots",
|
||||
type: "minecraft:smelting",
|
||||
});
|
||||
|
||||
// Removes all blasting recipes with input <ore> and output <ingot>
|
||||
event.remove({
|
||||
input: "#forge:ores",
|
||||
output: "#forge:ingots",
|
||||
type: "minecraft:blasting",
|
||||
});
|
||||
});
|
||||
|
|
@ -0,0 +1,38 @@
|
|||
onEvent("recipes", (event) => {
|
||||
event.remove({ output: "rangedpumps:pump" });
|
||||
event.custom({
|
||||
type: "natural-progression:damage_tools",
|
||||
ingredients: [
|
||||
{
|
||||
item: "immersiveengineering:hammer",
|
||||
},
|
||||
{
|
||||
tag: "forge:shears",
|
||||
},
|
||||
{
|
||||
item: "chickenchunks:spot_loader",
|
||||
},
|
||||
{
|
||||
item: "thermal:hazmat_fabric",
|
||||
},
|
||||
{
|
||||
item: "thermal:hazmat_fabric",
|
||||
},
|
||||
{
|
||||
item: "thermal:hazmat_fabric",
|
||||
},
|
||||
{
|
||||
item: "create:mechanical_pump",
|
||||
},
|
||||
{
|
||||
item: "create:fluid_pipe",
|
||||
},
|
||||
{
|
||||
item: "create:fluid_pipe",
|
||||
},
|
||||
],
|
||||
result: {
|
||||
item: "rangedpumps:pump",
|
||||
},
|
||||
});
|
||||
});
|
||||
|
|
@ -0,0 +1,28 @@
|
|||
onEvent("recipes", (event) => {
|
||||
event.remove({ output: "refinedstorage:controller" });
|
||||
event.remove({ output: "refinedstorage:quartz_enriched_iron" });
|
||||
|
||||
event.smithing(
|
||||
"refinedstorage:controller",
|
||||
"storagenetwork:master",
|
||||
"refinedstorage:advanced_processor"
|
||||
);
|
||||
|
||||
event.custom({
|
||||
type: "mekanism:combining",
|
||||
mainInput: {
|
||||
ingredient: {
|
||||
item: "minecraft:iron_ingot",
|
||||
},
|
||||
},
|
||||
extraInput: {
|
||||
ingredient: {
|
||||
tag: "forge:dusts/quartz",
|
||||
},
|
||||
},
|
||||
output: {
|
||||
item: "refinedstorage:quartz_enriched_iron",
|
||||
count: 2,
|
||||
},
|
||||
});
|
||||
});
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
onEvent("recipes", (event) => {
|
||||
event.remove({ output: "rftoolsbase:dimensionalshard" });
|
||||
event.remove({ output: "rftoolsbase:machine_infuser" });
|
||||
event.remove({ output: "rftoolsbase:machine_frame" });
|
||||
event.remove({ output: "rftoolsbase:infused_diamond" });
|
||||
event.remove({ output: "rftoolsbase:infused_enderpearl" });
|
||||
|
||||
event.shaped("1x rftoolsbase:machine_frame", [" G ", "GFG", " G "], {
|
||||
G: "#forge:gears/lapis",
|
||||
F: "thermal:machine_frame",
|
||||
});
|
||||
event.shaped("1x rftoolsbase:infused_diamond", ["DDD", "DID", "DDD"], {
|
||||
D: "#forge:gems/dimensional",
|
||||
I: "#forge:gems/diamond",
|
||||
});
|
||||
event.shaped("1x rftoolsbase:infused_enderpearl", ["DDD", "DID", "DDD"], {
|
||||
D: "#forge:gems/dimensional",
|
||||
I: "minecraft:ender_pearl",
|
||||
});
|
||||
});
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
onEvent("recipes", (event) => {
|
||||
event.remove({ output: "scannable:module_blank" });
|
||||
event.remove({ output: "scannable:scanner" });
|
||||
|
||||
event.shaped("1x scannable:module_blank", ["ggg", "scs", "sns"], {
|
||||
g: "immersiveengineering:insulating_glass",
|
||||
c: "projectred-integration:bus_transceiver_gate",
|
||||
s: "#forge:silicon",
|
||||
n: "#forge:nuggets/gold",
|
||||
});
|
||||
|
||||
event.shaped("1x scannable:scanner", ["n n", "bcb", "ntn"], {
|
||||
n: "#forge:ingots/netherite",
|
||||
c: "powah:ender_core",
|
||||
b: "minecraft:iron_bars",
|
||||
t: "mekanism:portable_teleporter",
|
||||
});
|
||||
});
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
onEvent("recipes", (event) => {
|
||||
event.remove({ output: "storagedrawers:controller" });
|
||||
event.smithing(
|
||||
"storagedrawers:controller",
|
||||
"storagedrawers:controller_slave",
|
||||
"mekanism:ultimate_control_circuit"
|
||||
);
|
||||
});
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
onEvent("recipes", (event) => {
|
||||
event.remove({ output: "storagenetwork:crafting_remote" });
|
||||
event.remove({ output: "storagenetwork:inventory_remote" });
|
||||
});
|
||||
|
|
@ -0,0 +1,98 @@
|
|||
onEvent("recipes", (event) => {
|
||||
event.remove({ output: "tconstruct:smeltery_controller" });
|
||||
event.remove({ output: "tconstruct:seared_heater" });
|
||||
event.remove({ output: "tconstruct:seared_melter" });
|
||||
|
||||
event.custom({
|
||||
type: "natural-progression:damage_tools",
|
||||
ingredients: [
|
||||
{
|
||||
item: "immersiveengineering:hammer",
|
||||
},
|
||||
{
|
||||
tag: "harmeng:diamond_tier_saws",
|
||||
},
|
||||
{
|
||||
item: "tconstruct:seared_bricks",
|
||||
},
|
||||
{
|
||||
item: "tconstruct:seared_bricks",
|
||||
},
|
||||
{
|
||||
tag: "forge:plates/copper",
|
||||
},
|
||||
],
|
||||
result: {
|
||||
item: "tconstruct:smeltery_controller",
|
||||
count: 1,
|
||||
},
|
||||
});
|
||||
|
||||
event.custom({
|
||||
type: "natural-progression:damage_tools",
|
||||
ingredients: [
|
||||
{
|
||||
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",
|
||||
},
|
||||
],
|
||||
result: {
|
||||
item: "tconstruct:seared_heater",
|
||||
count: 1,
|
||||
},
|
||||
});
|
||||
|
||||
event.custom({
|
||||
type: "natural-progression:damage_tools",
|
||||
ingredients: [
|
||||
{
|
||||
tag: "tconstruct:tanks",
|
||||
},
|
||||
{
|
||||
item: "immersiveengineering:hammer",
|
||||
},
|
||||
{
|
||||
item: "tconstruct:seared_brick",
|
||||
},
|
||||
{
|
||||
item: "tconstruct:seared_brick",
|
||||
},
|
||||
{
|
||||
item: "tconstruct:seared_brick",
|
||||
},
|
||||
{
|
||||
item: "tconstruct:seared_brick",
|
||||
},
|
||||
{
|
||||
item: "tconstruct:seared_brick",
|
||||
},
|
||||
],
|
||||
result: {
|
||||
item: "tconstruct:seared_melter",
|
||||
count: 1,
|
||||
},
|
||||
});
|
||||
});
|
||||
|
|
@ -0,0 +1,16 @@
|
|||
onEvent("recipes", (event) => {
|
||||
event.remove({ output: "thermal:rf_coil" });
|
||||
event.remove({ output: "thermal:machine_frame" });
|
||||
|
||||
event.shaped("1x thermal:rf_coil", [" RG", "RSR", "GR "], {
|
||||
R: "immersiveengineering:wirecoil_redstone",
|
||||
S: "#forge:ingots/steel",
|
||||
G: "#forge:nuggets/gold",
|
||||
});
|
||||
|
||||
event.shaped("1x thermal:machine_frame", ["SGS", "GTG", "SGS"], {
|
||||
G: "mekanism:structural_glass",
|
||||
S: "#forge:ingots/steel",
|
||||
T: "#forge:gears/tin",
|
||||
});
|
||||
});
|
||||
|
|
@ -0,0 +1,194 @@
|
|||
const removeThermalGearRecipes = (event) => {
|
||||
const gears = [
|
||||
"aluminum",
|
||||
"brass",
|
||||
"bronze",
|
||||
"cast_iron",
|
||||
"cobalt",
|
||||
"constantan",
|
||||
"copper",
|
||||
"diamond",
|
||||
"electrum",
|
||||
"emerald",
|
||||
"enderium",
|
||||
"gold",
|
||||
"invar",
|
||||
"iridium",
|
||||
"iron",
|
||||
"lapis",
|
||||
"lead",
|
||||
"lumium",
|
||||
"nickel",
|
||||
"osmium",
|
||||
"peridot",
|
||||
"ruby",
|
||||
"sapphire",
|
||||
"signalum",
|
||||
"silver",
|
||||
"steel",
|
||||
"tin",
|
||||
"uranium",
|
||||
"zinc",
|
||||
];
|
||||
|
||||
gears.forEach((mat) => {
|
||||
event.remove({ output: `thermal:${mat}_gear` });
|
||||
event.remove({ id: `thermal:machine/press/press_${mat}_ingot_to_gear` });
|
||||
event.remove({ output: `emendatusenigmatica:${mat}_gear` });
|
||||
});
|
||||
|
||||
event.remove({ output: "emendatusenigmatica:quartz_gear" });
|
||||
};
|
||||
|
||||
const addGearRecipesForEE = (event) => {
|
||||
const allEeMaterials = [
|
||||
"forge:ingots/aluminum",
|
||||
"forge:ingots/brass",
|
||||
"forge:ingots/bronze",
|
||||
"forge:ingots/cast_iron",
|
||||
"forge:ingots/cobalt",
|
||||
"forge:ingots/constantan",
|
||||
"forge:ingots/copper",
|
||||
"forge:gems/diamond",
|
||||
"forge:ingots/electrum",
|
||||
"forge:gems/emerald",
|
||||
"forge:ingots/enderium",
|
||||
"forge:ingots/gold",
|
||||
"forge:ingots/invar",
|
||||
"forge:ingots/iridium",
|
||||
"forge:ingots/iron",
|
||||
"forge:gems/lapis",
|
||||
"forge:ingots/lead",
|
||||
"forge:ingots/lumium",
|
||||
"forge:ingots/nickel",
|
||||
"forge:ingots/osmium",
|
||||
"forge:gems/peridot",
|
||||
"forge:gems/ruby",
|
||||
"forge:gems/sapphire",
|
||||
"forge:ingots/signalum",
|
||||
"forge:ingots/silver",
|
||||
"forge:ingots/steel",
|
||||
"forge:ingots/tin",
|
||||
"forge:ingots/uranium",
|
||||
"forge:ingots/zinc",
|
||||
];
|
||||
|
||||
// Manual crafting
|
||||
allEeMaterials.forEach((mat) => {
|
||||
const baseMat = mat.replace("forge:ingots/", "").replace("forge:gems/", "");
|
||||
|
||||
event.remove({ id: `emendatusenigmatica:gear_from_ingot/${baseMat}` });
|
||||
event.remove({ id: `emendatusenigmatica:gear_from_gem/${baseMat}` });
|
||||
event.custom({
|
||||
result: {
|
||||
item: `emendatusenigmatica:${baseMat}_gear`,
|
||||
},
|
||||
type: "natural-progression:damage_tools",
|
||||
ingredients: [
|
||||
{
|
||||
item: "create:cogwheel",
|
||||
},
|
||||
{
|
||||
item: "immersiveengineering:hammer",
|
||||
},
|
||||
{
|
||||
tag: `forge:plates/${baseMat}`,
|
||||
},
|
||||
{
|
||||
tag: `forge:plates/${baseMat}`,
|
||||
},
|
||||
{
|
||||
tag: `forge:plates/${baseMat}`,
|
||||
},
|
||||
{
|
||||
tag: `forge:plates/${baseMat}`,
|
||||
},
|
||||
],
|
||||
});
|
||||
});
|
||||
|
||||
// Thermal Multiservo Press
|
||||
allEeMaterials.forEach((mat) => {
|
||||
const baseMat = mat.replace("forge:ingots/", "").replace("forge:gems/", "");
|
||||
event.remove({ output: `emendatusenigmatica:${baseMat}_gear` });
|
||||
event.custom({
|
||||
type: "thermal:press",
|
||||
ingredients: [
|
||||
{
|
||||
tag: mat,
|
||||
count: 4,
|
||||
},
|
||||
{
|
||||
item: "thermal:press_gear_die",
|
||||
},
|
||||
],
|
||||
result: [
|
||||
{
|
||||
item: `emendatusenigmatica:${baseMat}_gear`,
|
||||
},
|
||||
],
|
||||
});
|
||||
});
|
||||
|
||||
// IE Metal Press
|
||||
allEeMaterials.forEach((mat) => {
|
||||
const baseMat = mat.replace("forge:ingots/", "").replace("forge:gems/", "");
|
||||
event.custom({
|
||||
type: "immersiveengineering:metal_press",
|
||||
mold: {
|
||||
item: "immersiveengineering:mold_gear",
|
||||
},
|
||||
input: {
|
||||
count: 4,
|
||||
base_ingredient: {
|
||||
tag: mat,
|
||||
},
|
||||
},
|
||||
result: {
|
||||
item: `emendatusenigmatica:${baseMat}_gear`,
|
||||
},
|
||||
energy: 2400,
|
||||
});
|
||||
});
|
||||
|
||||
// Tinkers Casting
|
||||
allEeMaterials.forEach((mat) => {
|
||||
const baseMat = mat.replace("forge:ingots/", "").replace("forge:gems/", "");
|
||||
|
||||
event.custom({
|
||||
type: "tconstruct:casting_table",
|
||||
cast: {
|
||||
tag: "tconstruct:casts/multi_use/gear",
|
||||
},
|
||||
fluid: {
|
||||
tag: `forge:molten_${baseMat}`,
|
||||
amount: 576,
|
||||
},
|
||||
result: {
|
||||
item: `emendatusenigmatica:${baseMat}_gear`,
|
||||
},
|
||||
cooling_time: 100,
|
||||
});
|
||||
|
||||
event.custom({
|
||||
type: "tconstruct:casting_table",
|
||||
cast: {
|
||||
tag: "tconstruct:casts/single_use/gear",
|
||||
},
|
||||
cast_consumed: true,
|
||||
fluid: {
|
||||
tag: `forge:molten_${baseMat}`,
|
||||
amount: 576,
|
||||
},
|
||||
result: {
|
||||
item: `emendatusenigmatica:${baseMat}_gear`,
|
||||
},
|
||||
cooling_time: 100,
|
||||
});
|
||||
});
|
||||
};
|
||||
|
||||
onEvent("recipes", (event) => {
|
||||
removeThermalGearRecipes(event);
|
||||
addGearRecipesForEE(event);
|
||||
});
|
||||
|
|
@ -0,0 +1,240 @@
|
|||
const addPlateRecipesForEE = (event) => {
|
||||
const allEeMaterials = [
|
||||
"forge:ingots/aluminum",
|
||||
"forge:ingots/brass",
|
||||
"forge:ingots/bronze",
|
||||
"forge:ingots/cast_iron",
|
||||
"forge:ingots/cobalt",
|
||||
"forge:ingots/constantan",
|
||||
"forge:ingots/copper",
|
||||
"forge:gems/diamond",
|
||||
"forge:ingots/electrum",
|
||||
"forge:gems/emerald",
|
||||
"forge:ingots/enderium",
|
||||
"forge:ingots/gold",
|
||||
"forge:ingots/invar",
|
||||
"forge:ingots/iridium",
|
||||
"forge:ingots/iron",
|
||||
"forge:gems/lapis",
|
||||
"forge:ingots/lead",
|
||||
"forge:ingots/lumium",
|
||||
"forge:ingots/nickel",
|
||||
"forge:ingots/osmium",
|
||||
"forge:gems/peridot",
|
||||
"forge:gems/ruby",
|
||||
"forge:gems/sapphire",
|
||||
"forge:ingots/signalum",
|
||||
"forge:ingots/silver",
|
||||
"forge:ingots/steel",
|
||||
"forge:ingots/tin",
|
||||
"forge:ingots/uranium",
|
||||
"forge:ingots/zinc",
|
||||
];
|
||||
|
||||
// Thermal Multiservo Press
|
||||
allEeMaterials.forEach((mat) => {
|
||||
const baseMat = mat.replace("forge:ingots/", "").replace("forge:gems/", "");
|
||||
event.custom({
|
||||
type: "thermal:press",
|
||||
ingredients: [
|
||||
{
|
||||
tag: mat,
|
||||
count: 1,
|
||||
},
|
||||
],
|
||||
result: [
|
||||
{
|
||||
item: `emendatusenigmatica:${baseMat}_plate`,
|
||||
},
|
||||
],
|
||||
});
|
||||
});
|
||||
|
||||
// Create metal press
|
||||
allEeMaterials.forEach((mat) => {
|
||||
const baseMat = mat.replace("forge:ingots/", "").replace("forge:gems/", "");
|
||||
event.custom({
|
||||
type: "create:pressing",
|
||||
ingredients: [
|
||||
{
|
||||
tag: mat,
|
||||
},
|
||||
],
|
||||
results: [
|
||||
{
|
||||
item: `emendatusenigmatica:${baseMat}_plate`,
|
||||
},
|
||||
],
|
||||
});
|
||||
});
|
||||
|
||||
// IE Metal Press
|
||||
allEeMaterials.forEach((mat) => {
|
||||
const baseMat = mat.replace("forge:ingots/", "").replace("forge:gems/", "");
|
||||
event.custom({
|
||||
type: "immersiveengineering:metal_press",
|
||||
mold: {
|
||||
item: "immersiveengineering:mold_plate",
|
||||
},
|
||||
input: {
|
||||
tag: mat,
|
||||
},
|
||||
result: {
|
||||
item: `emendatusenigmatica:${baseMat}_plate`,
|
||||
},
|
||||
energy: 2400,
|
||||
});
|
||||
});
|
||||
|
||||
// Tinkers Casting
|
||||
allEeMaterials.forEach((mat) => {
|
||||
const baseMat = mat.replace("forge:ingots/", "").replace("forge:gems/", "");
|
||||
|
||||
event.custom({
|
||||
type: "tconstruct:casting_table",
|
||||
cast: {
|
||||
tag: "tconstruct:casts/multi_use/plate",
|
||||
},
|
||||
fluid: {
|
||||
tag: `forge:molten_${baseMat}`,
|
||||
amount: 144,
|
||||
},
|
||||
result: {
|
||||
item: `emendatusenigmatica:${baseMat}_plate`,
|
||||
},
|
||||
cooling_time: 65,
|
||||
});
|
||||
|
||||
event.custom({
|
||||
type: "tconstruct:casting_table",
|
||||
cast: {
|
||||
tag: "tconstruct:casts/single_use/plate",
|
||||
},
|
||||
cast_consumed: true,
|
||||
fluid: {
|
||||
tag: `forge:molten_${baseMat}`,
|
||||
amount: 144,
|
||||
},
|
||||
result: {
|
||||
item: `emendatusenigmatica:${baseMat}_plate`,
|
||||
},
|
||||
cooling_time: 65,
|
||||
});
|
||||
});
|
||||
};
|
||||
|
||||
const removeIERecipes = (event) => {
|
||||
[
|
||||
"aluminum",
|
||||
"brass",
|
||||
"bronze",
|
||||
"cast_iron",
|
||||
"cobalt",
|
||||
"constantan",
|
||||
"copper",
|
||||
"electrum",
|
||||
"enderium",
|
||||
"gold",
|
||||
"invar",
|
||||
"iridium",
|
||||
"iron",
|
||||
"lead",
|
||||
"lumium",
|
||||
"nickel",
|
||||
"osmium",
|
||||
"signalum",
|
||||
"silver",
|
||||
"steel",
|
||||
"tin",
|
||||
"uranium",
|
||||
"zinc",
|
||||
].forEach((mat) => {
|
||||
event.remove({ id: `immersiveengineering:metalpress/plate_${mat}` });
|
||||
});
|
||||
};
|
||||
|
||||
const removeThermalPlateRecipes = (event) => {
|
||||
const plates = [
|
||||
"bronze_plate",
|
||||
"constantan_plate",
|
||||
"copper_plate",
|
||||
"diamond_plate",
|
||||
"electrum_plate",
|
||||
"emerald_plate",
|
||||
"enderium_plate",
|
||||
"gold_plate",
|
||||
"invar_plate",
|
||||
"iron_plate",
|
||||
"lapis_plate",
|
||||
"lead_plate",
|
||||
"lumium_plate",
|
||||
"nickel_plate",
|
||||
"quartz_plate",
|
||||
"signalum_plate",
|
||||
"silver_plate",
|
||||
"tin_plate",
|
||||
];
|
||||
|
||||
plates.forEach((plate) => {
|
||||
const mat = plate.replace("_plate", "");
|
||||
event.remove({ output: `thermal:${plate}` });
|
||||
event.remove({ id: `thermal:machine/press/press_${mat}_ingot_to_plate` });
|
||||
});
|
||||
event.remove({
|
||||
id: "thermal:compat/immersiveengineering/press_ie_uranium_ingot_to_plate",
|
||||
});
|
||||
};
|
||||
|
||||
const removeTinkersPlateRecipes = (event) => {
|
||||
[
|
||||
"aluminum",
|
||||
"brass",
|
||||
"bronze",
|
||||
"cast_iron",
|
||||
"cobalt",
|
||||
"constantan",
|
||||
"copper",
|
||||
"electrum",
|
||||
"enderium",
|
||||
"gold",
|
||||
"invar",
|
||||
"iridium",
|
||||
"iron",
|
||||
"lead",
|
||||
"lumium",
|
||||
"nickel",
|
||||
"osmium",
|
||||
"signalum",
|
||||
"silver",
|
||||
"steel",
|
||||
"tin",
|
||||
"uranium",
|
||||
"zinc",
|
||||
].forEach((mat) => {
|
||||
event.remove({
|
||||
id: `tconstruct:smeltery/casting/metal/${mat}/plate_gold_cast`,
|
||||
});
|
||||
event.remove({
|
||||
id: `tconstruct:smeltery/casting/metal/${mat}/plate_sand_cast`,
|
||||
});
|
||||
});
|
||||
};
|
||||
|
||||
const removeCreateRecipes = (event) => {
|
||||
event.remove({ id: "create:pressing/iron_ingot" });
|
||||
event.remove({ id: "create:pressing/gold_ingot" });
|
||||
event.remove({ id: "create:pressing/copper_ingot" });
|
||||
event.remove({ id: "create:pressing/brass_ingot" });
|
||||
event.remove({ id: "createaddition:pressing/zinc_ingot" });
|
||||
event.remove({ id: "minecraft:pressing/zinc_sheet" });
|
||||
event.remove({ id: "minecraft:pressing/netherite_sheet" });
|
||||
};
|
||||
|
||||
onEvent("recipes", (event) => {
|
||||
removeThermalPlateRecipes(event);
|
||||
removeTinkersPlateRecipes(event);
|
||||
removeCreateRecipes(event);
|
||||
removeIERecipes(event);
|
||||
|
||||
addPlateRecipesForEE(event);
|
||||
});
|
||||
|
|
@ -0,0 +1,212 @@
|
|||
const removeRodRecipes = (event) => {
|
||||
const rodMats = [
|
||||
"forge:ingots/aluminum",
|
||||
"forge:ingots/brass",
|
||||
"forge:ingots/bronze",
|
||||
"forge:ingots/cast_iron",
|
||||
"forge:ingots/cobalt",
|
||||
"forge:ingots/constantan",
|
||||
"forge:ingots/copper",
|
||||
"forge:gems/diamond",
|
||||
"forge:ingots/electrum",
|
||||
"forge:gems/emerald",
|
||||
"forge:ingots/enderium",
|
||||
"forge:ingots/gold",
|
||||
"forge:ingots/invar",
|
||||
"forge:ingots/iridium",
|
||||
"forge:ingots/iron",
|
||||
"forge:gems/lapis",
|
||||
"forge:ingots/lead",
|
||||
"forge:ingots/lumium",
|
||||
"forge:ingots/nickel",
|
||||
"forge:ingots/osmium",
|
||||
"forge:gems/peridot",
|
||||
"forge:gems/ruby",
|
||||
"forge:gems/sapphire",
|
||||
"forge:ingots/signalum",
|
||||
"forge:ingots/silver",
|
||||
"forge:ingots/steel",
|
||||
"forge:ingots/tin",
|
||||
"forge:ingots/uranium",
|
||||
"forge:ingots/zinc",
|
||||
];
|
||||
|
||||
rodMats.forEach((tag) => {
|
||||
const baseMat = tag.replace("forge:ingots/", "").replace("forge:gems/", "");
|
||||
event.remove({ output: `#forge:rods/${baseMat}` });
|
||||
// Remove existing inconsistent tcon recipes
|
||||
event.remove({
|
||||
id: `tconstruct:smeltery/casting/metal/${baseMat}/rod_gold_cast`,
|
||||
});
|
||||
event.remove({
|
||||
id: `tconstruct:smeltery/casting/metal/${baseMat}/rod_sand_cast`,
|
||||
});
|
||||
event.remove({ id: `createaddition:rolling/${baseMat}_ingot` });
|
||||
event.remove({ id: `immersiveengineering:metalpress/rod_${baseMat}` });
|
||||
});
|
||||
};
|
||||
|
||||
const addRodRecipesForEE = (event) => {
|
||||
const allEeMaterials = [
|
||||
"forge:ingots/aluminum",
|
||||
"forge:ingots/brass",
|
||||
"forge:ingots/bronze",
|
||||
"forge:ingots/cast_iron",
|
||||
"forge:ingots/cobalt",
|
||||
"forge:ingots/constantan",
|
||||
"forge:ingots/copper",
|
||||
"forge:gems/diamond",
|
||||
"forge:ingots/electrum",
|
||||
"forge:gems/emerald",
|
||||
"forge:ingots/enderium",
|
||||
"forge:ingots/gold",
|
||||
"forge:ingots/invar",
|
||||
"forge:ingots/iridium",
|
||||
"forge:ingots/iron",
|
||||
"forge:gems/lapis",
|
||||
"forge:ingots/lead",
|
||||
"forge:ingots/lumium",
|
||||
"forge:ingots/nickel",
|
||||
"forge:ingots/osmium",
|
||||
"forge:gems/peridot",
|
||||
"forge:gems/ruby",
|
||||
"forge:gems/sapphire",
|
||||
"forge:ingots/signalum",
|
||||
"forge:ingots/silver",
|
||||
"forge:ingots/steel",
|
||||
"forge:ingots/tin",
|
||||
"forge:ingots/uranium",
|
||||
"forge:ingots/zinc",
|
||||
];
|
||||
|
||||
// Manual crafting
|
||||
allEeMaterials.forEach((tag) => {
|
||||
const baseMat = tag.replace("forge:ingots/", "").replace("forge:gems/", "");
|
||||
event.shaped(`2x emendatusenigmatica:${baseMat}_rod`, ["I", "I"], {
|
||||
I: `#${tag}`,
|
||||
});
|
||||
});
|
||||
|
||||
// Thermal multiservo press
|
||||
allEeMaterials.forEach((tag) => {
|
||||
const baseMat = tag.replace("forge:ingots/", "").replace("forge:gems/", "");
|
||||
event.custom({
|
||||
type: "thermal:press",
|
||||
ingredients: [
|
||||
{
|
||||
tag: tag,
|
||||
},
|
||||
{
|
||||
item: "immersiveengineering:mold_rod",
|
||||
},
|
||||
],
|
||||
result: [
|
||||
{
|
||||
item: `emendatusenigmatica:${baseMat}_rod`,
|
||||
count: 2,
|
||||
},
|
||||
],
|
||||
});
|
||||
});
|
||||
|
||||
// IE Press (overwritten from AVSP/replaceoutputs.js)
|
||||
allEeMaterials.forEach((mat) => {
|
||||
const baseMat = mat.replace("forge:ingots/", "").replace("forge:gems/", "");
|
||||
event.custom({
|
||||
type: "immersiveengineering:metal_press",
|
||||
mold: {
|
||||
item: "immersiveengineering:mold_rod",
|
||||
},
|
||||
input: {
|
||||
count: 1,
|
||||
base_ingredient: {
|
||||
tag: mat,
|
||||
},
|
||||
},
|
||||
result: {
|
||||
item: `emendatusenigmatica:${baseMat}_plate`,
|
||||
count: 2,
|
||||
},
|
||||
energy: 2400,
|
||||
});
|
||||
});
|
||||
|
||||
// TConstruct Casting
|
||||
allEeMaterials.forEach((tag) => {
|
||||
const baseMat = tag.replace("forge:ingots/", "").replace("forge:gems/", "");
|
||||
|
||||
event.custom({
|
||||
type: "tconstruct:casting_table",
|
||||
cast: {
|
||||
tag: "tconstruct:casts/multi_use/rod",
|
||||
},
|
||||
fluid: {
|
||||
tag: `forge:molten_${baseMat}`,
|
||||
amount: 72,
|
||||
},
|
||||
result: {
|
||||
item: `emendatusenigmatica:${baseMat}_rod`,
|
||||
},
|
||||
cooling_time: 20,
|
||||
});
|
||||
|
||||
event.custom({
|
||||
type: "tconstruct:casting_table",
|
||||
cast: {
|
||||
tag: "tconstruct:casts/single_use/rod",
|
||||
},
|
||||
cast_consumed: true,
|
||||
fluid: {
|
||||
tag: `forge:molten_${baseMat}`,
|
||||
amount: 72,
|
||||
},
|
||||
result: {
|
||||
item: `emendatusenigmatica:${baseMat}_rod`,
|
||||
},
|
||||
cooling_time: 20,
|
||||
});
|
||||
});
|
||||
|
||||
// Create Additions Rolling
|
||||
allEeMaterials.forEach((tag) => {
|
||||
const baseMat = tag.replace("forge:ingots/", "").replace("forge:gems/", "");
|
||||
event.custom({
|
||||
type: "createaddition:rolling",
|
||||
input: {
|
||||
tag: tag,
|
||||
},
|
||||
result: {
|
||||
item: `emendatusenigmatica:${baseMat}_rod`,
|
||||
count: 2,
|
||||
},
|
||||
});
|
||||
});
|
||||
};
|
||||
|
||||
onEvent("recipes", (event) => {
|
||||
removeRodRecipes(event);
|
||||
addRodRecipesForEE(event);
|
||||
|
||||
// custom thermal recipe for graphite electrode
|
||||
event.custom({
|
||||
type: "thermal:press",
|
||||
ingredients: [
|
||||
{
|
||||
tag: "forge:ingots/hop_graphite",
|
||||
count: 4,
|
||||
},
|
||||
{
|
||||
item: "immersiveengineering:mold_rod",
|
||||
},
|
||||
],
|
||||
result: [
|
||||
{
|
||||
item: "immersiveengineering:graphite_electrode",
|
||||
count: 1,
|
||||
nbt: {
|
||||
graphDmg: 48000,
|
||||
},
|
||||
},
|
||||
],
|
||||
});
|
||||
});
|
||||
213
kubejs/server_scripts/HarmoniousEngineering/tags.js
Normal file
213
kubejs/server_scripts/HarmoniousEngineering/tags.js
Normal file
|
|
@ -0,0 +1,213 @@
|
|||
const harmoniousEngineeringTags = (event) => {
|
||||
event.add("harmeng:diamond_tier_saws", "natural-progression:diamond_saw");
|
||||
event.add("harmeng:diamond_tier_saws", "natural-progression:netherite_saw");
|
||||
|
||||
event.add("harmeng:presses", "thermal:machine_press");
|
||||
event.add("harmeng:presses", "create:mechanical_press");
|
||||
|
||||
event.add("harmeng:basic_tank", "create: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:simple_black_hole_tank");
|
||||
event.add("harmeng:basic_tank", "thermal:fluid_cell");
|
||||
|
||||
event.add("harmeng:chestless_logs", "#tconstruct:greenheart_logs");
|
||||
event.add("harmeng:chestless_logs", "#tconstruct:skyroot_logs");
|
||||
event.add("harmeng:chestless_logs", "#tconstruct:bloodshroom_logs");
|
||||
|
||||
event.add("harmeng:chestless_planks", "quark:white_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:light_blue_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:pink_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:cyan_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:brown_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:black_stained_planks");
|
||||
event.add("harmeng:chestless_planks", "tconstruct:greenheart_planks");
|
||||
event.add("harmeng:chestless_planks", "tconstruct:skyroot_planks");
|
||||
event.add("harmeng:chestless_planks", "tconstruct:bloodshroom_planks");
|
||||
|
||||
event.add("harmeng:saw_blade", "thermal:saw_blade");
|
||||
event.add("harmeng:saw_blade", "#forge:sawblades");
|
||||
|
||||
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", "#forge:ingots/enderium");
|
||||
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", "industrialforegoing:range_addon11");
|
||||
event.add("harmeng:meka/filler_2", "thermal:upgrade_augment_2");
|
||||
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",
|
||||
"mekanismtools:refined_obsidian_pickaxe"
|
||||
);
|
||||
|
||||
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_helm", "minecraft:netherite_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",
|
||||
"mekanismtools:refined_obsidian_chestplate"
|
||||
);
|
||||
|
||||
event.add("harmeng:meka/crafting_legs", "minecraft:netherite_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",
|
||||
"mekanismtools:refined_obsidian_boots"
|
||||
);
|
||||
};
|
||||
|
||||
const naturalProgressionTags = (event) => {
|
||||
event.add("natural-progression:axes", "immersiveengineering:axe_steel");
|
||||
event.add("natural-progression:axes", "mekanismtools:stone_paxel");
|
||||
event.add("natural-progression:axes", "mekanismtools:iron_paxel");
|
||||
event.add("natural-progression:axes", "mekanismtools:gold_paxel");
|
||||
event.add("natural-progression:axes", "mekanismtools:diamond_paxel");
|
||||
event.add("natural-progression:axes", "mekanismtools:netherite_paxel");
|
||||
event.add("natural-progression:axes", "mekanismtools:bronze_axe");
|
||||
event.add("natural-progression:axes", "mekanismtools:bronze_paxel");
|
||||
event.add("natural-progression:axes", "mekanismtools:osmium_axe");
|
||||
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_paxel");
|
||||
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_paxel");
|
||||
event.add("natural-progression:axes", "mekanismtools:steel_axe");
|
||||
event.add("natural-progression:axes", "mekanismtools:steel_paxel");
|
||||
event.add("natural-progression:axes", "tconstruct:hand_axe");
|
||||
event.add("natural-progression:axes", "betterendforge:aeternium_axe");
|
||||
event.add("natural-progression:axes", "betterendforge:thallasium_axe");
|
||||
event.add("natural-progression:axes", "betterendforge:terminite_axe");
|
||||
event.add("natural-progression:axes", "betternether:cincinnasite_axe");
|
||||
event.add("natural-progression:axes", "betternether:nether_ruby_axe");
|
||||
event.add(
|
||||
"natural-progression:axes",
|
||||
"mekanismtools:refined_glowstone_paxel"
|
||||
);
|
||||
event.add(
|
||||
"natural-progression:axes",
|
||||
"appliedenergistics2:certus_quartz_axe"
|
||||
);
|
||||
event.add(
|
||||
"natural-progression:axes",
|
||||
"appliedenergistics2:nether_quartz_axe"
|
||||
);
|
||||
};
|
||||
|
||||
const thermalTags = (event) => {
|
||||
event.add("thermal:crafting/dies", "immersiveengineering:mold_plate");
|
||||
event.add("thermal:crafting/dies", "immersiveengineering:mold_gear");
|
||||
event.add("thermal:crafting/dies", "immersiveengineering:mold_rod");
|
||||
event.add("thermal:crafting/dies", "immersiveengineering:mold_bullet_casing");
|
||||
event.add("thermal:crafting/dies", "immersiveengineering:mold_wire");
|
||||
};
|
||||
|
||||
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`, `thermal:${mat}_plate`);
|
||||
});
|
||||
|
||||
[
|
||||
"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`, `immersiveengineering:plate_${mat}`);
|
||||
});
|
||||
};
|
||||
|
||||
const removeGears = (event) => {
|
||||
[
|
||||
"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`, `thermal:${mat}_gear`);
|
||||
});
|
||||
};
|
||||
|
||||
onEvent("tags.blocks", (event) => {
|
||||
event.add("forge:stone", "quark:deepslate");
|
||||
});
|
||||
|
||||
onEvent("tags.items", (event) => {
|
||||
harmoniousEngineeringTags(event);
|
||||
naturalProgressionTags(event);
|
||||
removePlates(event);
|
||||
removeGears(event);
|
||||
event.add("forge:stone", "quark:deepslate");
|
||||
event.add(
|
||||
"valhelsia_structures:axe_crafting_blacklisted",
|
||||
"#natural-progression:saw"
|
||||
);
|
||||
});
|
||||
Loading…
Reference in a new issue