Feeling dumb, I'm trying to learn how hide items in JEI, following an example in another post I found via search but it's not working
`JEIEvents.hideItems(event => {
function hideJEI(listOfItems) {
listOfItems.forEach(item => {
event.hide(item)
});
}
hideJEI([
"minecraft:iron_ingot"
])
})`
reload, no errors, iron ingot still shown in JEI
sorry for dumb question but I just don't get it