• 周年纪念勋章活动已圆满结束,如有已购买但仍未申请的用户,可以通过对应勋章的下载链接申请~
[转载][1.8——1.21.x]ViaVersion 代理端/服务端适用的跨版本支持

开源 工具 其他 [转载][1.8——1.21.x]ViaVersion 代理端/服务端适用的跨版本支持 5.3.1

主要仅包含一项重要修复,其余更新与ViaBackwards相关。

修复内容

  • 修复1.20.3→1.20.5版本中伪装聊天处理的回归问题
  • 修复1.21.4→1.21.5版本中缺失的chunk_biomes数据转换(由Gerrygames贡献)
  • 部分修复旧版服务器上的"拾取方块"功能(由Pablete1234贡献)
重要提示
未来ViaVersion将要求至少Java 21环境运行。若您当前使用Java 17,升级应无显著困难。

若希望提前获取大版本更新,可通过 https://viaversion.com/donate 支持开发者。更多信息请查阅往期更新说明。

1.21.5 客户端支持

问题修复​

  • 方块实体处理:修复 1.21.2→1.21.4 版本自定义模型数据解析异常
  • 物品悬停事件:修正 1.21→1.21.2 及 1.21.2→1.21.4 版本中移除的物品数据组件显示问题
  • 潜影盒内容:解决 1.20.3→1.20.5 版本潜影盒物品不可见问题(由 EnZaXD 贡献)
  • 物品悬停事件:优化 1.20.3→1.20.5 版本处理逻辑(由 kennytv、EnZaXD 贡献)
  • 注册表条目:修复重复注册项导致的错误(由 EnZaXD 贡献)
  • 矿车方块:修正 1.8→1.9 版本矿车内方块渲染异常(由 EnZaXD 贡献)
  • 版本兼容:解决 Velocity 代理下 1.9+ 客户端加入 1.8 服务器的错误(由 EnZaXD 贡献)
  • 音效处理:移除 1.21.4 客户端在 1.8 服务器上的消耗品阻挡音效(由 lowercasebtw 贡献)

重要说明​

⚠️ 数据同步风险:若运行 1.17-1.21 之间的版本,或未在最新 Paper 服务端上使用 ViaVersion,可能出现物品数据不同步

新增功能​

  • 跨平台协议检测:通过自定义数据包(plugin messages)获取玩家客户端版本信息(由 EnZaXD 开发)
    • 适用场景
      • 反作弊系统
      • 版本依赖功能
    • 支持环境
      • 代理端(如 Velocity/ViaProxy)
      • 客户端(如 ViaFabricPlus)
    • 数据示例

      JSON:
      {
      "platformName": "Velocity",
      "platformVersion": "3.1.2",
      "version": 760,
      "versionName": "1.19.4"
      }

未来变更预告​

🔧 运行环境要求:后续版本将强制要求 Java 21+(当前 Java 17 用户可平滑升级)

支持开发​

💖 提前获取重大更新:赞助支持
📚 更多历史更新说明详见 Wiki 文档

(技术备注)
  • 所有跨版本功能需配合 ViaVersion 插件使用
  • 自定义数据包通道需监听 viaversion:version_info
Reminder: ViaVersion will use Java 21 in a future release, please keep your Java updated! If you want to get larger updates early consider becoming a supporter https://viaversion.com/donate.
提醒:ViaVersion 将在未来的版本中使用 Java 21,请保持您的 Java 更新!如果您想尽早获得更大的更新,请考虑成为 Supporter https://viaversion.com/donate

Changelog: 更新日志:
  • Various fixes to block pick handling on Paper servers in 1.21.2->1.21.4 (by riku6460 and booky10)
    在 1.21.2->1.21.4 中对 Paper 服务器上的区块选择处理进行了各种修复(由 riku6460 和 booky10 提供)
  • Fixed error when dropping custom painting on the ground in 1.21.2->1.21.4 (by kennytv)
    修复了在 1.21.2->1.21.4 中将自定义绘画掉落在地上的错误(由 kennytv 提供)
  • Fixed transfer intent in handshake in 1.20.4->1.20.5 (by RK_01)
    修复了 1.20.4->1.20.5 中握手中的转移意图(RK_01)
  • Handle legacy show_entity text component format in newer protocols (by EnZaXD)
    在较新的协议中处理旧版show_entity文本组件格式(由 EnZaXD 提供)
  • The modern shield blocking fix on 1.8 servers only applies to 1.21.4+ clients now due to inconsistencies before that; removed sword-blocking-via-consumable config option to always be enabled (by roccodev)
    由于之前的不一致,1.8 服务器上的现代盾牌阻止修复现在仅适用于 1.21.4+ 客户端;移除了 sword-blocking-via-consumable 配置选项,使其始终处于启用状态(由 roccodev 提供)
  • Send op permission level 4 for use of command blocks in 1.8->1.9 (by EnZaXD)
    发送 op 权限级别 4 以使用 1.8->1.9 中的命令方块(由 EnZaXD 提供)
  • Ignore bad entity packets below 1.14 as per Vanilla handling (by EnZaXD)
    根据 Vanilla 处理忽略低于 1.14 的不良实体数据包(由 EnZaXD 提供)
Huge thanks to Kenny, EnZaXD, riku6460, booky10, roccodev for contributing towards this release.
非常感谢 Kenny、EnZaXD、riku6460、booky10、roccodev 为这个版本做出的贡献。
Reminder: ViaVersion will use Java 21 in a future release, please keep your Java updated! If you want to get larger updates early consider becoming a supporter https://viaversion.com/donate.
提醒:ViaVersion 将在未来的版本中使用 Java 21,请保持您的 Java 更新!如果您想尽早获得更大的更新,请考虑成为 Supporter https://viaversion.com/donate

Changelog:
  • Greatly reduced netty byte buf (memory) allocation (by KennyTV)
    大大减少了 netty byte buf(内存)分配(由 KennyTV 提供)
  • The sword-blocking emulation for 1.20.5+ clients on 1.8 servers can now be disabled via sword-blocking-via-consumable (by EnZaXD)
    1.8 服务器上 1.20.5+ 客户端的 sword-blocking 模拟现在可以通过 sword-blocking-via-consumable(由 EnZaXD 提供)来禁用。
  • The fix-1_21-placement-rotation config option is now enabled by default (by Pro4D)
    现在,默认情况下会启用 fix-1_21-placement-rotation 配置选项(由 Pro4D 提供)
  • Fixed reading of equippable (by DavyCraft648)
    修复了 equippable 的读数(由 DavyCraft648 提供)
  • Fixed reading of armor trim override materials(by KennyTV)
    修复了装甲装饰覆盖材料的读取(由 KennyTV 提供)
  • Fixed regression in tag sending for 1.20.2 to 1.20.4 clients on older servers(by KennyTV)
    修复了在旧服务器上为 1.20.2 到 1.20.4 客户端发送标签的回归问题(由 KennyTV 提供)
  • Fixed recipe book recipe ingredients for newer clients on 1.12 servers and older (by valaphee)
    修复了 1.12 及更早版本服务器上新客户端的配方书配方成分(由 valaphee 提供)
  • Fixed block action block id handling across multiple protocols (by valaphee)
    修复了跨多个协议的块操作块 ID 处理(由 valaphee 提供)
  • Fixed 1.12->1.13 block connections on snowy grass, mycelium and podzol (by lowercasebtw)
    修复了雪草、菌丝体和灰化土上的 1.12->1.13 方块连接(由 lowercasebtw 提供)
  • Fixed dropped items being invisible until entity data is sent in 1.10->1.11 (by EnZaXD)
    修复了在 1.10->1.11 中发送实体数据之前掉落的物品不可见的问题(由 EnZaXD 提供)
  • Improved 1.21 client enchantment handling on legacy servers (by Pablete1234)
    改进了旧版服务器上的 1.21 客户端附魔处理(由 Pablete1234 提供)
  • Fixed fix-1_21-placement-rotation not working after changing its value and running /viaversion reload (by EnZaXD)
    修复了 fix-1_21-placement-rotation 在更改其值并运行 /viaversion reload 后不起作用的问题(由 EnZaXD 提供)
  • Fixed fix-1_21-placement-rotation causing some issues with with anti-cheats (by EnZaXD)
    修复了 fix-1_21-placement-rotation 导致反作弊出现一些问题的问题(由 EnZaXD 提供)
Huge thanks to Kenny, EnZaXD, valaphee, lowercasebtw, Pablete1234, DavyCraft648, Pro4D for contributing towards this release.
非常感谢 Kenny、EnZaXD、valaphee、lowercasebtw、Pablete1234、DavyCraft648、Pro4D 为本版本做出的贡献。
  • Fixed painting entity data in 1.21->1.21.2 (by kennytv)
    修复了 1.21->1.21.2 中的绘画实体数据(由 kennytv 提供)
  • Fixed opening chest boat inventories causing disconnects in 1.21->1.21.2(by kennytv)
    修复了在 1.21->1.21.2 中打开宝箱船库存导致断开连接的问题(由 kennytv 提供)
  • Fixed errors from level 0 enchantments in 1.21->1.21.2(by kennytv)
    修复了 1.21->1.21.2 中 0 级附魔的错误(由 kennytv 提供)
  • Fixed items with block predicates causing disconnects for creative mode clients in 1.21->1.21.2 (by EnZaXD)
    修复了 1.21->1.21.2 中带有块谓词的项目导致创意模式客户端断开连接的问题(由 EnZaXD 提供)
  • Fixed boat types in 1.21->1.21.2 (by EnZaXD)
    修复了 1.21->1.21.2 中的船只类型 (由 EnZaXD 提供)
  • Fixed item_name<->default name priority for items in 1.21->1.21.2 (by EnZaXD)
    修复了 item_name<->1.21.2 中项目的默认名称优先级(由 EnZaXD 提供)
  • Fixed some issues with item hover event displays in 1.20.5 and 1.21.2 (by EnZaXD)
    修复了 1.20.5 和 1.21.2 中项目悬停事件显示的一些问题(由 EnZaXD 提供)
  • Fixed handling of empty lock codes in 1.21->1.21.2, usually sent by older servers (by valaphee, EnZaXD, kennytv)
    修复了 1.21->1.21.2 中空锁码的处理,通常由较旧的服务器(由 valaphee、EnZaXD、kennytv 发送)
  • Fixed possible anticheat issues by dropping idle packets where only horizontal collision changed in 1.21->1.21.2 (by EnZaXD)
    修复了可能的反作弊问题,方法是在 1.21->1.21.2 中仅更改了水平冲突的情况下丢弃空闲数据包(由 EnZaXD 提供)
  • Fixed empty custom data tags sometimes being removed with creative clients on 1.20.5/1.21 (by EnZaXD)
    修复了 1.20.5/1.21 上有时使用创意客户端删除空自定义数据标签的问题(由 EnZaXD 提供)
  • Send enabled features packet in config phase for clients that have it in 1.19.1->1.19.3 (by EnZaXD)
    在配置阶段为在 1.19.1->1.19.3 中具有已启用功能数据包的客户端发送已启用功能数据包(由 EnZaXD 提供)
  • Fixed handling of block entity custom names in 1.12->1.13 (by EnZaXD)
    修复了 1.12->1.13 中方块实体自定义名称的处理(由 EnZaXD 提供)
  • Fixed chunks possibly being invisible on 1.8 servers and older (by RK_01)
    修复了区块在 1.8 及更早版本服务器上可能不可见的问题(由 RK_01 年)
  • Fixed some edgecase area effect cloud particle errors on older servers(by kennytv)
    修复了旧服务器上的一些边缘大小写区域效果云粒子错误(由 kennytv 提供)
  • 1.21.2+ clients on 1.8 servers now get proper sword blocking animations through consumable item data (by RK_01)
    1.8 服务器上的 1.21.2+ 客户端现在可以通过消耗品数据获得正确的剑格挡动画(由 RK_01 提供)
  • 1.21.2/3 support (by KennyTV / EnZaXD / RK_01)
    1.21.2/3 支持(由 KennyTV / EnZaXD / RK_01 提供)
  • Fixed a possible crash on older servers (thanks to EnZaXD)
    修复了旧服务器上可能发生的崩溃问题(感谢 EnZaXD)
  • Note that disabling strict-error-handling no longer has any effect on 1.21.2+ clients, affected errors include: scoreboard related plugins that remove players from invalid teams, or try to add players to duplicate teams; enchantment related plugins registering their custom enchantments/other registry entries multiple times.
    请注意,禁用 strict-error-handling 不再对 1.21.2+ 客户端产生任何影响,受影响的错误包括:从无效团队中删除玩家或尝试将玩家添加到重复团队的记分板相关插件;附魔相关插件多次注册其自定义附魔/其他注册表项。
  • Known issue: Boats visually lose their wood type for 1.21.2+ clients. The fix for this is a bit more complicated and has been postponed to the next release.
    已知问题:对于 1.21.2+ 客户端,船只在视觉上会丢失其木头类型。此问题的修复稍微复杂一些,并且已推迟到下一个版本。
5.0.5

  • Fixed a regression from 5.0.4 where tags weren't updated correctly
    修复了 5.0.4 中的标记未正确更新的回归

5.0.4

On top of a few smaller fixes, this update comes with various performance and memory allocation optimizations
除了一些较小的修复之外,此更新还提供了各种性能和内存分配优化

  • Added hide-scoreboard-numbers config option to hide scoreboard score numbers in 1.20.2->1.20.3 (by Pablete1234)
    在 1.20.2->1.20.3 中添加了隐藏记分板分数的配置选项 (by Pablete1234)
  • Added fix-1_21-placement-rotation config option to fix slightly behind block placement rotation when turning quickly in 1.20.5->1.21. Disabled by default as it may trigger anticheats (by EnZaXD)
    添加了 fix-1_21-placement-rotation 配置选项,以修复在 1.20.5->1.21 中快速转动时略微落后于方块放置旋转的问题。默认禁用,因为它可能会触发反作弊(由 EnZaXD 提供)
  • Fixed sound id rewriting in custom item instrument and jukebox data in 1.20.5->1.21
    修复了 1.20.5->1.21 中自定义物品乐器和点唱机数据中的声音 ID 重写的问题
  • Fixed bad conversion of can place on/can break in item hover events in 1.20.3->1.20.5 (by EnZaXD)
    修复了 1.20.3->1.20.5 中物品悬停事件的 can place on/can break 转换错误(由 EnZaXD 提供)
  • Fixed possible errors with entity equipment in 1.20.3->1.20.5 (by EnZaXD)
    修复了 1.20.3->1.20.5 中实体装备可能出现的错误(由 EnZaXD 提供)
  • Added missing written book component handling in newer protocols for nested item data (by EnZaXD)
    在较新的协议中为嵌套项目数据添加了缺少的书面书籍组件处理(由 EnZaXD 提供)
  • Re-added "Invalid book tag" view in 1.20.4->1.20.5 (by EnZaXD)
    在 1.20.4->1.20.5 中重新添加了“无效的书籍标签”视图(由 EnZaXD 提供)
  • Fixed bossbar issues in 1.8->1.9 (by EnZaXD)
    修复了 1.8->1.9 中的 Boss 栏问题(由 EnZaXD 提供)
  • Improved 1.8->1.9 sound mappings (by RK_01)
    改进的 1.8->1.9 声音映射(由 RK_01 提供)
  • Partially fixed 1.20.5->1.21 enchantment handling on older/non-Paper servers (by EnZaXD)
  • Fixed fast switching armor cancelling sprinting in 1.20.5->1.21 (by KennyTV)
  • Fixed handling of custom armor trim patterns and materials in 1.20.3->1.20.5 (by KennyTV)
  • Fixed erronous area effect cloud particle handling in 1.20.2->1.20.3 (by KennyTV)
  • Fixed an edge case with custom item frame rotation handling in 1.16.4->1.17 (by EnZaXD)
  • Fixed horse and llama inventory issues in 1.20.5->1.21 (by EnZaXD)
  • Fixed issues with attributes in 1.20.5->1.21 (by kennytv and EnZaXD)
  • Fixed possible kicks from out-of-order-chat in 1.20.3->1.20.5 (by Gegy)
  • Fixed shulker box tooltips in 1.20.3->1.20.5 (by EnZaXD)
  • Fixed filtered book page handling in 1.20.2->1.20.3 (by EnZaXD)
  • "Message not delivered" messages no longer appear in 1.20->1.20.2
  • Improved the 1.20.3 crossbow max damage and 1.8 sword blocking fixes for 1.21+ clients (by RK_01)
  • Tridents and banner pattern items show the correct 1.20 rarity in 1.20.5->1.21 (by EnZaXD)
  • Fixed splash/lingering potions being invisible in 1.19 protocols (by EnZaXD)
  • Fixed attribute keeping on respawn for <1.14 clients in 1.16->1.15 (by RK_01)
  • Fixed show_item in translation components in 1.11->1.12 (by EnZaXD)
  • Slightly improve on 1.10->1.11 fishing hook position desync
  • The 1.9 cooldown indicator is now completely hidden in 1.8->1.9 (by lowercasebtw)
    • The minimize-cooldown has been removed
  • Fixed wither and ender dragon bossbars not working in 1.8->1.9 (by EnZaXD)
  • Added cancel-block-sounds config option to toggle the 1.8 block placement sound fix (by EnZaXD)
Changelog:
  • Add handling for some movement related enchantments in 1.20.5->1.21. This requires ViaVersion to be placed on a Paper server (also for efficiency to properly work) (by KennyTV)
  • Fixed entity effect colors for world particles in 1.20.3->1.20.5
  • Improve item comparison in some cases when the item tag was empty in 1.20.3<->1.20.5 (by Camotoy, AJ-Ferguson)
  • Fixed handling of the hardcore/not set gamemodes in 1.8->1.9 (by LeonTG, EnZaXD)
  • Backup original book pages for creative mode clients in 1.8->1.9 (by EnZaXD)
后退
顶部 底部