The second pre-release for Minecraft Java is now available. In this pre-release, we've upgraded the Java version that is bundled with the game, and the game now uses Java 17. Other than this, we've mostly been busy fixing bugs.
Enjoy!
Technical Changes in 1.18 Pre-Release 2
Minecraft now uses Java version 17. If you are using a default setup the Launcher will download and install the correct version. If you are using a custom Java setup or a third-party launcher, you will need to ensure that your Java installation is version 17 or above.
Fixed Bugs in 1.18 Pre-Release 2
MC-32813 Floating water / lava above caves / cave carver doesn't update water
MC-206303 Minecarts have old textures on the bottom
MC-217038 Large dripstone structures can be generated outside the caves
MC-217056 Some high-speed particles lag/freeze the game
MC-239423 Kumi Tanioka isn't under "Music composed by" in the credits
MC-239856 Upgrading old worlds causes vines to have the wrong block state
MC-239857 Fences, iron bars, and glass panes often use an incorrect block state after conversion
MC-239884 Water from old chunks don't properly propagate into new chunks
MC-239899 Connected redstone does not properly upgrade from older versions
MC-240030 Holes in worlds created in Alpha and Infdev below y=0 after conversion
MC-240494 Duplicated mineshafts with new cave generation
MC-240507 Mob Spawning in structures fails in pre-1.18 generated monuments/swamp huts/outposts
MC-240570 Biomes in old chunks are not copied to new caves below Y=0 when chunks are extended
MC-240610 "Allow Server Listings" option doesn't save its last setting
MC-240783 Powder snow does not reduce or negate fall damage
MC-241111 Some Mojang employees are not mentioned in the credits
MC-241194 Crash: java.lang.NullPointerException: Cannot invoke "ddm.a(cao, cps, java.util.Random, gh)" because the return value of "java.util.function.Supplier.get()" is null
MC-241199 Double chests have incorrect block states after upgrading old worlds
MC-241208 Powered buttons, pressure plates, and tripwire hooks remain powered forever after upgrading old worlds