I'm attempting to prevent a player from crafting/smelting items if they don't fulfill certain requirements. I've read through some some older posts ([1.10.2] Disabling crafting recipe for certain players, Player-based Crafting Recipes), but was hoping there was a new way to do it. Unfortunately, I've already played with ItemCraftedEvent and ItemSmeltedEvent, but they still trigger after the deed has been done.
From what I've read, there may not be a way to prevent a smelting recipe, but if anyone has any ideas on how to stop it I'd appreciate it.
Thanks!