ForgeServ-1-20-1/kubejs/server_scripts/Nuking.js
2024-04-20 10:59:19 -05:00

10 lines
319 B
JavaScript

// priority: 0
// We want this script to run VERY LAST so we guarantee all replace[Input|Output] scripts have worked.
ServerEvents.recipes(event => {
const toRemove = JsonIO.read('kubejs/globals/nuked.json').items;
toRemove.forEach(x => {
event.remove({ input: x });
event.remove({ output: x });
});
});