Code Monkey home page Code Monkey logo

mcpackr's Introduction

MCPackr

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.

Alternatively, you can also cone get mcpackr and simply run mcpackr in the directory of your resource pack.

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.

  • 1 stands for 1.6.1 - 1.8.9
  • 2 stands for 1.9 - 1.10.2
  • 3 stands for 1.11 - 1.12.2
  • 4 stands 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:
    • textures/gui/container/inventory.png@1
    • textures/gui/container/creative_inventory/tab_inventory.png@1
  • Blue water:
    • textures/block/water_flow.png@1
    • textures/block/water_still.png@1
    • textures/block/water_flow.png@2
    • textures/block/water_still.png@2
    • textures/block/water_flow.png@3
    • textures/block/water_still.png@3
  • Red bed blocks:
    • textures/block/bed_feet_end.png@1
    • textures/block/bed_feet_side.png@1
    • textures/block/bed_feet_top.png@1
    • textures/block/bed_head_end.png@1
    • textures/block/bed_head_side.png@1
    • textures/block/bed_head_top.png@1
    • textures/block/bed_feet_end.png@2
    • textures/block/bed_feet_side.png@2
    • textures/block/bed_feet_top.png@2
    • textures/block/bed_head_end.png@2
    • textures/block/bed_head_side.png@2
    • textures/block/bed_head_top.png@2
  • Brewing stand without blaze powder:
    • textures/gui/container/brewing_stand.png@1

Also ensure that particles and paintings are in a single file, like in the 1.13, because the resource pack version was not changed regardless of 1.14's backward-incompatible changes.

The rest should be done by MCPackr.

If something does not work as expected, please open an issue.

For Developers

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.2.0,2.0.0)</version>
    </dependency>
</dependencies>

Once you have MCPackr as a library, the docs can tell you what it can do for you.

mcpackr's People

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

mcpackr's Issues

Allow MCPackr to be instantiated

This would be an improvement to the design pattern of the API, could improve performance in some edge cases, and would allow additional backward-compatible APIs to be added in the future to provide developers with information about resource packs.

1.14 Support

Altough the 1.14 foolishly didn't increment the pack_format, it's still a very different version, and they had even renamed the smooth stone, potentially even more. So MCPackr will have to make sure that pack_format 4 has some additional/duplicate files so everything works properly in both versions.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.