PackCENHeaderFix
No reviews yet
There is no longer an error `invalid CEN header (bad entry name or comment)`
Forge is a popular mod loader for versions 1.1+ of Minecraft.
Neoforge is a fork of the Minecraft Forge available for versions 1.20.1+ of Minecraft. Many Forge mods are compatible with Neoforge and vice versa.
Fabric is a mod loader for versions 1.14+ of Minecraft, particularly popular for client side and optimization mods.
Quilt is a fork of the Fabric mod loader. Many Fabric mods are compatible with Quilt and vice versa.
Community voices
Reviews
Click once to include, again to exclude, again to clear
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
Compatibility
Supported Environments
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
About
Description
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:

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.
License
This work has a restrictive license in addition to the original license to prevent some unexpected behavior, see 404Setup Public License
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:

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
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
On ModDex
Community snapshot
By the numbers
Statistics
Want to reach Minecraft players?
We're looking for a server hosting partner to feature here and other parts of the site. Interested? Send us a message!
Get in touchGet it on
Available Platforms
On ModDex
Community snapshot
By the numbers