#Help adding/removing JEI Entries
17 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
event.remove('ad_astra:fuel')
event.remove('ad_astra:cryo_fuel')
})
RecipeViewerEvents.addEntries('item', event => {
event.add('create:shadow_steel')
event.add('create:chromatic_compound')
event.add('create:shadow_steel_casing')
})
RecipeViewerEvents.removeEntriesCompletely('item', event => {
event.remove('computercraft:turtle_normal')
event.remove('computercraft:turtle_advanced')
})```
here's how to do stuff for 1.20.1-
hide items and fluids
JEIEvents.hideItems(event => {
event.hide('example:ingredient')
})
JEIEvents.hideFluids(event => {
event.hide('example:fluid')
})
add items and fluids
JEIEvents.addItems(event => {
event.add(Item.of('example:item', {test: 123}))
})
JEIEvents.addFluids(event => {
event.add('example:fluid')
})
add information
JEIEvents.information(event => {
event.addItem('example:ingredient', ['Line 1', 'Line 2'])
})
hide categories
JEIEvents.removeCategories(event => {
console.log(event.categoryIds) //log a list of all category ids to logs/kubejs/client.txt
event.remove('create:compacting')
})
subtypes
JEIEvents.subtypes(event => {
event.useNBT('example:item')
event.useNBTKey('example:item', 'type')
})
hide recipes
JEIEvents.removeRecipes(event => {
event.remove('example:crafting_catagory', 'example:item_or_recipe')
})
event.remove('ad_astra:fuel')
event.remove('ad_astra:cryo_fuel')
})
JEIEvents.addItems(event => {
event.add('create:shadow_steel')
event.add('create:chromatic_compound')
event.add('create:shadow_steel_casing')
})
JEIEvents.hideItems(event => {
event.remove('computercraft:turtle_normal')
event.remove('computercraft:turtle_advanced')
})``` still does not work
You can find your KubeJS client log in /minecraft/logs/kubejs/client.log.
If you are on 1.18 or 1.16 it will be called client.txt.
Please send it if asked, as it contains helpful information.
Paste version of client.log from @devout basin
actually kubejs on fabric doesn't have jei integration for 1.20.1
so you would need to switch to rei
Paste version of client.log from @devout basin
you will need to use REIEvents then
Does not work still
can you sent the log again?