Minecraft Resource Pack Porting Made Easy.
If you have any resource pack and would like to create ports for every version from 1.6.1 onwards, you can simply download and execute the latest MCPackr build in the directory of your resource pack and it will generate zip files for all resource pack format versions.
However, to get the best possible ports, you will need to provide version-specific files.
You can easily do that by appending
@1 to the name of the file, so that you will have
inventory.png@1, for example.
1stands for 1.6.1 - 1.8.9
2stands for 1.9 - 1.10.2
3stands for 1.11 - 1.12.2
4stands for 1.13+
Note that you don't have to provide a different
pack.mcmeta file for each version — if you would like the resource pack description to contain the compatible Minecraft versions, you can place
%mcversions% in it, and MCPackr will replace it with
1.6.1 - 1.8.9 in the 1.6.1 - 1.8.9 port, etc.
Some files which I recommend you provide, if your resource pack is 1.13+ — which it should be:
- Inventory without offhand:
- Blue water:
- Red bed blocks:
- Brewing stand without blaze powder:
The rest should be done by MCPackr.
If something does not work as expected, please open an issue.
As a developer, you can use MCPackr as a library for your Java 7+ projects.
There are some dependencies to MCPackr, so either you download and use the binary any other user would use, as the libraries are bundled with it, or you use Maven:
<repositories> <repository> <id>hellsh</id> <url>https://mvn2.hell.sh</url> </repository> </repositories> <dependencies> <dependency> <groupId>de.timmyrs</groupId> <artifactId>mcpackr</artifactId> <version>[1.0.0,2.0)</version> </dependency> </dependencies>
Once you have MCPackr as a library, the docs can tell you what it can do for you.