How to Extract Minecraft Assets
Step-by-step instructions on how to extract Minecraft: Java Edition data and assets
Universal
- Go to your .minecraft folder
- Locate your "versions" folder and open it.
- Find the version you want to extract, it should be a
.jar
file - If you don't have a program to open it simply make a copy of the jar.
- Change the file extension from
.jar
to.zip
. You should be able to open and see the assets. - The most useful parts of the JAR are the assets and data folders. The assets folder has all the textures that can be used in a resource pack. The data folder can be used in a datapack.
Using mcextract CLI
- Install Python if you haven't already.
- Install the mcextract package by running this command in your terminal.
bat
pip install mcextract
- Now you can use the
mcextract
command in your terminal. - Run the below command to extract the assets and data folder from the client jar.
bat
mcextract extract 1.21.1/1.21.1.jar --assets --data -eula
You can find the docs for the mcextract CLI via the mcextract Documentation