HomeJavaModsAnvil Crush
ModsJava

Anvil Crush

by Ma124 · on Modrinth

Which Minecraft do you have?

Every version of the game needs its own build. Pick yours, then download — the wrong build installs fine and then does nothing in the game. This mod is built for Fabric only.

⬇ Download for 1.19.1–1.19.2⬇ Download for 1.19⬇ Download for 1.18–1.18.1
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.

Anvil Crush

Additional carpet rules.

Depends on fabric-carpet for the same minecraft version.

Anvil Crush Settings

anvilCrushIce

falling anvils crush ice
frosted ice -> ice -> packed ice -> blue ice

anvilCrushStone

falling anvils crush stony types
cobblestone -> gravel -> sand

anvilFallingDamage

falling anvils take damage

anvilTooExpensive

disable 'too expensive' on anvils
the UI will still show the error

axesAreWeapons

treat axes as weapons (e.g. allow looting in survival)

clickThroughItemFrame

click through item frames that are invisible and fixed

compostPoisonousPotatoes

compostable poisonous potatoes
changes require server restart or /reload

compostRottenFlesh

compostable rotten flesh
changes require server restart or /reload

keepXP

keep experience points on death

noExplosionDamage

players don't get hurt by explosions

noFireDamage

players don't get hurt by fire
specifically applies to fire, lava, and magma blocks

noKinecticDamage

players don't get hurt by flying into walls

noPortalTicking

zombified piglin no long spawn in nether portals

printDeathCoords

print coordinates in player death messages

shiftClickItemFrameInvisible

shift + use (right mouse) makes item frames invisible and fixed

villagerLockTrades

villager lock trades.
this can permanently alter the behaviour of any villages traded with while this rule was activated

Anvil Crush Commands

/analyze <radius>

For each layer in the world (in the given radius) output how many blocks were found on that height to /tmp/mc-results.csv.

Example excerpt from /tmp/mc-results.csv:

block.minecraft.redstone_ore,10,11423
block.minecraft.water,10,265
block.minecraft.deepslate_diamond_ore,10,298
block.minecraft.copper_ore,10,1250
block.minecraft.deepslate_iron_ore,10,2928
block.minecraft.coal_ore,10,14556
block.minecraft.diamond_ore,10,1540
block.minecraft.redstone_ore,11,11549
block.minecraft.water,11,1191
block.minecraft.deepslate_diamond_ore,11,297
block.minecraft.copper_ore,11,1227
block.minecraft.deepslate_iron_ore,11,2954
block.minecraft.coal_ore,11,14361
block.minecraft.diamond_ore,11,1530

Build Mod for different MC versions

Download the repository

If you want to build the mod yourself for a different Minecraft version you need to change the following files:

You may have to change the Java version which can be done at the following places:

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more