跳到正文

Bedrock Breaking

作者:nokko

A Fabric mod for Minecraft that allows you to break bedrock, and optionally adds a bedrock pickaxe. Very configurable!

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

Logo

Bedrock Breaking

A Fabric mod that allows Bedrock to be broken. Much configuration!

This mod has 2 non-loader dependencies (Fabric Language Kotlin and the Fabric API), and ships with a copy of ParadoxConfig.

Config file

Defaults:

{
  "bedrock_breakers": [
    "bedrockbreaking:bedrock_pickaxe",
    "minecraft:diamond_pickaxe"
  ],
  "bedrock_drops": false,
  "bedrock_effective_hardness": 50.0,
  "bedrock_pickaxe_enabled": true,
  "use_effective_modifier": false
}

By default, a Bedrock Pickaxe item is added (without a crafting recipe or creative tab, ID: "bedrockpickaxe:bedrock_pickaxe").

To remove it, set:

"bedrock_pickaxe_enabled": false

Difficulty of breaking Bedrock is configurable, based on Minecraft hardness values:

"bedrock_effective_hardness": 50.0

Any item can be made to break bedrock:

  "bedrock_breakers": [
    "bedrockbreaking:bedrock_pickaxe",
    "minecraft:diamond_pickaxe"
  ]

If items other than the Bedrock Pickaxe are selected, you may want to set:

"use_effective_modifier": false

Otherwise, everything that isn’t a Bedrock Pickaxe will be “ineffective” on Bedrock, and mine at 30% the speed.

The Efficiency enchantment works properly. The Fortune enchantment will not work.

License

This mod is released under the CC0 license. Nokko made it.

Notes

This is the first mod I made for Fabric 1.16.4! Mixins are awesome.

To people looking at this code for reference:

  • Bedrock is made breakable by the AbstractBlockMixin.
  • It shouldn’t break anything, but it does hook into the piece of code that runs every time you break a block, so… beware, potential bugs abound.
  • The item is just a reskinned vanilla pickaxe. It breaks more quickly when being used to mine Bedrock.
  • Configs will be in your .minecraft/config/bedrockpickaxe/ directory or similar, look for bedrockpickaxe.json.

(Optional on the clientside if server has disabled the bedrock pickaxe item)

常见问题

Bedrock Breaking 支持哪些 Minecraft 版本?

Bedrock Breaking 支持 Minecraft Java 版 1.16.4,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

Bedrock Breaking 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。

评论

登录后评论和评分

nokko 的其他作品

查看全部 →