#Remove item completely
35 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
https://modrinth.com/mod/item-obliterator
Otherwise, KubeJS has JEI integration and can hide items in JEI.
Remove recipes, loot tables, and hide from jei/rei
And use inventory changed event to remove the item if detected
??removingitems
Want to remove whole items from the game? Well, you can't do that. Removing items directly from the registry is unsupported and would break mods. Your best option is to remove the item's Recipes and JEI/REI entry.
Click the buttons below to find out how.
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')
})
the pages have moved 
Not moved, they have been removed
nope, moved
You can add and hide things in JEI/REI with KubeJS, and the wiki has a page on those!
Or atleast how they we're for 1.19/1.20
that, maybe
I made the ??__jei and ??__rei and ??__rei_grouping macros because the pages still exist but they simply don't have the info
not using 1.21? fuck you
Wait the hide thing kinda works
That just removes it from recipes and jei etc that works
dies this go in server scripts or startup scripts
:0
I meant that the wiki only has 1.21 info
server/client
both or either or?!!?!?
so I could just shove it next too my other recipes
well its a lot of events that youre asking all at once lol
recipes and loot tables are server
jei/rei are client
no swearing before marriage 🔫
lol
OOOOH oki
remove actual recipes in server
remove item from jei in client
yes