{"id":30226383,"url":"https://github.com/404setup/packcenheaderfix","last_synced_at":"2026-06-04T19:31:16.807Z","repository":{"id":309745457,"uuid":"1037293305","full_name":"404Setup/PackCENHeaderFix","owner":"404Setup","description":"Fixed resource pack/data pack loading failure due to `invalid CEN header (bad entry name or comment)`.","archived":false,"fork":false,"pushed_at":"2025-08-13T16:15:49.000Z","size":40,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"1.21.8","last_synced_at":"2025-08-13T16:29:57.908Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.curseforge.com/minecraft/mc-mods/pack-cen-header-fix","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/404Setup.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-08-13T11:00:27.000Z","updated_at":"2025-08-13T16:17:51.000Z","dependencies_parsed_at":"2025-08-13T16:44:10.653Z","dependency_job_id":null,"html_url":"https://github.com/404Setup/PackCENHeaderFix","commit_stats":null,"previous_names":["404setup/packcenheaderfix"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/404Setup/PackCENHeaderFix","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/404Setup%2FPackCENHeaderFix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/404Setup%2FPackCENHeaderFix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/404Setup%2FPackCENHeaderFix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/404Setup%2FPackCENHeaderFix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/404Setup","download_url":"https://codeload.github.com/404Setup/PackCENHeaderFix/tar.gz/refs/heads/1.21.8","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/404Setup%2FPackCENHeaderFix/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270451154,"owners_count":24586127,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-14T02:00:10.309Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-08-14T16:38:26.757Z","updated_at":"2026-06-04T19:31:16.800Z","avatar_url":"https://github.com/404Setup.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PackCENHeaderFix\n\nThere is no longer an error invalid CEN header (bad entry name or comment)\n\nIt solves this problem by replacing Java Zip implementation with Apache Commons Compress implementation.\n\n## Example Story\n\nYou 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.\n\nInstead, Minecraft prints the following error in the log:\n\n![136fae32511da386f54de944925e101fee8c6527.png](https://cdn.modrinth.com/data/7zCj0OEn/images/136fae32511da386f54de944925e101fee8c6527.png)\n\nIt 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.\n\nThe 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.\n\n## About API\nIt's intended for use with another mod of mine, which will rely on this one for additional functionality.\n\nIf you want to do something with it, my advice is don't, I don't want it to behave unexpectedly.\n\n## How to build?\nAfter the clone repository, be sure to use the `./gradlew clean build` command to build,\nrather than executing any of them separately.\n\nAfter the build is completed, a jars folder will be generated in the root directory,\nwhere the final build results will be stored.\n\n## For Modpack\nIf you comply with the license, you can use it freely for Modpack.\n\nModpacks 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.\n\n## License\n\nThis work has a restrictive license in addition to the original license to prevent some unexpected behavior, see [404Setup Public License](https://github.com/404Setup/404Setup/blob/main/LICENSE.md)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F404setup%2Fpackcenheaderfix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F404setup%2Fpackcenheaderfix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F404setup%2Fpackcenheaderfix/lists"}