JEI Integration
Sub-types
onEvent('jei.subtypes', event => {
event.useNBT('example:item')
event.userNBTKey('example:item', 'type')
})
Hide Items & Fluids
onEvent('jei.hide.items', event => {
event.hide('example:ingredient')
})
onEvent('jei.hide.fluids', event => {
event.hide('example:fluid')
})
Add Items & Fluids
onEvent('jei.add.items', event => {
event.add(Item.of('example:item', {test: 123}))
})
onEvent('jei.add.fluids', event => {
event.add('example:fluid')
})
Add Information
onEvent('jei.information', event => {
event.add('example:ingredient', ['Line 1', 'Line 2'])
})
Hide categories
onEvent('jei.remove.categories', event => {
console.log(event.getCategories(getCategoryIds()) //log a list of all categoriescategory ids to logs/kubejs/client.txt
event.remove('create:compacting')
})