Advanced Mining
Advanced Mining 是一个插件,添加了自定义的挖矿系统。其功能类似于 Hypixel Skyblock 中看到的系统。
如果您发现任何问题或有建议,请在 GitHub 上创建 Issue。
挖矿系统非常健壮且可定制,允许您管理方块所需的挖掘时间以及工具挖掘它们的速度。它甚至允许您使用显示实体为方块设置自定义纹理。
为了禁用原版客户端侧的“裂纹”动画和方块破坏效果,该插件将玩家的 block_break_speed 属性设置为 0。这可能会与利用此属性的其他自定义逻辑(这种情况并不常见)发生冲突,并且在使用 ViaBackwards 等插件时,在 1.20.5 之前的客户端版本上可能无法正常工作。
该插件还提供了一个供开发者使用的 API,使他们能够修改插件的行为并将其集成到其他系统中,例如自定义物品插件。
工作原理
通过此插件,您可以定义具有 强度 (Strength) 和 硬度 (Hardness) 等属性的 自定义方块 (Custom Blocks)。然后,您可以将任何方块设置为自定义方块。
玩家可以使用您设定的工具来挖掘这些方块。工具具有 挖掘速度 (Mining Speed) 和 破坏力 (Breaking Power) 属性,以及可选的工具类型。
该系统的工作原理是:每个刻(tick)从方块的 强度 中减去玩家的 挖掘速度,直到其降至 0。
这意味着,如果玩家拥有 10 的挖掘速度,而他们正在挖掘的方块强度为 500,则需要 50 个刻(2.5 秒)才能挖掉该方块。
要挖掘一个方块,玩家的 破坏力 必须高于或等于方块的 硬度。
有关详细说明和使用教程,请参阅 此处。
以下是展示视频:
Advanced Mining
Advanced Mining is a plugin that adds a custom mining system. It functions like the one seen on Hypixel Skyblock.
If you find any issues or have a suggestion, please create an Issue on the GitHub.
The minig system is very robust and customizable, allowing you to manage how long blocks take to mine and how fast tools mine them. It even allows you to set a custom texture to the blocks using display entities.
To disable the vanilla client-side "cracking" animation and block breaking the plugin sets the player's block_break_speed attribute to 0. This may conflict with other custom logic utilizing this attribute (which is not very common) and will probably not work on client versions older than 1.20.5 if using plugins like ViaBackwards.
The plugin also features an API for developers, which allows them to modify the plugin's behavior and integrate it into other systems such as custom item plugins.
How it works
With this plugin, you can define Custom Blocks which have properties such as Strength and Hardness. You can then set any block to be a Custom Block.
Players can then mine the blocks with tools you set. Tools have the Mining Speed and Breaking Power stats and an optional Tool Type.
The system works by subtracting the player's Mining Speed from the block's Strength every tick until it reaches 0.
This means that if the player has 10 Mining Speed and the block they're mining has 500 strength, it will take 50 ticks (2.5 seconds) to mine the block.
To mine a block the player needs to have a Breaking Power higher than or equal to the block's Hardness.
For a detailed description and tutorial how to use, see here.
Here is a showcase video:
评论 0
登录后参与评分
还没有评论,来抢沙发吧