Anvil Crush

Additional carpet rules.

884

Anvil Crush

<!-- README.md is generated using `gradle updateReadme` -->

Anvil Crush

Additional carpet rules.

- Download builds on Modrinth. - Source code on GitLab.

Depends on fabric-carpet for the same minecraft version.

Anvil Crush Settings

anvilCrushIce

falling anvils crush ice frosted ice -> ice -> packed ice -> blue ice * Type: `boolean` * Default value: `false` * Required options: `true`, `false` * Categories: `MA_124`, `ANVIL`, `SURVIVAL`, `EXPERIMENTAL`, `FEATURE`

anvilCrushStone

falling anvils crush stony types cobblestone -> gravel -> sand * Type: `boolean` * Default value: `false` * Required options: `true`, `false` * Categories: `MA_124`, `ANVIL`, `SURVIVAL`, `EXPERIMENTAL`, `FEATURE`

anvilFallingDamage

falling anvils take damage

* Type: `boolean` * Default value: `true` * Required options: `true`, `false` * Categories: `MA_124`, `ANVIL`, `SURVIVAL`, `EXPERIMENTAL`

anvilTooExpensive

disable 'too expensive' on anvils the UI will still show the error * Type: `boolean` * Default value: `true` * Required options: `true`, `false` * Categories: `MA_124`, `SURVIVAL`, `ANVIL`

axesAreWeapons

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

* Type: `boolean` * Default value: `false` * Required options: `true`, `false` * Categories: `MA_124`, `EXPERIMENTAL`, `SURVIVAL`

clickThroughItemFrame

click through item frames that are invisible and fixed

* Type: `boolean` * Default value: `false` * Required options: `true`, `false` * Categories: `MA_124`, `BUGFIX`

compostPoisonousPotatoes

compostable poisonous potatoes changes require server restart or /reload * Type: `boolean` * Default value: `false` * Required options: `true`, `false` * Categories: `MA_124`, `SURVIVAL`

compostRottenFlesh

compostable rotten flesh changes require server restart or /reload * Type: `boolean` * Default value: `false` * Required options: `true`, `false` * Categories: `MA_124`, `SURVIVAL`

keepXP

keep experience points on death

* Type: `boolean` * Default value: `false` * Required options: `true`, `false` * Categories: `MA_124`, `SURVIVAL`, `EXPERIMENTAL`

noExplosionDamage

players don't get hurt by explosions

* Type: `boolean` * Default value: `false` * Required options: `true`, `false` * Categories: `MA_124`, `SURVIVAL`, `DAMAGE`

noFireDamage

players don't get hurt by fire specifically applies to fire, lava, and magma blocks * Type: `boolean` * Default value: `false` * Required options: `true`, `false` * Categories: `MA_124`, `SURVIVAL`, `DAMAGE`

noKinecticDamage

players don't get hurt by flying into walls

* Type: `boolean` * Default value: `false` * Required options: `true`, `false` * Categories: `MA_124`, `SURVIVAL`, `DAMAGE`

noPortalTicking

zombified piglin no long spawn in nether portals

* Type: `boolean` * Default value: `false` * Required options: `true`, `false` * Categories: `MA_124`, `SURVIVAL`, `CREATIVE`

printDeathCoords

print coordinates in player death messages

* Type: `boolean` * Default value: `false` * Required options: `true`, `false` * Categories: `MA_124`, `SURVIVAL`

shiftClickItemFrameInvisible

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

* Type: `boolean` * Default value: `false` * Required options: `true`, `false` * Categories: `MA_124`, `CREATIVE`, `SURVIVAL`, `FEATURE`

villagerLockTrades

villager lock trades. this can permanently alter the behaviour of any villages traded with while this rule was activated * Type: `boolean` * Default value: `true` * Required options: `true`, `false` * Categories: `MA_124`, `EXPERIMENTAL`, `SURVIVAL`

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`:

```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 - using git: `git clone https://gitlab.com/Ma_124/mc-anvil-crush.git`. - as a .zip file.

If you want to build the mod yourself for a different Minecraft version you need to change the following files: - `src/main/resources/fabric.mod.json`: Change `depends.minecraft` to new version. - `gradle.properties` - Update the properties under `# Fabric Properties` with the values found here. - Update to the most recent carpet version for your release. A list of all carpet versions can be found here. - `build.gradle`: Under the `publishModrinth` task change `addGameVersion` to the appropriate version(s).

You may have to change the Java version which can be done at the following places: - `build.gradle`: - Change `sourceCompatibility` and `targetCompatibility`. - Change `it.options.release` in `tasks.withType(JavaCompile)`. - `./src/main/resources/anvil-crush.mixins.json`: Change `compatibilityLevel`.

ADS