船站立修复
修复原版漏洞(MC-156980):当玩家站在漂浮于水面上的船上时,移动会出现卡顿和回弹,或被推搡并陷入卡住的状态。
根本原因
玩家移动由客户端主导:客户端模拟自身位置并将其报告给服务器,服务器会重新计算相同的移动逻辑;若两者差异过大,则会拒绝(回拉)客户端的位置。服务器的移动处理中存在两项检查执行此操作,而当船在玩家下方漂移时,这两项检查均会误触发:
- 一项容差检查:由于船只自身的运动,该检查会在大多数刻中被轻易突破,这与玩家无关。
- 一项碰撞检查:将船只自身碰撞箱的移动视为每次在玩家下方移动时的新碰撞。
这两项检查均已放宽限制,但仅在移动实体靠近船只时才生效,因此其他地方的常规反作弊验证不受影响。
详情
- 在服务端运行。在单人游戏中,由集成服务器处理。
- 客户端无需安装此模组;一旦服务端运行了该模组,原版客户端即可免费获得修复效果。
Boat Standing Fix
Fixes the vanilla bug (MC-156980) where standing on a boat floating in water makes your movement stutter and rubber-band, or gets you pushed around and stuck.
Root cause
Player movement is client-authoritative: the client simulates its own position and reports it to the server, which recomputes the same movement and rejects (snaps back) the client's position if the two disagree too much. Two checks in the server's movement handling do this, and both misfire when a boat is drifting under the player:
- A tolerance check that a bobbing boat blows through most ticks purely from its own motion, nothing to do with the player.
- A collision check that treats the boat's own shifting hitbox as a new collision every time it moves under the player.
Both checks are loosened, but only when the moving entity is near a boat, so ordinary anti-cheat validation is untouched everywhere else.
Details
- Runs on the server. In singleplayer the integrated server handles it.
- Clients do not need the mod; a vanilla client gets the fix for free once the server runs it.
下载 Boat Standing Fix
下载 Boat Standing Fix
下载 Boat Standing Fix
下载 Boat Standing Fix
下载 Boat Standing Fix
下载 Boat Standing Fix
下载 Boat Standing Fix
下载 Boat Standing Fix
移植至 Minecraft 26.3。该 mixin 现在目标为 ServerGamePacketListenerImpl.handlePlayerPositionChange,它已替换 handleMovePlayer。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧