Mod 入口(Mod Entry)
基本信息
| 属性 |
值 |
| modid |
angelicacompat |
| 显示名 |
Angelica Compat |
| 版本 |
Tags.VERSION(由 build 时注入) |
| 主类 |
com.gtnewhorizons.angelicacompat.AngelicaCompat |
| 接受的 Minecraft 版本 |
[1.7.10] |
| SidedProxy |
client = com.gtnewhorizons.angelicacompat.ClientProxy<br>server = com.gtnewhorizons.angelicacompat.CommonProxy |
生命周期事件
| 事件 |
处理 |
preInit |
ModStatus.preInit() — 记录 isXaerosMinimapLoaded |
init |
无操作 |
postInit |
无操作 |
serverStarting |
无操作(无自定义指令) |
主类没有注册任何 Block / Item / Entity / Enchantment / Dimension / Biome / Potion / Achievement / Structure / TileEntity。
Common / Client / Server Proxy
| 类 |
行为 |
Common |
LogManager.getLogger("AngelicaCompat") 单例 Logger;静态初始化时打印 "Initializing AngelicaCompat" |
CommonProxy |
空类(FML 要求 @SidedProxy 必须有 client 与 server 实现) |
ClientProxy |
继承 CommonProxy,空实现(注释提示可在子类添加 client-only 注册) |
相关条目