A tool for resource and data pack creators to extract contents from Minecraft's jar files and assets
Published on 2023-12-09
The Minecraft Resource Extractor (or MRE for short) is a small tool for data packs and resource packs creators.
With this tool, you can easily extract all the textures, sounds, and data files (achievements, crafting recipes, loot tables and others) from any minecraft.jar version or mod you want.
Java JDK, used to extract the content of .jar files
You can install these with this one simple command :
sudo apt-get update && sudo apt-get install openjdk-11-jdk-headless jq
MinecraftResourceExtractor.exe
mre.sh
with the path to your .minecraft or to a .jar file./mre.sh "/mnt/c/users/YOURUSER/AppData/Roaming/.minecraft"
./mre.sh "/mnt/c/Users/YOURUSER/AppData/Roaming/.minecraft/mods/SomeModFile.jar"
There is 3 types of files you can extract using this tool :
Useful for resource pack creators, this part contains all textures and models.
Useful for data pack creators, this part contains all data files (json
files), these include loot tables, crafting recipes, advancements, world generation and more.
Useful for resource pack creators, these files are the most annoying to treat by hand as their names are “encoded”, they mostly are sound, music and language files but they also include the Programmer Art resource pack and some more “default” files I’ll let you explore.