PackCENHeaderFix
There is no longer an error `invalid CEN header (bad entry name or comment)`
截图
介绍
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 支持哪些 Minecraft 版本?
PackCENHeaderFix 支持 Minecraft Java 版 1.20.6–26.1,共 14 个版本,可用的加载器:Fabric / Forge / NeoForge / Quilt。下载时注意选择和你游戏版本一致的文件。
PackCENHeaderFix 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Forge / NeoForge / Quilt,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
default_user 的其他作品
查看全部 →SpringLotus
由 404Setup 制作的精简前置库模组,包含网络库、配置库和一些界面库。
KryptonReno’s Fabric Patcher
优化网络,并为 Krypton Fabric 提供额外支持。
YggdrasilProxy
The proxy in the device is automatically read to speed up Yggdrasil verification.
Breed Horse
is MCPE-81890
评论
登录后评论和评分