13 lines
335 B
JavaScript
13 lines
335 B
JavaScript
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");
|
|
let rec = e.getRecipes();
|
|
|
|
for (let k in rec) {
|
|
console.log(JSON.stringify({key:k,val:rec[k]}))
|
|
}
|
|
}
|
|
});
|