找回密码
 立即注册

QQ登录

只需一步,快速开始

微信登录

只需一步,快速开始

Minecraft Java版 1.20-pre7 发布

pixel 2023-6-2 22:03:42 版本资讯 阅读 553
新闻资讯
来源: 转载
原贴地址: https://www.mcbbs.net/thread-1446179-1-1.html
作者:

马上登录/注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?立即注册

x


NEWS
MINECRAFT 1.20 PRE-RELEASE 7
MINECRAFT 1.20-pre7

A Minecraft Java Pre-Release
Minecraft Java版 预发布版


Pre-release 7 for Minecraft 1.20 is now available in the Minecraft Launcher. This pre-release adds validation of symbolic links and fixes a bug.
现可通过官方启动器下载 Minecraft 1.20 的第 7 个预发布版。此预发布版添加了符号链接的合法性验证,同时修复了一个 bug。


CHANGES
更改

To improve safety, the game will now detect symbolic links used inside world directory.For a detailed explanation, check our help article .
为提升安全性,游戏现在会检查世界文件夹目录内所使用的符号链接。详细解释可查看此帮助文档

  • If the target of a symbolic link is not on the user-configured allow-list, the game will not proceed with loading the world
  • 若符号链接指向的目标不在用户自定义的白名单中,游戏将停止加载世界
    • Note: world directory itself can still be linked
    • 注意:世界文件夹目录本身依然可以被链接
  • The list of allowed symbolic link targets is stored in file allowed_symlinks.txt in client or server top directory
  • 允许的符号链接目标会储存在客户端或服务端根目录中的 allowed_symlinks.txt 文件内
  • The file consists of entries (one per line) with following formats allowed:
  • 此文件包含的条目(一行一条)将遵循以下的格式:
    • Lines starting with # are comments and are ignored
    • # 开头的行将被视为注释并被忽略
    • [type]pattern, where type can be glob, regex or prefix
    • [type]pattern,其中 type 可以为 glob、 regexprefix
      • prefix matches start of path with given pattern (so for /test paths /test, /test/ and /test/foo.txt would match)
      • prefix 匹配开头为指定字符的路径 (如果表达式为 /test ,则路径 /test/test//test/foo.txt 能够通过)
      • regex matches regular expression against whole path
      • regex 会使用正则表达式匹配整个路径
      • glob uses OS-specific path matching mechanism (for example *.txt would usually match files with txt extension)
      • glob 会使用操作系统特定的路径匹配机制 (例如 *.txt 通常情况下匹配所有 txt 拓展名的文件)
      • Note: paths will use OS-specific separators
      • 注意:路径将使用操作系统特定的分隔符
    • pattern, which uses default prefix type
    • pattern 默认情况下会使用 prefix 类型


FIXED BUG IN 1.20 PRE-RELEASE 7
1.20-pre7 中修复的 bug

  • MC-257778 - Bamboo Mosaic Slabs and Stairs are not in the #slabs and #stairs block and item tags
  • MC-257778 - 竹马赛克台阶没有 #slabs 方块和物品标签,竹马赛克楼梯没有 #stairs 方块和物品标签




氘氚人 译自 官网 2023 年 05 月 29 日发布的 Minecraft 1.20 Pre-Release 7;原作者 Java Team】
【本文排版借助了:SPXX v2.4.14】

(0)
pixel管理员
<

发表回复

使用道具 举报