HomeJavaModsPolymer PackSquash
Polymer PackSquash
ModsJava

Polymer PackSquash

by tomalbrc · on Modrinth

Which Minecraft do you have?

Every version of the game needs its own build. Pick yours, then download — the wrong build installs fine and then does nothing in the game. This mod is built for Fabric only.

⬇ Download for 26.1–26.1.2⬇ Download for 1.21.11⬇ Download for 1.21.9–1.21.10⬇ Download for 1.21.6–1.21.8
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.

Polymer PackSquash Integration

This mod integrates PackSquash with Polymer’s resource pack generation to automatically optimize generated resource packs so you don't have to manually compress after changes.

Setup

These are the default paths the mod will use. You can adjust them in the configuration file config/polymer-squasher.json

Default config

{
  "enabled": true,
  "log-packsquash": false,
  "log-hash-mismatch": false,
  "force-size-based-hash": false,
  "cleanup": false,
  "ignore-hash-paths": [
    "polymer-credits.txt"
  ],
  "packsquash-path": "polymer/packsquash",
  "packsquash-toml-path": "polymer/packsquash.toml",
  "hash-file-path": "polymer/hashes.json",
  "resource-pack-directory": "polymer/pack",
  "minified-zip-path": "polymer/resource_pack.min.zip"
}

Config options


How it works

When enabled, the mod will hash the generated resource pack files. The hashes are written to polymer/hashes.json.

If nothing has changed since the last run, PackSquash is skipped.

If changes are detected, the mod will run PackSquash after Polymer finishes generating the resource pack.

If the process completes successfully, the optimized version is used instead.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more