Anvil Crushing Recipes


Anvil Crushing Recipes

Minecraft versions environment: server, opt client

loader: Fabric available for: Quilt Loader

Requires: Fabric API supports: REI supports: Mod Menu

license: MIT source on: GitLab issues: GitLab localized: Percentage

Modrinth: Downloads CurseForge: Downloads

chat: Discord coindrop.to me Buy me a coffee

Define what happens when an anvil lands on blocks or entities. Data driven.

Works server-side and in single player.
For REI support, it must be installed on the client as well.

Adds a new data type: anvil_crushing_recipes:anvil_crushing. Recipes can be added with data packs.

Recipes take one or more blocks, entities, or tags as input and can produce a block and/or a list of items as output.

Match State Crush Entity

There are more demonstration videos on the repo.

Built in data packs

As of version 1.2 there are several built-in data packs (you can /datapack disable them like any other data pack):

- anvil_crushing_block_breaking, default: enabled
  makes anvils break weak blocks [e.g. pumpkins and saplings]

- anvil_crushing_block_degradation, default: enabled
  makes anvils 'damage' many blocks they land on, turning them into less refined variants [e.g. smooth stone to stone]

- anvil_crushing_stone_to_cobble, default: enabled
  this is separate from block_degradation because it can override the new data pack compress_stone_to_deepslate

- anvil_crushing_compress_stone_to_deepslate, default: disabled
  Renewable deepslate! An anvil that crushes a pillar of three stone creates deepslate. This only works if stone_to_cobble is disabled

- anvil_crushing_ice_compression, default: enabled
  An anvil that crushes three ice creates packed ice; or if it crushes three packed ice, it creates blue ice. This is an alternative to crafting and works the same way the carpet_extra's renewableIce feature does

- anvil_crushing_crush_ores, default: enabled
  Anvils cause the raw materials in ores to pop out into item form and degrade the ore block into cobble (or cobbled deepslate or netherrack) [e.g. nether gold ore drops gold nuggets and becomes netherrack]

- anvil_crushing_wither_skele_on_basalt_to_blackstone, default: enabled
  Renewable blackstone! An anvil that crushes a wither skeleton on basalt turns the basalt to blackstone

SpaceEagle17 has also created a data pack that makes anvils convert cobble to sand, which can be used in place of Carpet Extra's feature which does same thing. Download the data pack from this page.

Both basic and detailed information on data pack format can be found on the wiki. There are also lots of good examples in the built-in data packs. The format is as 'vanilla-like' as possible.


localized: Percentage

If you'd like to help translate Anvil Crushing Recipes, you can do so on Crowdin.


This mod is only for Fabric (works on Quilt, too!) and I won't be porting it to Forge. The license is MIT, however, so anyone else is free to port it.

I'd appreciate links back to this page if you port or otherwise modify this project, but links aren't required.