Game Pass subscribers running Windows 10 and 11 can now cross-play with any other Minecrafter – regardless of platform – through the Minecraft: PC Bundle.
Just choose which game to launch based on whom you want to play with. This will be easier with the introduction of a special feature – the unified Minecraft launcher. Instead of having separate launchers for the Bedrock and Java Edition, you will be able to start both versions of Minecraft from a single game launcher.
Find out more on Minecraft.net.