#how would I hide a recipe in kubejs?
6 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
All JEI events are client sided and so go in the client_scripts folder
Sub-types
onEvent('jei.subt...
e.g. in client scripts
onEvent('jei.hide.items', event => {
event.hide('example:ingredient')
})
onEvent('jei.hide.fluids', event => {
event.hide('example:fluid')
})
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)
})```
@bright stone Unresolved thread still hasn't been closed! If your question was answered, please close this post with </ticket close:1054771505520717835> command!