Anti-Smooth
从 Modrinth 下载:
Anti-Smooth 使服务器更频繁地发送实体更新,让玩家与实体的交互(尤其是攻击时的击退效果)感觉更加灵敏,几乎达到了旧版本发布前(1.3 之前)单人游戏中生物行为的那种水平。 这确实会增加带宽使用量,因此建议仅在单人世界中使用此模组;不过,距离足够远的生物会使用原版方法进行插值处理。 此外,速度会在客户端应用,使得生物在等待更新期间能够移动,并且击退效果会即时生效。
对于 26.3 版本,Anti-Smooth 附带了对 MC-311974 的部分修复(我不会尝试进行完整修复,因为该模组为逐刻更新的实体重新引入了旧的插值处理器)。
Anti-Smooth 适用于 Fabric 平台的 1.20.1+ 以及 NeoForge 平台的 1.21.1+。 如果 Anti-Smooth 似乎不支持更高版本,请尝试使用该模组声称支持的最新 Minecraft 版本的模组 jar 文件;如果不起作用,请将其报告为一个问题。
Anti-Smooth 的灵感来源于 No Mob Latency,它做了基本相同的事情,但我想以自己的方式实现,以支持更多版本。 有关修复实体插值的另一个模组,请参阅 EntTick。
配置
配置文件位于 config 文件夹中的 "antismooth.json" 文件中。
{
// 控制是否启用插值,或者每刻是否发送位置数据包。
// 插值是游戏在多个刻之间平滑过渡实体位置的过程,
// 它是原版的一个功能。
// 插值默认设置为 "multiplayerOnly",原因有两个:
// - 客户端无法检测服务器是否安装了 Anti-Smooth。
// - Anti-Smooth 会增加带宽消耗,因为它发送额外的
// 实体位置更新数据包,这对服务器性能并不理想。
// 如果你仍想在多人服务器上禁用插值,请设置为 "disabled",
// 但这会导致在原版服务器上游玩时出现卡顿的移动。
// 如果你希望在单人世界中也能使用插值,请设置为 "enabled"。
// 默认值:"multiplayerOnly"
"interpolation": "multiplayerOnly",
// 无论 "interpolation" 设置如何,实体始终应用插值的最小距离。将此设置为 0 或更低将禁用此行为。
// 如果这与服务器不匹配...
// 默认值:64.0
"minInterpolationDist": 64.0,
// 将速度应用于客户端实体。尽管实体位置更新数据包也包含速度更新,但原版 Minecraft 并不这样做。
// 默认值:true
"applyVelocity": true,
// 启用后,也将速度在客户端应用于启用了插值的实体。
// 在 26.3 中可能会导致插值实体出现抖动。
// 默认值:true
"applyVelocityForInterpolated": true,
// 一组始终具有插值且从不具有客户端速度的实体。
// 如果任何模组生物不能很好地与 Anti-Smooth 配合工作,此设置非常有用。
// 默认值:[]
"unaffectedEntities": [
"minecraft:pig",
"minecraft:sheep",
"minecraft:cow"
],
// 除了 "unaffectedEntities" 属性外,还有一组默认不受影响的实体。这包括船、矿车和掉落物。
// 设置为 true 以禁用此内置列表。
// 默认值:false
"disableDefaultUnaffectedEntities": false
}
Anti-Smooth
Download from Modrinth:
Anti-Smooth makes the server send entity updates more frequently to make player interactions with them (especially knockback from attacks) feel more responsive almost to a point that matches the behavior of mobs in true singleplayer from old versions before release 1.3. This does increase the bandwidth used so it is best to only use this mod for singleplayer worlds, however mobs that are far enough away get interpolated with the vanilla method instead. Additionally, velocity gets applied client side so mobs can move while waiting for updates and knockback gets applied instantly.
For 26.3, Anti-Smooth comes with a partial fix for MC-311974 (not even going to try to do a full fix because this mod brings back the old interpolation handler instead for entities that are updated per-tick).
Anti-Smooth is available for 1.20.1+ on Fabric and 1.21.1+ on NeoForge. If Anti-Smooth seems to not be available for newer versions, try using the mod jar for the most recent Minecraft version that it claims to support and if it doesn't work then please report it as an issue.
Anti-Smooth was inspired by No Mob Latency which does basically the same thing, however I wanted to do my own take on it that supported more versions. For another mod that fixes entity interpolation, see EntTick.
Config
The configuration can be found in the "antismooth.json" file in the config folder.
{
// Controls whether interpolation is enabled or otherwise position packets are sent every tick.
// Interpolation is when the game smoothly transitions entity positions over multiple ticks
// and it is a vanilla feature.
// Interpolation is set to "multiplayerOnly" by default for two reasons:
// - The client cannot detect if a server has Anti-Smooth installed.
// - Anti-Smooth increases bandwidth consumption because it sends additional
// entity position update packets which is not ideal for server performance.
// Set to "disabled" if you want to disable interpolation on multiplayer servers anyways,
// however this will result in choppy movements when playing on vanilla servers.
// Set to "enabled" if you want interpolation in singleplayer worlds as well.
// Default value: "multiplayerOnly"
"interpolation": "multiplayerOnly",
// The minimum distance from which entities will always have interpolation applied regardless
// of the "interpolation" setting. Setting this to 0 or lower disables this behavior.
// Having this mismatched from a server
// Default value: 64.0
"minInterpolationDist": 64.0,
// Applies velocity to client side entities. Vanilla Minecraft does not do this
// despite the fact that entity position update packets also include velocity updates.
// Default value: true
"applyVelocity": true,
// When enabled, also apply velocity client side to entities that have interpolation enabled.
// May cause jittering for interpolated entities in 26.3.
// Default value: true
"applyVelocityForInterpolated": true,
// A set of entities that will always have interpolation and never have client side velocity.
// This setting is useful in case any modded entities do not work nicely with Anti-Smooth.
// Default value: []
"unaffectedEntities": [
"minecraft:pig",
"minecraft:sheep",
"minecraft:cow"
],
// Alongside the "unaffectedEntities" property, there are also a set of entities that are
// unaffected by default. This includes boats, minecarts and dropped items.
// Set to true to disable this built-in list.
// Default value: false
"disableDefaultUnaffectedEntities": false
}
下载 Anti-Smooth
下载 Anti-Smooth
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Anti-Smooth
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Anti-Smooth
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Anti-Smooth
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Anti-Smooth
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Anti-Smooth
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Anti-Smooth
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Anti-Smooth
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Anti-Smooth
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
修复
- 修复了骑乘撞墙时的抖动问题(例如骑马),原因是客户端判定框对于客户端权威实体仍被缩小
新增内容
- 添加了对 26.3 的完整支持
- 新的 jar 包!Mojang 再次重写了插值代码!
- 添加了
applyVelocityForInterpolated(为插值实体应用速度)设置- 如果禁用,具有插值的实体将不会在客户端应用速度
- 默认启用,但这可能会导致 26.3 中插值实体出现抖动。
- 对 MC-311974 的部分修复
- 从技术细节上讲,已实现
updateInterval() + 1、advance()移动以及currentStepTicks = 1.0F -> 0.0F的修复 - 新的步进插值处理程序剩余的其他问题依然存在,因为 Anti-Smooth 仅针对每个刻都发送更新包的实体回退到旧的线性插值处理程序。
- 从技术细节上讲,已实现
更改
- 重做了
unaffectedEntities(不受影响的实体)设置- 默认值现在为空列表
- 该设置的旧默认值现在是硬编码列表
- 此新列表可以通过
disableDefaultUnaffectedEntities(禁用默认不受影响实体)设置来禁用
applyVelocity(应用速度)设置现在仅在受影响的生物未被插值时生效
错误修复
- 修复了 1.21.5+ 中的插值步长始终设置为 1,而不受设置影响的问题
- 修复了插值条件非常混乱的问题
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
让你能够在世界中的任何位置定位结构。
模组
为你的终界增添新生物群系、神秘仪式和全新生物
模组
TerraFirmaCraft (TFC) 是一个全面转换模组,对生存模式进行了彻底的改造与重新设计。
模组
更多生物群系,更多生物,更多工具,为炽热的维度
模组
一堆修复
评论 0
登录后参与评分
还没有评论,来抢沙发吧