The first 1.17 pre-release is here!
第一个 1.17 预发布版来了!
From now on, you should mostly see bugs being fixed. In addition to that, pre-releases doesn't follow the regular snapshot cadence of releasing on Wednesdays, so keep an eye out!
从现在起,你应该会经常看到很多 Bug 被修复了。因此,预发布版不一定会像快照一样只在每周三发布,所以还得多多留意一下!
Additionally, based on feedback from the community, we have decided to include candles in part 1 of Caves & Cliffs again. Candles will become available in Bedrock shortly after the release of part 1.
此外,根据社区的反馈,我们决定把蜡烛重新加入洞穴与山崖第一部分更新。在第一部分更新正式发布后,蜡烛也会很快地加入基岩版。
New Features in 1.17 Pre-release 1 1.17-pre1 中的新特性
Added new advancements
加入新的进度
Advancements 进度
译者注:以下进度名暂无官方译名
Added “Whatever Floats Your Goat!” for floating in a boat with a goat
和山羊同时坐在船上并漂浮在水中时获得“你的山羊浮起来了!”
Added “Wax on” for applying wax to a Copper block!
给一个铜块涂蜡时获得“上蜡”!
Added “Wax off” for scraping wax off a Copper block!
给一个铜块除去蜡时获得“除蜡”!
Added “The Cutest Predator” for catching an axolotl in a bucket!
把美西螈装在桶里时获得“最可爱的捕食者”!
Added “The Healing Power of Friendship!” for teaming up with an axolotl and winning a fight
和美西螈并肩战斗打死敌人时获得“友情治愈人心!”
Added “Glow and Behold” for making a sign glow
让告示牌发光时获得“看,好亮”
Added “Light as a Rabbit” for waking on powder snow with leather boots
穿着皮革靴子在细雪上走路时获得“身轻如兔”
Added “Surge Protector!” for having a lightning strike a lightning rod near a villager without setting the area on fire
在一个村民旁边让闪电击中避雷针而不让附近着火时获得“电涌守护者”
Added “Is it a Bird?” for looking at a parrot through a spyglass
用望远镜看到一只鹦鹉时获得“那是鸟吗?”
Added “Is it a Balloon?” for looking at a ghast through a spyglass
用望远镜看到一只恶魂时获得“那是气球吗?”
Added “Is it a Plane?” for looking at a dragon through a spyglass
用望远镜看到一只末影龙时获得“那是飞机吗?”
Changes in 1.17 Pre-release 1 1.17-pre1 中的更改
Candles have been added back to the creative inventory
蜡烛重新回到创造模式物品栏
Recipes for crafting and dying candles are once again available
合成蜡烛和对蜡烛染色的配方回来了
Candles now have a different texture when lit
蜡烛被点亮时获得不同的材质
Glowing text on signs now has an outer glow, making text in dark colours more visible in the dark
告示牌上的发光文字现在有了外围发光轮廓,让暗色的发光文字在黑暗中更容易看清
Holding down the space bar now increases the scroll speed in the credits
Added passenger, stepping_onand lightning_boltproperties to entity predicate
在实体谓词中加入了passenger,stepping_on和lightning_bolt属性
Added looking_atcondition to player sub-predicate
在玩家子谓词中加入了looking_at条件
Expanded itemfield on item predicate to items
物品谓词的item字段被扩充为items
Expanded blockfield on block predicate to blocks
方块谓词的block字段被扩充为blocks
Added F3+L shortcut to generate and persist performance metrics from in-game
加入了 F3+L 快捷键以生成和显示游戏内性能测试报告
F3+L on single-player worlds will also include reports for the integrated server
在单人模式中使用快捷键也会生成包含服务器的报告
Removed debug report command (use perf start/stop for server performance measurement)
移除了生成调试报告的命令(指使用perf start/stop命令来生成服务器性能测试报告)
perf start/stop command on dedicated servers will now generate and persist server performance metrics
在专用服务器上执行 perf start/stop 命令会生成并显示服务器性能测试报告
Advancements 进度
New triggers 新的触发器
started_riding started_riding
Triggered when player starts riding a vehicle or entity starts riding vehicle currently ridden by player
当玩家骑乘一个可乘坐的设施时,或是实体骑乘玩家正在骑乘的设施时会执行触发器
Conditions:
条件:
player- either a player that started riding or one of boat passengers
player——不管玩家是开始骑乘还是作为船的后座乘客
lightning_strike lightning_strike
Triggered when lightning finishes (i.e. entity disappears)
当闪电劈完后执行触发器(也就是实体消失时)
Triggers for any player on the server
对服务器中所有玩家执行触发器
Conditions
条件
player- player for which this trigger runs
player——这个触发器执行时,触发它的玩家
lightning - predicate for lightning entity
lightning——闪电实体的谓词
bystander- predicate for one of the entities in a certain area around strike not hurt by it
bystander——在闪电击中的区域周围但没有被劈到的实体的谓词
using_item using_item
Triggered for every tick of using items (like crossbows, spyglass, fishing rods, etc)
任意游戏刻使用物品时执行触发器(比如用弩、望远镜、钓鱼竿等)
Conditions
条件
player- players that uses item
player——使用物品的玩家
item- item being used
item——被使用的物品
Changed triggers 更改触发器
effects_changed effects_changed
Added sourcetriggers that matches entity that triggered the change
加入source触发器,检测触发更改的实体
Might be empty when:
在以下情况下为空:
there is no entity (for example, effect gained from a beacon)
没有实体(比如从信标中获取增益效果)
the effect is self-applied
实体自身应用更改
effect is removed
实体被移除
Changed predicates 更改谓词
Item predicate 物品谓词
itemfield expended to items, now accepting an array of item types
item字段被扩充为items,现在可以接受物品类型数组
Block predicate 方块谓词
block field expended to blocks, now accepting an array of block types
block字段被扩充为blocks,现在可以接受方块类型数组
Entity predicate 实体谓词
passenger- new sub-predicate for passenger directly riding this vehicle (if present, must match one or more)
passenger——乘客直接骑乘着的工具的新的子谓词(如果存在,必须匹配一个或多个)
stepping_on- location predicate for block entity is currently standing on
stepping_on——实体所站着的方块的位置谓词
lightning_bolt- sub-predicate valid only for lightning bolt entity
lightning_bolt——只对被闪电劈中的实体有效的子谓词
Player predicate 玩家谓词
looking_at- entity currently viewed by player
looking_at玩家正在注视的实体
uses the same line-of-sight rules as attacking mobs
对攻击型生物应用同样的视线规则
actual detection radius might be changed in future
将来可能会修改确切的检测半径
Lightning bolt 闪电
blocks_set_on_fire- range check for of blocks set on fire by this entity
blocks_set_on_fire——被闪电实体点燃的方块的范围检测
entity_struck - predicate for entities struck by this lightning (if present, must match one or more)
entity_struck——被闪电击中的实体的谓词(如果存在,必须匹配到一个或多个)
Performance metrics reporting 性能测试报告
These will be saved to a zip file in debug/profiling/<yyyy-MM-dd_HH.mm.ss- [levelname]- [version]>.zip and could be used for performance regression analysis if included in bug reports.
测试的结果将被存到 zip 文件debug/profiling/<yyyy-MM-dd_HH.mm.ss- [levelname]- [version]>.zip中,如果包含到 bug 报告中,可以用于性能分析。
The exact metrics, output format, and names are susceptible to change between versions. Our plan is to continue iterating on which metrics to capture.
确切的测试结果、输出格式,以及命名将会受到版本更改的影响。我们的计划是继续在生成的测试结果中迭代。
Client F3+L shortcut 客户端的 F3+L 快捷键
Pressing F3+L while in the game will start a recording for 10 seconds capturing metrics such as tick durations, used heap sizes and other more detailed stats.
在游戏中点击 F3+L 快捷键将会进行 10 秒的测试结果生成,比如游戏刻长度、占用堆内存的大小以及其他细节性的指标。
Pressing F3+L before the 10 second limit will end the recording early.
在 10 秒结束前再次点击 F3+L 将会提前结束测试。
This shortcut is always available to clients, even on multi-player servers where it will record client-side performance.
这个快捷键适用于客户端,甚至是在多人游戏服务器测试客户端的性能。
Dedicated Server perf start/stop command 专用服务器的 perf start/stop 命令
perf start will start a recording for 10 seconds capturing metrics such as tick durations, used heap sizes and other more detailed stats. perf start会进行 10 秒的测试结果生成,比如游戏刻长度、占用堆内存的大小以及其他细节性的指标。
perf stop before the 10-second limit will end the recording early.
在 10 秒结束前再次执行perf stop将会提前结束测试。
Fixed bugs in 1.17 Pre-release 1 1.17-pre1 中的 bug 修复
MC-202249 - Angering passive mobs in new nether chunks very far away from previously generated chunks, then entering a nether portal causes server to completely freeze
MC-226192 - Crash upon attempting to create a new scoreboard objective: java.lang.NullPointerException: Cannot invoke “String.toLowerCase(java.util.Locale)” because “☃” is null
MC-226192 - 创建新记分项时出现崩溃:java.lang.NullPointerException: Cannot invoke “ String.toLowerCase(java.util.Locale)” because “☃” is null