Phantom Loader
Phantom Loader is a library that automates part of the process of creating Minecraft mods for multiple mod loaders by generating loader-specific code at build time.
介绍

Phantom 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.
About
Normally, 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. 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.
The 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.
For developers
Documentation for setting up and using Phantom Loader can be found on the Wiki.
An example mod using Phantom Loader can be found here.
Credits
Author: HexagonNico
常见问题
Phantom Loader 支持哪些 Minecraft 版本?
Phantom Loader 支持 Minecraft Java 版 1.19.4–1.20.4,共 5 个版本,可用的加载器:Fabric / Forge。下载时注意选择和你游戏版本一致的文件。
Phantom Loader 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
HexagonNico 的其他作品
查看全部 →Underground Worlds
以模块化、可配置的方式添加地下生物群系和地下地牢,以及一些地表结构。
Phantom Loader
Phantom Loader 是一个前置库,可在构建时生成适配不同加载器的代码,自动完成 Minecraft 模组创建流程中的部分工作。
Spider Caves
新增蜘蛛洞穴生物群系和蜘蛛盔甲
Spider Caves
Adds a spider cave biome and a spider armor
评论
登录后评论和评分