Перейти к содержимому
Mineforgian

PackCENHeaderFix

There is no longer an error `invalid CEN header (bad entry name or comment)

994 загрузок4 подписчиковLGPL-3.0-onlyfabricforgeneoforgequilt

Обновлён 29 марта 2026 г. · опубликован 13 августа 2025 г.

  • Vanilla Zip Error

PackCENHeaderFix

There is no longer an error invalid CEN header (bad entry name or comment)

It solves this problem by replacing Java Zip implementation with Apache Commons Compress implementation.

Example Story

You downloaded a ResourcePack from a RP author. You put it in your RP folder and tried to load it as usual, but you don't see it in the RP selector.

Instead, Minecraft prints the following error in the log:

136fae32511da386f54de944925e101fee8c6527.png

It doesn't appear in Mojira, precisely because it's a bug that only appears under very extreme conditions. I haven't seen it in the past few years of the game, and only very, very few RP authors have accidentally allowed their RP to be contaminated by this bug.

The cause of this bug is unknown, but it only affects the Java Zip implementation. RPs that experience this bug can still be force-loaded (although you won't be able to find them in the selector), but I think it's better to try to fix it.

About API

It's intended for use with another mod of mine, which will rely on this one for additional functionality.

If you want to do something with it, my advice is don't, I don't want it to behave unexpectedly.

How to build?

After the clone repository, be sure to use the ./gradlew clean build command to build, rather than executing any of them separately.

After the build is completed, a jars folder will be generated in the root directory, where the final build results will be stored.

For Modpack

If you comply with the license, you can use it freely for Modpack.

Modpacks that redistribute Minecraft game body (i.e. packages that package the entire Minecraft game including Mod files, Config, ShaderPacks, ResourcePacks, Library and launcher into a whole zip file) are not allowed to use this mod.

License

This work has a restrictive license in addition to the original license to prevent some unexpected behavior, see 404Setup Public License

Версии

ВерсияКаналИграЗагрузчикиДатаСкачать
0.0.5+26.1Релиз26.1, 26.1.1fabric29 марта 2026 г.Скачать (33 КБ)
0.0.5+26.1Релиз26.1, 26.1.1neoforge29 марта 2026 г.Скачать (32 КБ)
0.0.4+1.21.11Релиз1.21.11neoforge11 декабря 2025 г.Скачать (32 КБ)
0.0.4+1.21.11Релиз1.21.11fabric11 декабря 2025 г.Скачать (33 КБ)
0.0.4+1.21.11Релиз1.21.11forge11 декабря 2025 г.Скачать (30 КБ)
0.0.4+1.21.8Релиз1.21.7, 1.21.8, 1.21.9, 1.21.10neoforge19 августа 2025 г.Скачать (32 КБ)
0.0.4+1.21.8Релиз25w41a, 25w42a, 25w43a, 25w44afabric, quilt19 августа 2025 г.Скачать (33 КБ)
0.0.4+1.21.8Релиз1.21.7, 1.21.8, 1.21.9, 1.21.10forge19 августа 2025 г.Скачать (22 КБ)
0.0.3+1.21.8Релиз1.21.8fabric, quilt13 августа 2025 г.Скачать (31 КБ)
0.0.3+1.21.8Релиз1.21.8forge13 августа 2025 г.Скачать (30 КБ)
0.0.3+1.21.8Релиз1.21.8neoforge13 августа 2025 г.Скачать (30 КБ)
0.0.2+1.21.8Релиз1.21.8forge13 августа 2025 г.Скачать (30 КБ)
0.0.2+1.21.8Релиз1.21.8neoforge13 августа 2025 г.Скачать (30 КБ)
0.0.1+1.21.8Релиз1.21.8neoforge13 августа 2025 г.Скачать (30 КБ)
0.0.1+1.21.8Релиз1.21.8forge13 августа 2025 г.Скачать (30 КБ)

Ченджлог

0.0.4+1.21.8Релиз1.21.8, 1.21.9, 1.21.10 · 19 августа 2025 г.
  • Minimum compatibility adjustment to 1.20.6 (forge is 1.21)
0.0.4+1.21.8Релиз25w42a, 25w43a, 25w44a · 19 августа 2025 г.
  • Minimum compatibility adjustment to 1.20.6 (forge is 1.21)
0.0.4+1.21.8Релиз1.21.8, 1.21.9, 1.21.10 · 19 августа 2025 г.
  • Minimum compatibility adjustment to 1.20.6 (forge is 1.21)
0.0.3+1.21.8Релиз1.21.8 · 13 августа 2025 г.

Reimplement SharedZipFileAccess to fix crashes in Fabric

0.0.3+1.21.8Релиз1.21.8 · 13 августа 2025 г.

Reimplement SharedZipFileAccess to fix crashes in Fabric

0.0.3+1.21.8Релиз1.21.8 · 13 августа 2025 г.

Reimplement SharedZipFileAccess to fix crashes in Fabric

0.0.2+1.21.8Релиз1.21.8 · 13 августа 2025 г.

Fix wrong refmap name in Fabric

0.0.2+1.21.8Релиз1.21.8 · 13 августа 2025 г.

Fix wrong refmap name in Fabric

Комментарии

Загружаем…