Anvil Crush
额外的 Carpet 规则。
依赖相同 Minecraft 版本的 fabric-carpet。
Anvil Crush 设置
anvilCrushIce
下落的铁砧会压碎冰块
霜冰 -> 冰 -> 蓝冰
- 类型:
boolean
- 默认值:
false
- 可选值:
true, false
- 分类:
MA_124, ANVIL, SURVIVAL, EXPERIMENTAL, FEATURE
anvilCrushStone
下落的铁砧会压碎石质方块
圆石 -> 砾石 -> 沙子
- 类型:
boolean
- 默认值:
false
- 可选值:
true, false
- 分类:
MA_124, ANVIL, SURVIVAL, EXPERIMENTAL, FEATURE
anvilFallingDamage
下落的铁砧会受到损坏
- 类型:
boolean
- 默认值:
true
- 可选值:
true, false
- 分类:
MA_124, ANVIL, SURVIVAL, EXPERIMENTAL
anvilTooExpensive
禁用铁砧的“过于昂贵”限制
界面仍会显示错误提示
- 类型:
boolean
- 默认值:
true
- 可选值:
true, false
- 分类:
MA_124, SURVIVAL, ANVIL
axesAreWeapons
将斧头视为武器(例如允许在生存模式下掉落战利品)
- 类型:
boolean
- 默认值:
false
- 可选值:
true, false
- 分类:
MA_124, EXPERIMENTAL, SURVIVAL
clickThroughItemFrame
可点击穿透不可见且固定的物品展示框
- 类型:
boolean
- 默认值:
false
- 可选值:
true, false
- 分类:
MA_124, BUGFIX
compostPoisonousPotatoes
有毒马铃薯可堆肥
更改需重启服务器或执行 /reload
- 类型:
boolean
- 默认值:
false
- 可选值:
true, false
- 分类:
MA_124, SURVIVAL
compostRottenFlesh
腐肉可堆肥
更改需重启服务器或执行 /reload
- 类型:
boolean
- 默认值:
false
- 可选值:
true, false
- 分类:
MA_124, SURVIVAL
keepXP
死亡时保留经验值
- 类型:
boolean
- 默认值:
false
- 可选值:
true, false
- 分类:
MA_124, SURVIVAL, EXPERIMENTAL
noExplosionDamage
玩家不会因爆炸受伤
- 类型:
boolean
- 默认值:
false
- 可选值:
true, false
- 分类:
MA_124, SURVIVAL, DAMAGE
noFireDamage
玩家不会因火焰受伤
特指火焰、熔岩和岩浆块
- 类型:
boolean
- 默认值:
false
- 可选值:
true, false
- 分类:
MA_124, SURVIVAL, DAMAGE
noKinecticDamage
玩家不会因撞墙受伤
- 类型:
boolean
- 默认值:
false
- 可选值:
true, false
- 分类:
MA_124, SURVIVAL, DAMAGE
noPortalTicking
僵尸猪人不再在下界传送门中生成
- 类型:
boolean
- 默认值:
false
- 可选选项:
true, false
- 分类:
MA_124, SURVIVAL, CREATIVE
printDeathCoords
在玩家死亡消息中打印坐标
- 类型:
boolean
- 默认值:
false
- 可选选项:
true, false
- 分类:
MA_124, SURVIVAL
shiftClickItemFrameInvisible
按住 Shift + 使用(鼠标右键)使物品展示框变为不可见并固定位置
- 类型:
boolean
- 默认值:
false
- 可选选项:
true, false
- 分类:
MA_124, CREATIVE, SURVIVAL, FEATURE
villagerLockTrades
村民锁定交易。
此功能可能会永久改变在此规则激活期间与之进行过交易的任何村庄的行为模式。
- 类型:
boolean
- 默认值:
true
- 可选选项:
true, false
- 分类:
MA_124, EXPERIMENTAL, SURVIVAL
Anvil Crush Commands
/analyze <radius>
针对世界中的每一层(在指定半径内),输出在该高度上找到的方块数量,结果写入 /tmp/mc-results.csv。
从 /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
为不同 MC 版本构建模组
下载仓库
- 使用 git:
git clone https://gitlab.com/Ma_124/mc-anvil-crush.git。
- 作为 .zip 文件。
如果你想为其他 Minecraft 版本自行构建该模组,需要修改以下文件:
src/main/resources/fabric.mod.json:将 depends.minecraft 更改为新版本。
gradle.properties
- 使用 此处 找到的值更新
# Fabric Properties 下的属性。
- 更新为你发行版对应的最新 Carpet 版本。所有 Carpet 版本的列表可以在 此处 找到。
build.gradle:在 publishModrinth 任务下,将 addGameVersion 更改为相应的版本。
您可能需要更改 Java 版本,可通过以下位置进行设置:
build.gradle:
- 修改
sourceCompatibility 和 targetCompatibility。
- 在
tasks.withType(JavaCompile) 中修改 it.options.release。
./src/main/resources/anvil-crush.mixins.json: 修改 compatibilityLevel。
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 <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
- 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.
评论 0
登录后参与评分
还没有评论,来抢沙发吧