Auto-Shield Reborn
在任意一只手中持有盾牌时,你即可自动格挡原本需要举起盾牌才能阻挡的攻击——无需手动举起。所有格挡判定均由服务器权威处理,因此即使在专用服务器上也能生效,且未安装该模组的玩家同样受益。
为什么选择 Auto-Shield Reborn
- 无需举起即可格挡。 当主手或副手持盾时,来自正面 180 度扇区(水平方向)的近战、投射物及大多数直接伤害会被自动格挡;来自后方的攻击仍会命中,且能穿透盾牌的伤害(火焰、坠落、溺水、魔法、饥饿)依然有效——这与手动举起盾牌的效果完全一致。
- 服务器权威 + 公平性。 每次格挡的盾牌耐久消耗可在服务器端配置(0-10,默认为 1;设为 0 表示盾牌永不磨损)。仅服务器管理员可设置此值,其他玩家仅可查看。
- 轻量级。 不添加任何方块、物品或命令。仅在服务器安装即可实现该行为;若同时在客户端安装,还可启用游戏内配置界面。
使用方法
手持盾牌。每次自动格挡都会播放盾牌音效、挥动手臂,并按配置的成本扣除盾牌耐久。通过 ModMenu(Fabric)或模组列表条目上的 Config 按钮(Forge / NeoForge)打开配置界面;管理员编辑耐久消耗和服务器限制,服务器会保存并将设置同步给所有玩家。
本模组提供 Fabric、Forge 和 NeoForge 版本(支持客户端与服务器)。
由 Kishku7 制作。保留所有权利。此为 agorasim20/autoshield(CC0-1.0)的全新重写版本。
Auto-Shield Reborn
Hold a shield in either hand and you automatically block any hit a raised shield would normally
block - no need to raise it. All blocking is server-authoritative, so it works on dedicated servers
even for players who do not have the mod installed.
Why Auto-Shield Reborn
- Block without raising. Melee, projectiles, and most direct damage from your front 180-degree arc
(horizontal) are blocked automatically while a shield is in your main or off hand; hits from behind
still land, and shield-bypassing damage (fire, fall, drowning, magic, starvation) passes through -
exactly like a manually-raised shield.
- Server-authoritative + fair. The per-hit shield durability cost is server-configurable (0-10,
default 1; 0 = the shield never wears). Operators set it; everyone else sees it read-only.
- Lightweight. Adds no blocks, items, or commands. Install it on a server for the behaviour;
install it on clients too for the in-game config screen.
Usage
Hold a shield. Each automatic block plays the shield sound, swings your arm, and chips the shield by
the configured cost. Open the config screen from ModMenu (Fabric) or the Config button on the
mod-list entry (Forge / NeoForge); operators edit the durability cost and the server clamps, persists,
and syncs it to everyone.
Ships as a Fabric, Forge, and NeoForge mod (client + server).
- Source code:
- Report issues / Support:
By Kishku7. All Rights Reserved. A from-scratch rewrite of
agorasim20/autoshield (CC0-1.0).
评论 0
登录后参与评分
还没有评论,来抢沙发吧