How do I make vanilla recipes not work?

Started by Bo-Katan22 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I make vanilla recipes not work?

So, I'm making an Vanilla+ mod and I need to re-work the crafting system-but how do I override the crafting recipes so that (for example) an iron sword won't give you anything? For some reason you can't make it give you air. I really need help. Thanks!

Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I'm pretty sure Minecraft…
Thu, 11/02/2023 - 03:17

I'm pretty sure Minecraft tries to prevent overriding recipes like this- but if you don't mind a sort of uglier way of doing this, you can add barriers or something to the recipe override so that it can't be naturally obtained in survival mode. Otherwise, it's difficult to remove vanilla recipes instead of just modifying them.

...Also, fair warning, I've been running into some issues lately where MCreator isn't putting recipes with the Minecraft namespace in the correct file, so if you're running into difficulties and sure you've got all the registry names correct; try double checking and/or manually placing the recipe json files in the correct folder.