CHANGES IN 22W18A
22W18A 的修改内容
- Allays now follow their liked player even if they can’t see them
- 悦灵现在会主动跟随它们喜欢的玩家,即便是对方没有看到自己
- Allays will only lose track of a player if they are more than 64 blocks away
- 只有距离大于64个方块时悦灵才会停止对玩家的跟随
- The texture of the sonic boom particle has been updated
- sonic boom粒子的贴图被更新
- Vibration listeners such as Sculk Sensors, Sculk Shriekers and Wardens now listen to the closest vibration instead of the first vibration in the tick
- 会检测振动的单位,例如幽匿感测体、幽匿尖啸体和监守者现在会检测距离最近的振动而不是一刻内的第一个振动
TECHNICAL CHANGES IN 22W18A
22W18A 的技术性修改
- Banner patterns available in the Loom can now be controlled with tags (banner_pattern/no_item_required for no pattern item and banner_pattern/pattern_item/* for specific banner pattern items)
- 织布机中可用的旗帜图案现在可以用标签设定(banner_pattern/no_item_required 用于无图案项目,banner_pattern/pattern_item/* 用于特定横幅图案项目)
- Servers can now define different chat style formats for clients
- 服务器现在可以为客户端定义不同的聊天风格格式
- Removed the placefeature command
- 删除了placefeature命令
- Added the place command
- 加入了place命令
- The bundled Java runtime has been upgraded to 17.0.3
- 捆绑安装的Java已经升级到17.0.3版
- Removed loot table function set_goat_horn_sound
- 移除了战利品表函数set_goat_horn_sound
- Added loot table function set_instrument
- 加入了新战利品表函数set_instrument
- Chat from the /say, /msg, /teammsg, and /me commands are now all also cryptographically signed
- 通过/say、/msg、/teammsg和/me命令发送的聊天现在也都经过签名加密
CHAT TYPES
聊天样式
- Different chat style formats can now be controlled by the server through the chat_type registry
- 服务器现在可以通过注册表chat_type控制不同的聊天风格格式
- These are synchronized to clients when they join the server
- 这些设定会在玩家加入服务器时同步到客户端上
- The translation key or translation format can be defined, like chat.type.text or %s says: “%s”
- 可以自定义转译关键词或转译格式, 比如chat.type.text或者%s 说: “%s”
- Chat can be similarly optionally narrated with a custom translation key or format
- 类似的,聊天时也可以使用自定义转译关键词或格式进行表达
- The entire message can have formatting applied, such as italics or a specific color (but currently not click or hover events)
- 整个聊天消息现在可以应用格式了,例如斜体字体或特殊字体颜色(但目前不支持单击或悬停事件)
PLACE COMMAND
PLACE命令
New command that replaces placefeature and can place features, jigsaws and structures at a given location. Syntax:
替换placefeature的新命令,可以在给定位置放置地物、拼图和结构。语法:
place feature <feature> [pos]
place jigsaw <pool> <start> <depth> [pos]
place structure <structure> [pos]
place feature <feature> [pos]
place jigsaw <pool> <start> <depth> [pos]
place structure <structure> [pos]
- feature: The namespaced id of a feature to try to place
- feature: 要放置的可用地物的命名空间ID。
- structure: The namespaced id of a structure to try to generate
- structure: 要生成的结构的命名空间ID
- pool: The namespaced id of a template pool to start generating
- pool: 要生成的目标池的命名空间ID
- start: The namespaced id name of a jigsaw to use as the starting anchor
- start: 用作起始点的拼图的命名空间ID
- depth: The maximum number of jigsaw connections to traverse during placement
- depth: 放置时拼图的最大的连接数
- pos: The position to use as the origin for the generation (if omitted, ~ ~ ~ is used)
- pos: 生成原点的坐标(如果省略,则使用〜〜〜)
LOOT TABLES
战利品表
NEW FUNCTIONS
新函数
SET_INSTRUMENT
SET_INSTRUMENT
Sets item tags needed for instrument items to a random value selected from a tag.
将需要instrument项目的物品的标签设置为从标签中选择随机值。
Parameters:
参数:
- options – a tag reference specifying the instrument options to randomly pick from
- options – 指定随机选定的instrument的标签
FIXED BUGS IN 22W18A
22W18A 修复的漏洞
- MC-207935 – Simultaneous vibrations don’t trigger as expected
- MC-207935 – 同时发出的振动未造成预期的触发效果
- MC-232009 – Minecraft does not resolve SRV records correctly
- MC-232009 – Minecraft 无法正确解析 SRV 记录
- MC-249021 – The invitation and news buttons aren’t consistently displayed within the realms menu
- MC-249021 – Realms 菜单中的邀请按钮和新闻按钮有时会消失
- MC-249129 – The walking animation of frogs doesn’t change in relation to their movement speed
- MC-249129 – 青蛙的行走动画并不随移动速度而改变
- MC-249175 – Only one sculk vein drops when using a Silk Touch hoe on multiple in a single block space
- MC-249175 – 用精准采集附魔锄破坏放置在同一方块空间内的多个幽匿脉络只会掉落一个幽匿脉络
- MC-249454 – Sculk Catalysts will spread sculk if a baby mob that does not drop experience dies around it
- MC-249454 – 不会掉落经验的幼年生物在幽匿催发体周围死亡时仍会造成幽匿块蔓延
- MC-249732 – Allays lose picked up items on world restart
- MC-249732 – 世界重启会导致悦灵丢失已捡起的物品
- MC-249740 – Allays leashed to a fence do not move and refuse to pick up items
- MC-249740 – 拴在栅栏上的悦灵无法移动且不能捡起物品
- MC-249784 – Ancient Cities can be submerged in aquifers
- MC-249784 – 远古城市可能被含水层淹没
- MC-249857 – Parity Issue: Allays don’t follow the player / note blocks as closely on Java
- MC-249857 – 一致性问题:悦灵在 Java 版不能较好地紧跟玩家或音符盒
- MC-250139 – Snow layers cannot be placed on top of mud
- MC-250139 – 雪层不能放在泥巴的顶部
- MC-250143 – Improper advancement description for “Sneak 100”
- MC-250143 – “潜行100级”的进度描述用词不恰当
- MC-250144 – “Sneak 100” advancement includes sculk shriekers as a block that can “hear” the player
- MC-250144 – 进度“潜行100级”的描述中,把幽匿尖啸体囊括进了可以“听”到玩家的方块之列
- MC-250145 – Warden/frogs continue animations when the game is paused
- MC-250145 – 监守者和青蛙的动画在游戏暂停时仍会继续
- MC-250163 – Warden can still detect things after it dies
- MC-250163 – 监守者死亡后仍可检测物体
- MC-250183 – Warden continues to roar when angered by an ignited creeper
- MC-250183 – 监守者仍然会被点燃的苦力怕激怒并对其怒吼
- MC-250198 – Warden continues to roar when the target of the enraged warden suffers an unnatural death
- MC-250198 – 当监守者的目标非自然死亡时监守者会继续咆哮
- MC-250207 – Warden continues to roar at disconnected players
- MC-250207 – 监守者在玩家断开连接后仍在咆哮
- MC-250216 – Warden continues to roar at targets in unloaded chunks
- MC-250216 – 监守者会对着未加载区块中的目标咆哮
- MC-250218 – Warden continues to roar at despawned target
- MC-250218 – 监守者会对着消失的目标咆哮
- MC-250244 – Warden continues to roar when the target enters the nether portal, end portal or end gateway
- MC-250244 – 监守者在目标进入下界传送门、末地传送门和末地折跃门后仍在咆哮
- MC-250245 – Warden sonic boom attacks can hit player even if the player has entered another dimension
- MC-250245 – 监守者的音波攻击在玩家进入另一维度后仍可击中玩家
- MC-250292 – Wardens can sometimes freeze when overwhelmed with enemies/attacks/sounds
- MC-250292 – 监守者有时候会在敌人/攻击/声音过多时静止不动
- MC-250506 – Mangrove leaves can appear at a higher altitude when grown below y = 0
- MC-250506 – 红树树叶在低于 y = 0 的地方生长时可能会出现在更高的高度
- MC-250557 – Allay permanently stuck trying to pick up item stack if its slots contain stack of the same type with differing NBT (and vice versa)
- MC-250557 – 当悦灵尝试捡起与其物品栏中的物品类型相同但 NBT 不同的物品时会永久冻结(反之亦然)
- MC-250864 – Game fails to load worldgen settings when .DS_Store files are present in datapack
- MC-250864 – 数据包中含 .DS_Store 文件时,游戏无法加载世界生成设置
- MC-250926 – There is a goat horn in the creative Destroy Item slot / all tabs within the creative inventory contain goat horns
- MC-250926 – 创造模式的“摧毁物品”槽位中有一个山羊角
- MC-250937 – User skins don’t load in singleplayer
- MC-250937 – 单人游戏中用户的皮肤不会加载
- MC-250939 – Game crashes when a goat horn with an invalid sound variant is used / java.lang.ArrayIndexOutOfBoundsException: Index <index> out of bounds for length 8
- MC-250939 – 使用无效声音变种的山羊角时游戏崩溃:java.lang.ArrayIndexOutOfBoundsException: Index <index> out of bounds for length 8
- MC-250954 – Player is assigned a new UUID in singleplayer
- MC-250954 – 单人游戏中玩家会被分配新的 UUID
- MC-250974 – MinecraftClientHttpException when opening/creating a world
- MC-250974 – 打开/创建世界时提示 MinecraftClientHttpException