介绍
<!– README.md is generated using gradle updateReadme –>
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
- 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 \
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
- 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: Changedepends.minecraftto new version.gradle.properties- Update the properties under
# Fabric Propertieswith 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 thepublishModrinthtask changeaddGameVersionto the appropriate version(s).
You may have to change the Java version which can be done at the following places:
build.gradle:- Change
sourceCompatibilityandtargetCompatibility. - Change
it.options.releaseintasks.withType(JavaCompile). ./src/main/resources/anvil-crush.mixins.json: ChangecompatibilityLevel.
常见问题
Anvil Crush 支持哪些 Minecraft 版本?
Anvil Crush 支持 Minecraft Java 版 1.18–1.19.2,共 5 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
Anvil Crush 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。
评论
登录后评论和评分