Download Anvil Crushing Recipes — Minecraft Mods — MetaMods

Anvil Crushing Recipes

Active

Downloads

0

Last update

3 months ago

Versions

1.17 — 1.21.8
Server
Fabric
Quilt
Game mechanics
Technological
Utils

Anvil Crushing Recipes

Create Anvil Crushing Recipes

This mod adds a new game mechanic to Minecraft that allows you to configure what happens when an anvil falls on various blocks or entities. Everything works through a data system, making the mod very flexible and customizable.

Main Features

The mod functions on the server side and in single player. For REI (Rei's Roughly Enough Items) support, it must be installed on the client.

A new data type is added: anvil_crushing_recipes. Recipes can be added through data packs.

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

Match State Crush Entity

Additional demonstration videos are available on the repository.

Built-in Data Packs

Starting from version 1.2, several built-in data packs are available (they can be disabled with the /datapack disable command like any other data packs):

  • anvil_crushing_block_breaking (default: enabled) - allows anvils to break fragile blocks (e.g., pumpkins and saplings)
  • anvil_crushing_block_degradation (default: enabled) - anvils "damage" many blocks, turning them into less refined variants (e.g., smooth stone into regular stone)
  • anvil_crushing_stone_to_cobble (default: enabled) - separated 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 crushing a pillar of three stone creates deepslate. Only works if stone_to_cobble is disabled
  • anvil_crushing_ice_compression (default: enabled) - An anvil crushing 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 as the renewableIce feature in carpet_extra
  • anvil_crushing_crush_ores (default: enabled) - Anvils cause raw materials from ores to drop as items and turn the ore block into cobblestone (or cobbled deepslate, or netherrack)
  • anvil_crushing_wither_skele_on_basalt_to_blackstone (default: enabled) - Renewable blackstone! An anvil crushing a wither skeleton on basalt turns the basalt into blackstone

SpaceEagle17 also created a data pack that allows anvils to turn cobblestone into sand, which can replace the similar feature in Carpet Extra. The data pack can be downloaded from this page.

Configuration and Documentation

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

The mod works only on Fabric (also compatible with Quilt!) and will not be ported to Forge. The license is MIT, so anyone is free to port it.

Project members
supersaiyansubtlety

supersaiyansubtlety

Developer

Created: 17 Jun 2021

ID: 7964