弩优化器!
本模组将弩的装填过程完全在客户端处理,从而降低延迟的影响,并确保服务器不会中断装填流程。
问题所在
在装填时,客户端必须等待“使用物品”数据包到达服务器,等待服务器处理装填操作,最后等待服务器将已充能的弩状态同步回客户端。同样的往返延迟也会影响射击:你无法开始下一次装填,直到服务器确认你的弩已经发射并将其更新为空状态,而服务器必须将此状态发送回客户端,这会导致更多的延迟。此外,高延迟可能导致服务器不同步并随机取消你的装填操作。
延迟不应影响你装填的速度或一致性。
解决方案
本模组通过将装填和射击都移至客户端来解决此问题。当你射击时,它会立即清空弩中的弹药,让你无需等待延迟即可立即开始下一次装填。通过过滤掉无效的服务端更新(通常由高延迟、丢包等引起),该模组防止了服务器取消你正在进行的装填操作。服务器仍然负责处理从弩中射出的箭矢。
演示视频
致谢
- 模组作者:Walksy
- 图标设计:SakuraFX / Luna
- 图标素材:pvoq
Crossbow Optimizer!
This mod handles crossbow reloading completely on the client, reducing the effect of ping and ensuring the server doesn't interrupt the reloading process.
The Problem
When reloading, the client must wait for the use-item packet to reach the server, wait for the server to process the reload, and finally wait for the server to sync the charged crossbow state back to the client. This same round-trip latency affects shooting too where you can't start reloading again until the server confirms your crossbow has fired and updates it to an empty state, which it has to send back to the client causing even more delays. On top of this, high ping can cause the server to desync and cancel your reloads randomly.
Ping shouldn't effect the speed or consistency in which you reload.
The Solution
This mod fixes this by moving both reloading and shooting to the client. It empties the crossbow as soon as you shoot, letting you start your next reload immediately without waiting on your ping. By filtering out invalid server updates (normally causes by high ping, packet loss etc), the mod prevents the server from cancelling your active reloads. The server still handles the arrows being fired from the crossbow.
Demonstration Video
Credits
- Mod: Walksy
- Icon Design: SakuraFX / Luna
- Icon: pvoq
下载 Crossbow Optimizer
下载 Crossbow Optimizer
下载 Crossbow Optimizer
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Crossbow Optimizer
下载 Crossbow Optimizer
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Crossbow Optimizer
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Crossbow Optimizer
下载 Crossbow Optimizer
下载 Crossbow Optimizer
下载 Crossbow Optimizer
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
暂无更新日志
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
原版世界生成优化模组
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
评论 0
登录后参与评分
还没有评论,来抢沙发吧