#How to hide items from EMI?

4 messages · Page 1 of 1 (latest)

lavish marten
#

I'm using EMI and want to hide certain items. I've looked on the wiki and searched, but I don't know how.

tidal skiffBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

gloomy urchin
#

you can make it like this:

var hide = [
  "minecraft:netherite_scrap",
  "minecraft:stone_sword",
];
ServerEvents.tags("item", (event) => {
  hide.forEach((item) => event.add("c:hidden_from_recipe_viewers", item));
});

it only hide the items and not remove the recipes