{"id":15015116,"url":"https://github.com/phantomloader/phantomloader","last_synced_at":"2025-04-12T09:13:30.360Z","repository":{"id":213422758,"uuid":"733222623","full_name":"PhantomLoader/PhantomLoader","owner":"PhantomLoader","description":"A library to automate part of the process of creating Minecraft mods for multiple mod loaders","archived":false,"fork":false,"pushed_at":"2024-01-21T16:26:16.000Z","size":654,"stargazers_count":5,"open_issues_count":2,"forks_count":0,"subscribers_count":0,"default_branch":"1.20.1","last_synced_at":"2025-04-12T09:13:22.834Z","etag":null,"topics":["fabric","fabricmc","fabricmod","forge","forge-mod","minecraft","minecraft-fabric","minecraft-fabric-mod","minecraft-forge","minecraft-forge-mod","minecraft-library","minecraft-mod"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PhantomLoader.png","metadata":{"files":{"readme":"readme.md","changelog":"changelog.md","contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":["HexagonNico"],"ko_fi":"HexagonNico","custom":["https://paypal.me/hexagonnico"]}},"created_at":"2023-12-18T20:55:52.000Z","updated_at":"2024-10-17T17:44:13.000Z","dependencies_parsed_at":"2024-01-12T12:24:49.744Z","dependency_job_id":"956871fa-4ac0-4696-b059-a4eb24698217","html_url":"https://github.com/PhantomLoader/PhantomLoader","commit_stats":{"total_commits":68,"total_committers":1,"mean_commits":68.0,"dds":0.0,"last_synced_commit":"c2afc54613d426668f308a7facf6a76192243308"},"previous_names":["phantomloader/phantomloader"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhantomLoader%2FPhantomLoader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhantomLoader%2FPhantomLoader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhantomLoader%2FPhantomLoader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhantomLoader%2FPhantomLoader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PhantomLoader","download_url":"https://codeload.github.com/PhantomLoader/PhantomLoader/tar.gz/refs/heads/1.20.1","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248543842,"owners_count":21121838,"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","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":["fabric","fabricmc","fabricmod","forge","forge-mod","minecraft","minecraft-fabric","minecraft-fabric-mod","minecraft-forge","minecraft-forge-mod","minecraft-library","minecraft-mod"],"created_at":"2024-09-24T19:46:31.331Z","updated_at":"2025-04-12T09:13:30.335Z","avatar_url":"https://github.com/PhantomLoader.png","language":"Java","readme":"\n![Phantom Loader](logo.png)\n\nPhantom Loader is an API that automates part of the process of creating Minecraft mods for multiple mod loaders by generating loader-specific code at build time.\n\n## About\n\nNormally, when creating a mod for both Fabric and Forge, mod developers have to create separate modules for both mod loaders and add loader-specific code that has mostly the same function.\n**Phantom Loader** allows you to automatically generate Forge and Fabric initializer classes on build time by keeping all code, or most of the code, in the common module.\n\nThe **Phantom Library** also takes care of abstracting each mod loader's basic functionalities to allow the developer to only depend on the abstraction from the common module.\n\n### Before:\n\n```\nProject\n |--common\n |    |--src/main/java\n |    |    |--common/...\n |    |    |--AbstractRegistry.java\n |    |    |--CommonInit.java\n |    |--src/main/resources\n |    |    |--assets/...\n |    |    |--data/...\n |    |--build.gradle\n |--fabric\n |    |--src/main/java\n |    |    |--FabricRegistry.java\n |    |    |--FabricInitializer.java\n |    |--src/main/resources\n |    |    |--fabric.mod.json\n |    |--build.gradle\n |--forge\n      |--src/main/java\n      |    |--ForgeRegistry.java\n      |    |--ForgeInitializer.java\n      |--src/main/resources\n      |    |--META-INF/mods.toml\n      |--build.gradle\n```\n\n### After:\n\n```\nProject\n |--common\n |    |--src/main/java\n |    |    |--content/...\n |    |    |--ModRegistry.java\n |    |--src/main/resource\n |    |    |--assets/...\n |    |    |--data/...\n |    |--build.gradle\n |--fabric\n |    |--build.gradle\n |--forge\n      |--build.gradle\n```\n\n## For developers\n\nDocumentation for setting up and using **Phantom Loader** can be found on the [Wiki](https://github.com/PhantomLoader/PhantomLoader/wiki).\n\nAn example mod using **Phantom Loader** can be found [here](https://github.com/PhantomLoader/ExampleMod).\n\n## Credits\n\nAuthor: [HexagonNico](https://github.com/HexagonNico)\n\n## License\n\nThis software is licensed under the [Apache License 2.0](license)\n","funding_links":["https://github.com/sponsors/HexagonNico","https://ko-fi.com/HexagonNico","https://paypal.me/hexagonnico"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphantomloader%2Fphantomloader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphantomloader%2Fphantomloader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphantomloader%2Fphantomloader/lists"}