Fellies/kubejs[e6]/server_scripts/enigmatica/kubejs/normal/recipes/remove.js

18 lines
416 B
JavaScript

events.listen('recipes', function (event) {
if (global.packmode !== 'normal') {
return;
}
var outputRemovals = ['torchmaster:feral_flare_lantern', 'torchmaster:megatorch'];
var idRemovals = [];
outputRemovals.forEach(function (removal) {
event.remove({ output: removal });
});
idRemovals.forEach(function (removal) {
event.remove({ id: removal });
});
});