#how would I hide a recipe in kubejs?

6 messages · Page 1 of 1 (latest)

bright stone
#

I would like to hide a recipe in JEI using kubejs, I just don't know how to.

barren badgeBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

obsidian saffron
#

e.g. in client scripts

onEvent('jei.hide.items', event => {
  event.hide('example:ingredient')
})

onEvent('jei.hide.fluids', event => {
  event.hide('example:fluid')
})
twin kestrel
#
onEvent('jei.remove.recipes', event => {
//  event.remove(categoryId, recipeId)
    event.remove('minecraft:crafting', 'minecraft:bread') // hides vanilla bread crafting recipe

// logs all JEI category IDs
    console.log(event.categoryIds)
})```
barren badgeBOT
#

@bright stone Unresolved thread still hasn't been closed! If your question was answered, please close this post with </ticket close:1054771505520717835> command!