Updates (#2262)
* 1.26.10 & auth
* Updates
- Fixed 1.26.10 block palette
- Fixed drinking sounds
- Fixed smithing table item duplication issue
- Added more debug messages for failed inventory action
- Added new potion, effect, enchantment, entity, sound and level event IDs
- Added support for multiple effects in one potion, implemented turtle master potion effect
- Implemented mace enchantments and smash attack
- Added missing new ItemTypes and BlockTypes
- Added Event.call() as a shortcut for PluginManager.callEvent()
- Prefer distanceSquared for distance comparison
- Cleaned up packet batching fixing possible out of order sending with already batched packets. BatchPacketsEvent and Server.batchPackets() have been deprecated. Packets to be batched should be sent as normal packets or directly through NetworkPlayerSession.
以下为机器翻译,请注意内容的准确性
更新内容 (#2262)
* 版本1.26.10与认证相关更新
* 具体更新内容
- 修复了1.26.10版本的方块调色板问题
- 修复了饮用音效异常
- 修复了锻造台物品复制漏洞
- 为失败物品栏操作新增更多调试信息
- 新增药水、状态效果、附魔、实体、音效及关卡事件ID
- 实现单药水多效果支持,现已实装海龟大师药水效果
- 实装钉锤附魔与重击攻击机制
- 补充缺失的新物品类型与方块类型
- 新增Event.call()作为PluginManager.callEvent()的快捷调用方式
- 距离比较优先采用distanceSquared方法
- 优化数据包批处理逻辑,修复已批处理数据包可能乱序发送的问题。BatchPacketsEvent与Server.batchPackets()现已弃用,需批处理的数据包应按常规数据包发送或直接通过NetworkPlayerSession发送。