From 560c0b553235e08cca787ffd269395b8363452cc Mon Sep 17 00:00:00 2001 From: MuteTiefling Date: Wed, 12 Jul 2023 14:26:46 -0400 Subject: [PATCH] wormhole --- changelogs/CHANGELOG.md | 1 + .../base/recipes/occultism/shapeless.js | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 kubejs/server_scripts/base/recipes/occultism/shapeless.js diff --git a/changelogs/CHANGELOG.md b/changelogs/CHANGELOG.md index d9a873e6e..0d9d54b5e 100644 --- a/changelogs/CHANGELOG.md +++ b/changelogs/CHANGELOG.md @@ -14,6 +14,7 @@ - Named Miniboss mobs will now drop affix loot [\#485](https://github.com/EnigmaticaModpacks/Enigmatica9/pull/485) ([MuteTiefling](https://github.com/MuteTiefling)) - Crimson Berries, Nightshade Berres, Sweetberries, Glowberries, Blueberries, and Torchberry Plants may now be purchased from the Market [\#485](https://github.com/EnigmaticaModpacks/Enigmatica9/pull/485) ([MuteTiefling](https://github.com/MuteTiefling)) - Farmers Delight recipes are now covered by Create Mixing. Don't overheat them or they'll burn! [\#487](https://github.com/EnigmaticaModpacks/Enigmatica9/pull/487) ([MuteTiefling](https://github.com/MuteTiefling)) +- Stable Wormholes may now be reset in a crafting table [\#487](https://github.com/EnigmaticaModpacks/Enigmatica9/pull/487) ([MuteTiefling](https://github.com/MuteTiefling)) ### 🐛 Fixed Bugs diff --git a/kubejs/server_scripts/base/recipes/occultism/shapeless.js b/kubejs/server_scripts/base/recipes/occultism/shapeless.js new file mode 100644 index 000000000..e6be21217 --- /dev/null +++ b/kubejs/server_scripts/base/recipes/occultism/shapeless.js @@ -0,0 +1,15 @@ +ServerEvents.recipes((event) => { + const id_prefix = 'enigmatica:base/occultism/shapeless/'; + + const recipes = [ + { + output: 'occultism:stable_wormhole', + inputs: [Item.of('occultism:stable_wormhole', {}).weakNBT()], + id: `${id_prefix}stable_wormhole_reset` + } + ]; + + recipes.forEach((recipe) => { + event.shapeless(recipe.output, recipe.inputs).id(recipe.id); + }); +});