加载保护
在世界可见但尚未完全就绪时的短期生成保护。
概述
加载保护为玩家加入世界、重生或切换维度后提供一个临时的安全窗口。其目的很明确:填补那些区块、实体或网络通信仍在初始化,但伤害已经可能发生的尴尬间隙。
在保护生效期间,该模组可以:
- 防止玩家在加入、重生或切换维度后立即受到伤害
- 清除受保护玩家身上的敌对生物仇恨目标
- 阻止受保护玩家造成伤害,直到保护结束
- 一旦玩家实际移动,提前结束保护
- 在聊天栏、操作栏或两者中显示倒计时提示
支持情况
| 项目 |
状态 |
| Minecraft |
26.1+ |
| Fabric |
支持 |
| NeoForge |
支持 |
适用场景
加载保护在以下情况下尤其有用:
- 玩家加入服务器时,附近生物已处于活跃状态,而客户端仍在加载中
- 重生卡顿导致一次死亡变成两次
- 维度旅行完成前,目标区域尚未完全稳定
- 生存或冒险服务器希望提供更安全的登录、重生或传送流程
触发条件
保护可在以下事件后启动:
默认情况下,保护在加入时启动。如需,可启用重生和维度切换的保护。
保护期间的效果
使用默认规则时,受保护的玩家:
- 不会受到伤害
- 被敌对生物移除锁定目标
- 无法对玩家或生物造成伤害
- 在保护生效期间接收倒计时消息
如果启用了“移动即结束”,一旦玩家实际改变位置,保护将立即结束。仅转动视角不算移动。
配置
配置文件:
config/loadingprotection-common.toml
主要选项:
Protection Duration:保护持续时间(秒,1-300)
Trigger On Join:加入世界或服务器时启用保护
Trigger On Respawn:重生后启用保护
Trigger On Dimension Change:跨维度旅行后启用保护
End On Movement:玩家实际移动时结束保护
Protect Mount:同时保护当前骑乘的载具
Prevent Mob Targeting:防止敌对生物持续锁定玩家
Prevent Outgoing Damage:阻止受保护玩家发起攻击
Show Messages:显示开始、倒计时和结束提示
Message Mode:在聊天栏、操作栏或两者中显示提示
默认行为
开箱即用,该模组采用相当保守的设置:
- 保护持续 60 秒
- 保护在玩家加入时启动
- 移动会提前结束保护
- 清除敌对生物的锁定目标
- 阻止 outgoing 伤害
- 提示信息同时出现在聊天栏和操作栏
Loading Protection
Short-term spawn protection for the moments when the world is visible, but not fully ready yet.
Overview
Loading Protection gives players a temporary safety window after joining a world, respawning, or changing dimensions. The point is simple: cover the awkward gap where chunks, entities, or networking may still be settling in, but damage is already possible.
While protection is active, the mod can:
- prevent immediate damage right after a join, respawn, or dimension change
- clear hostile mob targeting from protected players
- stop protected players from dealing damage until protection ends
- end protection early once the player actually moves
- show countdown notices in chat, the action bar, or both
Support
| Item |
Status |
| Minecraft |
26.1+ |
| Fabric |
Supported |
| NeoForge |
Supported |
Good fit for
Loading Protection is especially useful when:
- players join a server and nearby mobs are already active while the client is still loading
- respawn stutter turns one death into two
- dimension travel finishes before the destination area is fully stable
- a survival or adventure server wants safer login, respawn, or teleport flow
Triggers
Protection can start after:
- joining a world or server
- respawning
- changing dimensions
By default, protection starts on join. Respawn and dimension-change protection can be enabled if needed.
What happens during protection
With the default rules, protected players:
- do not take damage
- are dropped as targets by hostile mobs
- cannot deal damage to players or mobs
- receive countdown messages while protection is active
If "End On Movement" is enabled, protection ends as soon as the player actually changes position. Looking around does not count.
Configuration
Config file:
config/loadingprotection-common.toml
Main options:
Protection Duration: protection time in seconds (1-300)
Trigger On Join: enable protection when joining a world or server
Trigger On Respawn: enable protection after respawn
Trigger On Dimension Change: enable protection after cross-dimension travel
End On Movement: end protection once the player actually moves
Protect Mount: also protect the vehicle currently being ridden
Prevent Mob Targeting: keep hostile mobs from staying locked onto the player
Prevent Outgoing Damage: stop protected players from attacking
Show Messages: show start, countdown, and end notices
Message Mode: show notices in chat, the action bar, or both
Default behavior
Out of the box, the mod uses a fairly conservative setup:
- protection lasts 60 seconds
- protection starts when a player joins
- moving ends protection early
- hostile mob targeting is cleared
- outgoing damage is blocked
- messages appear in both chat and the action bar
评论 0
登录后参与评分
还没有评论,来抢沙发吧