BaublesExpanded(mod 容器)

基本信息

属性 值
路径 baubles.common.BaublesExpanded
类型 class
注解 `@Mod(modid="Baubles
包名 baubles.common

静态字段

字段 值 用途
MODID "Baubles|Expanded" parent modid;被 Baubles.preInit 设置到 modMetadata.parent
MODNAME "Baubles Expanded" 显示名

功能

仅作 mod 容器使用,不注册任何物品/方块/实体/GUI。 实际业务逻辑都在 @Mod(modid="Baubles") 标注的 Baubles 主类 中。

与 mcmod.info 的关系

mcmod.info 模板:

  • modid = ${modId} = Baubles|Expanded
  • name = ${modName} = Baubles Expanded
  • description = “Adding a touch of bling to Minecraft”

mcmod.info 中 modid 与 Baubles 类的 MODID 不一致,是设计使然:实际功能 mod 的 id 是 "Baubles"(向后兼容旧版 Baubles),BaublesExpanded 只用作展示 parent。

相关条目