Ore Collapse
Ore Collapse 通过使矿石块的破坏可能引发上方天花板掉落碎石,为采矿引入了地质不稳定性。
机制
当玩家挖掘任何矿石(铁、金、铜、钻石、绿宝石、青金石、红石或煤炭)时,有几率直接位于挖掘区域上方的洞穴天花板上,松动的石头、沙砾或圆石块会脱落并以实体形式坠落。概率和严重程度随矿石稀有度变化——挖掘钻石矿石比挖掘煤炭更有可能触发严重的坍塌。
坠落的方块在撞击时会造成伤害。这为采矿探险带来了真正的紧张感和风险评估。
风险缓解
玩家可以通过以下方式降低风险:
- 从避免坍塌区域的角度进行挖掘
- 放置火把或台阶作为临时的支撑物
- 佩戴头盔以减少部分伤害
- 简单地接受混乱
配置
正常游戏无需使用命令。
操作员可以使用:
/function ore_collapse:config/toggle — 启用或禁用该机制
/function ore_collapse:config/intensity — 在低、中、高坍塌频率之间切换
技术细节
该系统利用计划函数,通过进度检测矿石破坏来触发,然后向上进行射线投射以在可配置的范围内查找有效的天花板方块。完全服务器端运行,通过事件驱动的检测而非持续扫描实现轻量级的刻使用。
Ore Collapse
Ore Collapse introduces geological instability to mining by making ore block breaks potentially trigger falling debris from the ceiling above.
Mechanics
When a player mines any ore (iron, gold, copper, diamond, emerald, lapis, redstone, or coal), there is a chance that loose stone, gravel, or cobblestone blocks will detach from the cave ceiling directly above the mined area and fall as entities. The probability and severity scale with ore rarity—breaking diamond ore has a higher chance of triggering a significant collapse than breaking coal.
Falling blocks deal damage on impact. This creates genuine tension and risk assessment during mining expeditions.
Risk Mitigation
Players can reduce risk by:
- Mining from angles that avoid collapse zones
- Placing torches or slabs as makeshift supports above them
- Wearing helmets for partial damage reduction
- Simply accepting the chaos
Configuration
No commands are required for normal gameplay.
Operators can use:
/function ore_collapse:config/toggle — Enable or disable the mechanic
/function ore_collapse:config/intensity — Cycle between low, medium, and high collapse frequencies
Technical Details
The system uses scheduled functions triggered by ore break detection through advancements, then raycasts upward to find valid ceiling blocks within a configurable range. Fully server-side with lightweight tick usage through event-driven detection rather than continuous scanning.
评论 0
登录后参与评分
还没有评论,来抢沙发吧