Lethium

Resource Pack Merger

Minecraft Resource Pack Merger

Merge two or more Java resource packs into one zip. Language files, sounds, fonts, atlases and custom model data are combined, conflicts are yours to pick, and pack.mcmeta is written for the versions you choose.

Tools / Resource Pack Merger

Packs

The zips are read in your browser and never uploaded. The top pack wins conflicts, like the top of the in-game list. Drag a pack or use the arrows to change the order.

    Merged pack

    Add at least two packs. The pack.mcmeta comes from the generator below.

    Files

    Checks

    The checks of the merged pack show up here: file names the game skips, JSON errors with the line, sounds.json problems, block textures with odd sizes, font glyphs over 256 px, duplicate font characters, custom model data clashes and the 250 MiB limit.

    pack.mcmeta generator

    Overlays optional sub-folders for some versions

    How to merge Minecraft resource packs

    1. Drop two or more resource pack zips on the Packs box, or click it to choose them. Packs that were zipped inside a folder work too.
    2. Put them in order. The top pack wins conflicts, the same as in the game's resource pack list.
    3. Look at the Files list. Files that are in several packs show which pack is used. Language files, sounds.json, fonts, atlases and custom model data are merged; for anything else, pick the pack you want. Click a file to compare the versions.
    4. Set the versions and the description in the pack.mcmeta generator.
    5. Press Build merged pack, download the zip and copy the SHA-1 into server.properties.

    Which files are merged and which are replaced

    The game stacks packs. For most files, the top pack's file hides the same file in the packs below it. A few files are combined by the game itself, and this merger combines them the same way, so the merged pack looks like the packs did when they were stacked:

    • Language files (assets/<namespace>/lang/*.json): all keys are kept; for a key in two packs the top pack's text is used.
    • sounds.json: the sounds of each event are added together. An event with "replace": true drops the sounds of the packs below it, as in the game.
    • Fonts (assets/<namespace>/font/*.json): the provider lists are joined, top pack first. A character that two packs define is shown from the top pack, and the tool lists those characters.
    • Atlases (assets/<namespace>/atlases/*.json): the sources of all packs are joined, lowest pack first.

    Two more file types are not combined by the game, but losing them is the most common reason a merged server pack breaks:

    • Item model overrides (models/item/*.json, up to 1.21.3): the overrides lists are joined and sorted by custom_model_data, lowest first. The game checks the list from top to bottom and the last match wins, and a predicate matches any value equal to or above its number, so this order is the one that works.
    • Items model definitions (assets/<namespace>/items/*.json, 1.21.4 and newer): when both files pick the model with a range_dispatch or a select on custom_model_data, the entries are joined and the top pack's fallback is kept. Other structures cannot be joined safely; the tool shows them as a conflict and explains why.

    Textures, models, block states, shaders and sounds themselves are replaced: you choose which pack's file goes in. pack.png is one picture, so you pick one too.

    pack.mcmeta generator for 1.20 to 26.3

    The generator writes the fields each version reads. Since 1.21.9 (format 65) a pack declares min_format and max_format. When the range also covers older versions, pack_format and supported_formats must stay, and supported_formats has to match the new fields. For a range of 1.21.9 and newer only, supported_formats must be left out.

    {
      "pack": {
        "description": "My server pack",
        "pack_format": 34,
        "supported_formats": [34, 97],
        "min_format": 34,
        "max_format": 97
      }
    }

    The description accepts colour codes: &6Gold &lbold or &#FF8800 become a JSON text component. Overlays are folders in the pack that only load on some versions; the game applies the first entry first, so later entries win. When one overlay covers a version before 1.21.9, every overlay needs a formats field as well.

    Resource pack format numbers

    Minecraft versionResource pack format
    1.20 – 1.20.115
    1.20.218
    1.20.3 – 1.20.422
    1.20.5 – 1.20.632
    1.21 – 1.21.134
    1.21.2 – 1.21.342
    1.21.446
    1.21.555
    1.21.663
    1.21.7 – 1.21.864
    1.21.9 – 1.21.1069.0
    1.21.1175.0
    26.1 – 26.1.284.0
    26.288.0
    26.397.1

    Formats from 65 on have a minor number. A single number in max_format means every minor version of it, so "max_format": 97 covers 26.3. The numbers come from the Minecraft Wiki's resource pack format table.

    Resource pack SHA-1 for server.properties

    Upload the merged zip to a host that gives a direct download link and put the link in resource-pack. Then copy the SHA-1 the tool shows into resource-pack-sha1. It is the SHA-1 of the exact zip file, so build once, upload that file, and do not re-zip it.

    resource-pack=https://example.com/merged-pack.zip
    resource-pack-sha1=<the 40 characters from the tool>
    require-resource-pack=true

    The server pack may not be larger than 250 MiB. If a plugin such as ItemsAdder or Nexo builds the server pack, it writes its own zip and replaces yours; then put the other packs into that plugin's pack folder instead.

    Questions

    Are my resource packs uploaded?

    No. The zips are read and merged in your browser and never leave your device. The page makes no network requests while it works.

    Which pack wins when two packs have the same texture?

    The pack at the top of the list, the same as in the game's resource pack screen. You can pick another pack for any single file in the file list.

    Why are my custom model data items gone after merging two packs?

    The game uses only one file per item model, so the overrides or the items file of the lower pack are hidden. This merger combines both lists. When two packs use the same custom_model_data number, the top pack's model is used and the tool tells you which numbers clash.

    What pack_format do I need for 1.21.11 or 26.x?

    1.21.11 is format 75, 26.1 to 26.1.2 is 84, 26.2 is 88 and 26.3 is 97.1. From 1.21.9 the pack.mcmeta uses min_format and max_format. A pack that also supports versions before 1.21.9 still needs pack_format and supported_formats.

    How big can a server resource pack be?

    The resource-pack in server.properties may not be larger than 250 MiB. The tool warns you when the merged pack is bigger.

    Where do I put the SHA-1?

    In server.properties as resource-pack-sha1, in lowercase. It has to be the SHA-1 of the exact zip players download, so build the zip here, upload that file and copy the SHA-1 shown next to it.