diff --git a/minecraft/kubejs/server_scripts/recipedump.js b/minecraft/kubejs/server_scripts/recipedump.js index 54a5bf1..a645c16 100644 --- a/minecraft/kubejs/server_scripts/recipedump.js +++ b/minecraft/kubejs/server_scripts/recipedump.js @@ -3,6 +3,10 @@ const toggle = true; ServerEvents.recipes(e => { if (toggle) { console.warn("RECIPE DUMPING IS TURNED ON, THIS WILL DUMP JSON DATA OF ALL OF THE RECIPES IN THE GAME, WILL LAG"); - console.log(JSON.stringify(e.getRecipes())); + let rec = e.getRecipes(); + + for (let k in rec) { + console.log(JSON.stringify({key:k,val:rec[k]})) + } } });