diff --git a/kubejs/server_scripts/base/recipes/create/filling.js b/kubejs/server_scripts/base/recipes/create/filling.js new file mode 100644 index 0000000..2493761 --- /dev/null +++ b/kubejs/server_scripts/base/recipes/create/filling.js @@ -0,0 +1,15 @@ +onEvent('recipes', (event) => { + const id_prefix = 'enigmatica:base/create/filling/'; + const recipes = [ + { + input: 'minecraft:cobblestone', + fluid: Fluid.of('minecraft:lava', 500), + output: 'minecraft:magma_block', + id: `${id_prefix}magma_block_from_lava` + } + ]; + + recipes.forEach((recipe) => { + event.recipes.create.filling(recipe.output, [recipe.fluid, recipe.input]).id(recipe.id); + }); +}); diff --git a/kubejs/server_scripts/base/recipes/create/haunting.js b/kubejs/server_scripts/base/recipes/create/haunting.js new file mode 100644 index 0000000..7d43389 --- /dev/null +++ b/kubejs/server_scripts/base/recipes/create/haunting.js @@ -0,0 +1,14 @@ +onEvent('recipes', (event) => { + const id_prefix = 'enigmatica:base/create/haunting/'; + const recipes = [ + { + outputs: ['minecraft:netherrack'], + input: 'minecraft:magma_block', + id: `${id_prefix}haunting_netherrack` + } + ] + + recipes.forEach((recipe) => { + event.recipes.create.haunting(recipe.outputs, recipe.input).id(recipe.id); + }); +});