Open gjmhmm8 opened 8 months ago
I don't believe this will be possible due to the open ended api that KubeJS suppplies.
kubejs can export all recipes easily and it can be useful in modpack
ServerEvents.recipes(event => { let recipes=[] event.forEachRecipe({},r=>{ // console.log("recipe",r.json.toString()) recipes.push(JSON.parse(r.json.toString())) }) let recipe=JSON.stringify(recipes) console.log(recipe) })
When I was creating a feature, I found that this method had an issue of incomplete export, but after replacing recipes with afterRecipes, there was no for each recipe method
Get recipes from kubejs and mapping the emc