Polymer PackSquash 图标

Polymer PackSquash

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.1.2+26.1
本资源为搬运资源,原资源地址: https://modrinth.com/mod/polymer-squasher
资源信息

Minecraft 版本: 26.1 26.1.1 26.1.2

平台: fabric

标签: management optimization

资源介绍

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

  • Get the latest PackSquash release.

  • Place the binary here:

    polymer/packsquash
  • The mod will automatically create a packsquash.toml in the polymer folder.

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

  • enabled — turn the integration on/off.
  • log-packsquash — print PackSquash output to the log.
  • log-hash-mismatch — log when a file’s hash changes (useful for debugging).
  • packsquash-path — path to the PackSquash binary.
  • packsquash-toml-path — path to the PackSquash TOML config file.
  • ignore-hash-paths — list of path prefixes to ignore hash mismatches when hashing.
  • force-size-based-hash — if true, the mod will use file size instead of a full hash (faster, less precise)
  • cleanup - cleans up old files in the cached pack folder

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.

下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Phantom Repellent

价格:0 墨喵币
下载量:0

查看详情
SwingThroughGrass (Spigot)

价格:0 墨喵币
下载量:0

查看详情
Roundless Font

价格:0 墨喵币
下载量:0

查看详情
Lego Piston

价格:0 墨喵币
下载量:0

查看详情