Java Edition 1.20 Pre-release 7

1.20 Pre-release 7 (known as 1.20-pre7 in the launcher) is the seventh pre-release for Java Edition 1.20, released on May 29, 2023, which adds symbolic link validation, and fixes a bug.

General

 * Tag
 * Added to  block and item tags.
 * Added to  block and item tags.


 * General
 * To improve safety, the game will now detect symbolic links used inside directory.
 * 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 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.
 * , where type can be, or.
 * matches start of path with given pattern (so for paths  would match).
 * matches regular expression against whole path.
 * uses OS-specific path matching mechanism (for example would usually match files with  extension).
 * Note: paths will use OS-specific separators.
 * , which uses default type.