Minecraft 1.20 Pre-release 7

Release: one year ago
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.
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 - The file consists of entries (one per line) with following formats allowed:
- Lines starting with
#
are comments and are ignored [type]pattern
, wheretype
can beglob
,regex
orprefix
prefix
matches start of path with given pattern (so for/test
paths/test
,/test/
and/test/foo.txt
would match)regex
matches regular expression against whole pathglob
uses OS-specific path matching mechanism (for example*.txt
would usually match files withtxt
extension)- Note: paths will use OS-specific separators
pattern
, which uses defaultprefix
type
- Lines starting with
Fixed bug in 1.20 Pre-release 7
- MC-257778 Bamboo Mosaic Slabs and Stairs are not in the #slabs and #stairs block and item tags