Back to mods
PackCENHeaderFix project artwork

Modrinth · Minecraft mod

PackCENHeaderFix

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

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which PackCENHeaderFix release matches 25w09a?

Updated 5 months ago
Best match for your filters 0.0.4+1.21.8
Game version 1.20.6, 24w18a, 24w19a
Loader Fabric, Quilt

PackCENHeaderFix 0.0.4+1.21.8 targets 1.20.6, 24w18a, 24w19a with Fabric, Quilt. Installation on the client is optional. Installation on the dedicated server is optional. No extra mods listed for this file.

Where it goes

Is PackCENHeaderFix required on the client, server, or both?

Installation on the client is optional. Installation on the dedicated server is optional.

Client Optional
Dedicated server Optional
Loader for this release Fabric, Quilt
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source marks this as usable on both the client and server.

What else does PackCENHeaderFix 0.0.4+1.21.8 need?

0.0.4+1.21.8 on 25w09a. Every mod below is checked against that same setup.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add PackCENHeaderFix without breaking your instance.

Built for PackCENHeaderFix 0.0.4+1.21.8 on 25w09a. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 0.0.4+1.21.8. It targets 1.20.6, 24w18a, 24w19a with Fabric, Quilt; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    Installation on the client is optional. Installation on the dedicated server is optional.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 0.0.4+1.21.8. It opens that exact file at the source.

About this project

What does PackCENHeaderFix add?

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

Project description from Modrinth.

Pick your setup

PackCENHeaderFix by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

226 available setups

Showing the newest 12 of 101 game versions. Older files are in the list below.

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

PackCENHeaderFix versions and loaders

1 of 15 releases match
Clear filters

Looking for an older file? The official Modrinth project page is in Resources.