Get recipes from kubejs and mapping the emc
gjmhmm8 opened this issue ยท 3 comments
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)
})