Anvil Crushing Recipes

Anvil Crushing Recipes

Mod

Datapacks can define what happens when an anvil lands on a particular block.

Server Game MechanicsTechnology

1,273 downloads
10 followers
Created3 years ago
Updated2 days ago

Follow Save
Host your Minecraft server on BisectHosting - get 25% off your first month with code MODRINTH.

This mod is for the Fabric mod loader and minecraft versions

Also works on Quilt!

Modrinth Downloads CurseForge Downloads

Requires Fabric API

Like this mod? Coindrop.to me or Buy me a coffee

Mod loader Fabric Mod loader Fabric

Discuss on Discord License MIT Source Code on GitLab gitlab issues

Anvil Crushing Recipes is a server-side mod. Clients don't need it to connect to servers with it, and it works in singleplayer.


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

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

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

  • anvil_crushing_block_breaking: makes anvils break weak blocks [e.g. pumpkins and saplings]
  • anvil_crushing_block_degradation: 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: this is separate from block_degradation because it can override the new datapack 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: 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: 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: Renewable blackstone! An anvil that crushes a wither skeleton on basalt turns the basalt to blackstone

There are some demonstration videos at this link.

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

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.

External resources



Project members

supersaiyansubtlety

Owner


Technical information

License
MIT
Client side
unsupported
Server side
required
Project ID