I have a PC dual booted with Linux and Windows and Minecraft is installed on both. Now sometimes I play Minecraft in Linux and sometimes in Windows. I want to know if I could change the location where worlds are saved to a hard drive that is shared by both operating systems, so that I can use the same world on both operating systems.
Minecraft Java Edition – How to Change Minecraft Save Location
minecraft-java-edition
Related Topic
- Minecraft – have the same save directory for both Linux and Windows
- Minecraft – Achievements not copied with world save directory
- Minecraft worlds do not save
- Minecraft – Is There any way to Install Minecraft on a USB stick
- Minecraft Java Edition – How to Fix Minecraft Installations Not Showing on Arch Linux
Best Answer
The Minecraft launcher allows you to change the folder it places your saves in (among other things) via the profile settings.
Create a "Minecraft" folder on a shared drive. Make sure you have read/write access to this folder from both Windows and Linux.
Start the Minecraft Launcher and click on Installations
Hover over the profile you want to change, click on ..., then Edit.
Enter the folder on your shared drive in the Box labeled "Game Directory". The game will now place
saves
,resourcepacks
,screenshots
andcrash-reports
(maybe some more folders) in this Directory.Repeat on the other OS.