作者:Adrian Östergård
发布日期:2022-05-12
原文链接:https://www.minecraft.net/en-us/article/minecraft-snapshot-22w19a
汉化版链接:https://silentdepth.notion.site/MINECRAFT-22W19A-3a1d518a26d7485684fc58c6e91deb49

MINECRAFT 快照 22W19A
一个 Minecraft Java 版快照
星期四快照!除了一些错误修复和对酷炫标签及命令的改动,我们还带来了一种可密码学签名的由服务器动态样式化消息的方式「聊天预览」。同时仅在这次快照里,我们在 [server.properties](http://server.properties)
中保留了我们的测试用选项 test-rainbow-chat
,测试时可将它与新选项 previews-chat
一同设置为 true
。如果这是你感兴趣的,特别是你还在运营着一个服务器,我们很乐意收到你的反馈。
玩儿好!
22W19A 内容改动
22W19A 技术性改动
- 服务器现在可以启用聊天预览,用于在聊天编辑框上方显示一个由服务器控制的预览
locate
和 place
命令有所改动
- POI(信息点)标签
聊天预览
- 服务器可以通过在
[server.properties](http://server.properties)
中设置 previews-chat=true
来启用聊天预览
- 启用后,一个由服务器控制的预览会出现在聊天编辑框上方,显示消息被发送时的样子
- 包含样式的消息同样可被预览,如 emoji 或文字颜色
- 消息预览功能会在输入时发送消息给服务器,即使它们未被实际发送
- 服务器因此可以实时返回渲染后的预览
- 这允许服务器在安全签署聊天内容的同时动态添加样式
- 当客户端加入一个启用了聊天预览的服务器时会显示一个警告画面,这可在聊天设置中全局关闭
- 动态聊天样式也可由服务器控制,但只会在启用聊天预览后签名
- 客户端可以在聊天设置中启用「仅展示已签名的聊天」来优先显示原始的、已签名的消息
命令
- 为
place
命令添加了 template
子命令
locate
命令改为 locate structure
,locatebiome
命令改为 locate biome
- 添加了
locate poi <type: point_of_interest_type>
- 服务器现在会在一个玩家连入之后额外发送一个图标和 MOTD 包
- 这允许使用了
enable-status=false
的服务器为成功连接的玩家设置图标和 MOTD
PLACE TEMPLATE
place
命令现在可在指定位置放置模板。
格式:
place template <template> [pos] [rotation] [mirror] [integrity] [seed]
place template
的作用与结构方块 UI 上的加载按钮类似
参数:
template
:要加载和放置的模板(结构方块文件)的命名空间 ID
rotation
:要应用的旋转状态(如省略则视为 none
)
mirror
:要应用的镜像状态(如省略则视为 none
)
integrity
:结构的完整度,取值范围为 0 到 1
seed
:当完整度低于 1 时用于随机消解的种子
POI 类型
- 移除了
unemployed
和 nitwit
两个 point_of_interest_type
- 为所有职业为
none
的村民的工作场所添加标签 point_of_interest_type/acquirable_job_site
- 为村庄的 POI 添加标签
point_of_interest_type/village
- 为蜜蜂目标 POI 添加标签
point_of_interest_type/bee_home
22W19A 错误修复
- MC-197647 - Players cannot jump off the edge of blocks when sneaking if they have a block above
- MC-231600 - Sculk sensor continuously receives vibrations when next to a powered big dripleaf
- MC-249130 - Tadpoles hatch inside of adjacent blocks, causing them to suffocate and die
- MC-249161 - Frogs frequently get stuck below lily pads
- MC-249634 - Warden’s sniffing behavior continues after being distracted
- MC-249664 - Warden despawns when far away
- MC-249801 - Mineshafts can intersect ancient cities
- MC-249888 - Warden is not angered when hit by a blaze fireball
- MC-249910 - Warden “Nearby Closest” sound is unused
- MC-249966 - Warden can stop chasing a target it just roared at
- MC-250172 - Warden doesn’t turn towards the direction it is firing the Sonic Boom attack
- MC-250233 - A warden summoned from a spawn egg suddenly losing its AI
- MC-250255 - Warden’s Sonic Boom cannot hurt Ender Dragon, it only pushes it back
- MC-250272 - Warden spawns in blocks that have no collision
- MC-250353 - Warden cannot spawn on a single snow layer like other mobs
- MC-250357 - Sculk sensors and Wardens detect when a player holds up a shield
- MC-250948 - Warden’s ranged attack is no longer affected by the game’s difficulty
- MC-250966 - Dying to the warden’s sonic boom doesn’t count as the warden’s kill
- MC-251029 - Warden froze and stopped being hostile towards the player
- MC-251263 - “Invalid signature for profile public key” when trying to open a singleplayer world
- MC-251316 - The game crashes when loading chunks that consist of jigsaw blocks
- MC-251321 - Warden can be pushed by explosions while emerging
- MC-251350 - /give @s goat_horn gives an unregistered goat horn
- MC-251396 java.lang.IllegalArgumentException: Name and ID cannot both be blank
- MC-251464 - When passive mobs take damage from warden’s sonic boom, they won’t flee in panic