#How would I check if a certain crafting method is the only one that exists for a certain Item?

10 messages · Page 1 of 1 (latest)

elder quartz
#

I'd Like to Check whether an item only has smithing/enchanting or no valid recipes and hide that item from JEI.

feral cairnBOT
#

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

prisma flame
#

not possible without a considerable amount of annoyance

#

cause jei hiding happens quite early, before recipe are loaded

#

you can kinda hide stuff after that but it is a lot of internal jei code

elder quartz
#

Hm okay...so the only solution is to list the items individually or regex them

prisma flame
#

yeah

elder quartz
#

😑

unique bone
#

The JEI hide event actually fires after world load, when the runtime becomes available

serene geyser
#

If you can't check recipes at jei hide time, you could check the recipes after everything is loaded, find which ones match your criteria, then print a list of their outputs' ids to the console, which you can then copy and paste to use as a hardcoded blacklist for jei hiding?