If you want to keep your main game clean, you can create a completely separate directory for a specific installation: How to Change Minecraft's Location & Directory (2026)

Press Win + R , type %appdata% , and press Enter. You will see the .minecraft folder.

To correctly perform this replacement, follow these steps to locate your .minecraft directory and manage the files: 1. Locate the .minecraft Folder

(or sometimes resourcepacks/ ): Used for custom game logic or textures. 3. Replace the Folders

In many custom installations or modpacks, the "3 folders" usually consist of: : Contains the .jar files for game modifications. config/ : Stores settings and parameters for those mods.

When prompted by your operating system, choose to ensure the new configuration overwrites the old one. Alternative: Use a Custom Directory