El_Trueno 发表于 2023-10-12 03:06:07

Minecraft Java版 23w41a 发布

本帖最后由 Cinder 于 2023-10-12 08:52 编辑

|每周快照是Minecraft Java版的测试机制,主要用于下一个正式版的特性预览。
|然而,每周快照主要用于新特性展示,通常存在大量漏洞。因此对于普通玩家建议仅做测试尝鲜用。在快照中打开存档前请务必进行备份。适用于正式版的Mod不兼容快照,且大多数Mod都不对每周快照提供支持。
|转载本贴时须注明原作者以及本帖地址。
|部分新特性译名未最终确定,以下译名仅供参考。



https://www.minecraft.net/content/dam/games/minecraft/screenshots/23w41a%201170x500.jpg

NEWSMINECRAFT SNAPSHOT 23W41A
Minecraft 快照 23W41A

A Minecraft Java Snapshot
Minecraft Java版 快照


For this week's Snapshot, we've made improvements to the Decorated Pots!
在本周的快照更新中,我们对饰纹陶罐做出了改进!

Additionally, Realms is now available in Snapshots moving forward! Any player who has an active Realms subscription is eligible to create a free Snapshot Realm. This Snapshot Realm will be separate from your regular Realm to prevent any issues from impacting your regular Realm. For more information on how Snapshot Realms work, please see Realms in Minecraft: Java Edition Snapshot FAQ .
另外,从现在开始,Realms 也支持快照版世界了!任何当前订阅了 Realms 的玩家都可免费创建一个快照版本的 Realm。快照版本 Realm 服务器会与你的常规 Realm 服务器相互独立,从而防止对后者产生影响。如想知道更多有关快照版本 Realms,可以查看 Minecraft: Java Edition Snapshot FAQ。


NEW FEATURES
新特性


SNAPSHOT REALMS
快照版本 REALMS 服务


[*]Realms is now available in Snapshots, Pre-Releases, and Release Candidates
[*]Realms 服务现支持快照、预发布版和候选版本
[*]The version of the last played world on a Realm is displayed in the Realms list
[*]在 Realms 列表中将展示每个 Realm 服务器最近一次游玩世界的版本
[*]Experiments are available for newly created worlds
[*]创建新的世界时,可以使用实验性选项


CHANGES
更改


[*]Decorated Pots can now store items, and can be smashed by projectiles
[*]饰纹陶罐现在可以储存物品,但会被弹射物破坏


DECORATED POTS
饰纹陶罐


[*]Decorated Pots now store up to a single stack of items
[*]饰纹陶罐现可储存 1 组物品
[*]Hoppers, Hopper Minecarts and Droppers can now insert and/or extract items from Decorated Pots
[*]漏斗、漏斗矿车可以从饰纹陶罐存取物品,投掷器可以向饰纹陶罐存入物品
[*]Comparators can now read the number of items in Decorated Pots
[*]红石比较器可以读取饰纹陶罐内物品的数量
[*]Players can interact with Decorated Pots to insert items into them
[*]玩家可通过与饰纹陶罐交互来存入物品
[*]Decorated Pots have no GUI, and need to be broken to retrieve or discover their content by players
[*]饰纹陶罐没有 GUI,需要被打破才能发现并取出内容物
[*]Player interactions with Decorated Pots cause the Decorated Pot to wobble and trigger the vibration frequency of 11
[*]玩家与饰纹陶罐的互动将导致饰纹陶罐晃动(暂译),并发出频率为 11 的振动
[*]Decorated Pots can be smashed by projectiles which cause them to shatter and drop their content
[*]饰纹陶罐可被弹射物摧毁,并会因此变回碎片形式,同时会掉出内容物
[*]Decorated Pots now stack up to 64
[*]饰纹陶罐的最大堆叠数现在为 64

* 注:经测试:玩家与饰纹陶罐互动时,实际将会因玩家手中是否有能放入物品而分别显示“填充”和“晃动”两种字幕,但都会发出频率为 11 的振动。

We want to hear your feedback on these improvements to Decorated Pots - let us know what you think in our dedicated feedback site post!
我们想要听到你们对饰纹陶罐改进的反馈 —— 请将你的想法发送到我们专门设置的反馈征集帖!(可能无法访问)


TECHNICAL CHANGES
技术性更改


[*]The Data Pack version is now 20
[*]数据包版本现在为 20
[*]The name of non-living entities will now be shown if looked at and a CustomName is set, or always displayed if CustomNameVisible is set, similar to living entities
[*]若存在 CustomName 的 NBT 标签且正在被玩家看向,非活体实体现在也可以显示出自定义名称,或者在设置了 CustomNameVisible 的情况下始终展示,这将与活体的行为相类似


DATA PACK VERSION 20
数据包版本 20 更新内容


[*]Changed function command results
[*]调整了 function 命令的输出
[*]Adjusted check for gamerule maxCommandChainLength
[*]调整了 maxCommandChainLength 游戏规则的实际检查方式
[*]Added new gamerule maxCommandForkCount
[*]新增游戏规则 maxCommandForkCount
[*]Reintroduced form of the execute command: execute if function
[*]重新加入 execute 命令的子命令格式 execute if function
[*]Reintroduced form of the return command: return run
[*]重新加入 return 命令的子命令格式 return run
[*]Decorated Pots with cracked state set to true will always shatter when broken
[*]若饰纹陶罐的 cracked 方块状态为 true,则它会在被任何方式破坏时变回碎片形式
[*]Added new dust_plume particle type
[*]新增 dust_plume 粒子类型


COMMANDS
命令


FUNCTIONS
函数


[*]function command has been changed to better accomodate new return command
[*]function 命令现已做出调整,以适配全新的 return 命令
[*]Functions no longer have any result unless they use return or there was error during lookup or instantiation
[*]函数将不再有输出值,除非函数内使用了 return 命令,或在查找与实例化(暂译,包括后文多处内容) 过程中出现错误

[*]That means function command will no longer return (or even display) number of commands run during execution
[*]这意味着 function 命令将不再返回(甚至显示)执行期间运行的命令数
[*]Error conditions:
[*]错误情况:

[*]Calling non-existent function
[*]调用了不存在的函数
[*]Calling empty function tag
[*]调用了空的函数标签
[*]Macro instantiation failure
[*]宏函数实例化失败

[*]"Result" in this context means values that would be stored with execute store
[*]在本文此处以及前后的“返回值”均指代可通过 execute store 进行储存的值
[*]The previous behavior where every command in function would perform store if a function was called with execute store ... run function is removed
[*]此前若函数被 execute store ... run function 调用,则函数在运行每一条命令都会执行一次 store 子命令

[*]That means that a single call to function will store at most once (zero times if return was not called)
[*]这意味着单次 function 调用将会至多执行 store 子命令一次(在没有调用 return 的情况下是 0 次)
[*]For function tags with multiple entries, function results will be accumulated, but partial results will be stored at the end of every function
[*]对于有多个函数的函数标签,函数返回值会被累计,在每一函数执行完毕时更新一次


Limits
限制
Existing limits for functions have been refined to accomodate new execution rules and prevent wider range of exploits:
现有对函数的限制已被做出改进,从而适应全新的执行规则,同时为了预防更大范围的漏洞:


[*]Limits apply even if run from command line (so it will now always behave as if they were placed in a function)
[*]即使通过命令行执行的函数也将受到限制(现在会表现地与使用 function 时的行为完全相同)

[*]For example, all functions called by execute as @e run function will count towards same limit
[*]举例说明,所有使用 execute as @e run function 调用的函数会共用同一个计数器
[*]Executions from command blocks still count as separate ones
[*]使用命令方块的执行行为仍会被单独考虑
[*]Limit maxCommandChainLength for functions will now count "operations" like:
[*]对函数的 maxCommandChainLength 限制也会对以下类型的“操作”进行计数:

[*]execution of command for a single context
[*]为单个上下文(context)执行的命令
[*]execution of a stage in execute (no matter how many contexts were modified)
[*]execute 命令执行的单个阶段(无论有多少上下文被修改)
[*]invocation of function
[*]函数调用
[*]New limit with game rule maxCommandForkCount now restricts total amount of context that can be created by single state of functions like execute
[*]对游戏规则 maxCommandForkCount 限制做出的调整将严格限制单一函数 execute 可以创建的命令上下文数量

[*]Example: if there are 5 entities in world, execute as @e creates 5 contexts, while execute as @e at @e creates 5*5 = 25 contexts
[*]举例说明:若当前世界存在 5 个实体,则 execute as @e 会创建 5 个上下文,而 execute as @e at @e 会创建 5 乘 5 共 25 个上下文



EXECUTE IF FUNCTION
EXECUTE IF FUNCTION

An execute sub-command that runs a function or function tag and matches the return value(s).This is a reintroduction of functionality removed in previous version.If a tag is given, all functions run regardless of the results of prior functions.
全新的 execute 子命令,可运行函数或函数标签控制的一组函数,并匹配返回值。这一子命令在先前的版本中被移除,但现在被重新加入。若使用函数标签,则每一个函数都会被执行,与上一个返回值无关。

Syntax:execute if|unless function <function> <continuation>
格式:execute if|unless function <function> <continuation>

Parameters:
参数:


[*]function: The function or tag to run
[*]function:要运行的函数或函数标签

Matching
匹配值

The matching of the result value of the function(s) that run:
所运行函数的输出值将按以下规则匹配:


[*]At least one of the functions must succeed for the match to succeed
[*]要让匹配的结果为成功,则至少一个函数要成功运行
[*]A succeessful call is defined as a function that:
[*]函数的成功调用必须满足:

[*]Uses the return command to return a value
[*]使用了 return 命令来返回一个值
[*]The return value is not 0
[*]返回值不为 0
[*]If no functions exited with return, neither if or unless will run
[*]若没有函数使用了 return,则 if 或 unless 都不会通过


RETURN RUN
RETURN RUN

A form of the return command is now available, return run .This is a reintroduction of functionality removed in previous version.
在 return 命令中现在可以使用 return run 的子命令格式。这一子命令在先前的版本中被移除,但现在被重新加入。

Syntax:return run <command>
命令格式:return run <command>

This takes the result value from running the specified command and returns that as the return value of the function.
该命令将会运行由 command 参数所指定的命令,并获取其输出的 result 值,然后作为函数的返回值输出。


[*]If command did not return any value (like, for example, call to a function without return), return will not execute and function will continue execution
[*]若该命令没有返回值(例如使用 function 调用了函数,但函数内没有 return 命令), return 命令将不会被执行,但函数仍会继续执行
[*]If the given command fails, the return value is 0
[*]若命令执行失败,则返回值为 0
[*]In all other aspects, it works like return with a specified return value
[*]在其他情况下,它与 return 并无区别,也会有特定的返回值
[*]In case of fork (for example return run execute as @e run some_command) the first execution of the command will return
[*]如果命令存在分支情况(例如 return run execute as @e run <特定命令>),则只会按命令的第一次执行输出返回值

[*]If there are no executions (for example in return run execute if @e run some_command) function will not return and will continue execution
[*]若命令没有被执行(例如 return run execute if @e [<不会被通过的选择器>] run <特定命令>) ,则函数不会有输出值,但仍会继续执行



FIXED BUGS IN SNAPSHOT 23W41A
快照 23W41A 修复的漏洞


[*]MC-16937 - Shooting an arrow into the nether portal can hurt anybody when PvP is disabled
[*]MC-16937 - 即使禁用了 PVP ,也能通过向下界传送门射箭的方式伤害玩家
[*]MC-50319 - Player owned projectiles lose their player ownership when exiting portals
[*]MC-50319 - 玩家射出的箭矢会在离开传送门后丢失
[*]MC-81656 - Field determining whether or not a wither skull is blue is not saved to and read from NBT
[*]MC-81656 - 控制凋灵之首是否为蓝色的字段无法以 NBT 文件格式存储或读取
[*]MC-118403 - Vexes summoned by evoker do not have evoker team applied
[*]MC-118403 - 唤魔者召唤的恼鬼不会自动加入唤魔者所在的队伍
[*]MC-143266 - Nested function calls reevaluate maxCommandChainLength before queueing commands
[*]MC-143266 - 被嵌套的函数被加入队列前,游戏会重新判定最大 连锁执行命令的数量
[*]MC-143269 - Nested intermediate functions are skipped when maxCommandChainLength commands are already queued
[*]MC-143269 - 若当前以达到最大 连锁执行命令的数量,则被嵌套的函数会被跳过
[*]MC-189227 - First time tutorial uses old textures
[*]MC-189227 - 第一次进入世界的游戏教程使用了旧的纹理
[*]MC-198113 - Incomplete commands do not prevent functions from loading
[*]MC-198113 - 存在不完整的命令时函数文件仍会被加载
[*]MC-233276 - You can feed adult donkeys, horses, llamas or mules with maximum Temper value, and hand animation is not played
[*]MC-233276 - 即使成年的马、驴、骡和羊驼的好感度已满,玩家也依然可以喂食,但此时不会播放手部动画
[*]MC-234323 - Performance issue with text parsing
[*]MC-234323 - 游戏在解析文本内容时存在性能问题
[*]MC-236501 - Renamed minecarts and boats don't show their name tag in the world
[*]MC-236501 - 重命名过的矿车和船不会显示出它们的名称
[*]MC-249408 - Boats with Chests lose their name when placed
[*]MC-249408 - 运输船在放置后就丢失了它们的自定义名称
[*]MC-257786 - The game takes a long time to process players leaving realms groups or accepting or declining realms invitations
[*]MC-257786 - 玩家推出 realms 群组或接受/取消 realms 邀请时,游戏长时间无响应
[*]MC-260576 - Incomplete 'execute summon' command still runs
[*]MC-260576 - execute summon 命令即使输入不完整也能运行
[*]MC-261682 - Brushing can continue when block goes out of range
[*]MC-261682 - 即使方块离开了玩家的触及范围,刷子也仍然能刷扫物品
[*]MC-262105 - Entities can block brushing actions when players look very close to their hitboxes
[*]MC-262105 - 玩家视线快要接触实体的判定箱时,刷扫过程会突然中断
[*]MC-263575 - When an item is extracted from suspicious sand/gravel, gravity does not work on this block
[*]MC-263575 - 在可疑的沙子/沙砾内的物品被提取的过程中,方块本身不会受重力影响
[*]MC-263660 - "Sign wobbles" subtitle is the same for signs and hanging signs, causing translation issues
[*]MC-263660 - “告示牌:晃动”的字幕在告示牌和悬挂式告示牌上是相同的,这导致本地化出现问题
[*]MC-264595 - Return command cannot run function when inside another function
[*]MC-264595 - return 命令无法执行被嵌套的函数
[*]MC-264699 - Functions return the output of commands only if the command doesn't start with return run
[*]MC-264699 - 函数返回执行成功的命令数时,不统计以 return run 开头的函数
[*]MC-264710 - "/execute if function" always fails and "/execute unless function" always succeeds if run from a function
[*]MC-264710 - 在函数里执行的 /execute if function 始终失败,/execute unless function 始终成功
[*]MC-264880 - GUI slider uses new texture with programmer art
[*]MC-264880 - Programmer art 资源包使用了新的 GUI 滚动条纹理
[*]MC-265516 - The "Cancel" button within some realms menus can be deselected using keyboard navigation despite it being the only element within the said menu
[*]MC-265516 - 部分 Realms 菜单中的“取消”按钮可以通过使用键盘导航来取消选择,即使其为菜单中唯一的控件。
[*]MC-265647 - Shield arm position is incorrect while in a boat
[*]MC-265647 - 乘船时持盾牌的手臂位置不正确
[*]MC-265656 - Pumpkins can no longer be sheared
[*]MC-265656 - 南瓜无法被雕刻



https://www.minecraft.net/content/dam/archive/327156a3bc8394237fad6090d52ca377-Mojang_Avatars_302x170px_0036_Generic_Avatar01.png

【氘氚人 译自官网 2023 年 10 月 11 日发布的 Minecraft Snapshot 23w41a;原作者 Java Team】
【本文排版借助了:SPXX v2.4.14】




Powered by SPXX 2.4.14 with love
Converted at 2023-10-11 23:27 +0800


fUCKkiss 发表于 2023-10-12 10:00:49

陶罐的功能接近玩家的想法,是不是官方想通了[哔哩_doge]

慕藤巧 发表于 2023-10-13 18:28:28

雪球都能把陶罐给砸碎,这陶罐得多脆啊

莱茵帝国元帅 发表于 2023-10-13 20:21:38

1.20连个遗址都没有加,考古更新纯粹让玩家烧陶器[贴吧_滑稽][贴吧_滑稽][贴吧_滑稽]

Kill@e... 发表于 2023-10-13 22:02:37

我在想纹饰陶罐是不是可以拿来做不用填充铁力的分类机啊(它应该MC历史上第一个除唱片机外的只能放单组物品的容器吧(不过太脆力(
页: [1]
查看完整版本: Minecraft Java版 23w41a 发布