#How to remove anvil recipes?

11 messages · Page 1 of 1 (latest)

shell yacht
#

The witherstorm mod adds a bunch of anvil recipes. And I don't know how to remove them from the game. Is there even a way to do this?

oak houndBOT
#

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

tulip shard
#

it exists in the documentation
you can do something like

event.remove({ output: 'minecraft:anvil'})
#

it will remove any recipe that outputs an anvil , if you want to keep the vanilla one just remake the recipe later in the script

strong cloud
#

He doesn't want to remove recipes Output anvils, but recipes being crafted in an anvil. This isn't really possible as Thier automatically added through code. This Shows pretty well how anvil recipes are added and I think that it's the Same for 1.20.1. idk If you're able to replace the return true Code with return false. Maybe Somebody Else knows something.
https://moddingtutorials.org/1.19.2/recipes#anvil

In this tutorial we learn about the json recipe formats used by crafting tables, furnaces, smithing tables and stone cutters. We also use an event handler to manipulate the anvil's outputs.

astral parcel
#

It looks like wither storm does actually add a recipe type for these, so you should be able to remove them by id, or

event.remove({type: 'witherstormmod:anvil'})
```if you want to get rid of all of them
shell yacht
#

I see

#

I'll give this a go later

shell yacht
#

Thank you :D

#

I can just look at the anvil recipe to add my own