Catalogue Vintage
将 MrCrayfish 的精彩模组 Catalogue(又名 MrCrayfish's Mod List) 移植至 Minecraft 1.12.2 & 1.7.10。
注意事项
由于旧版 Forge 未提供任何 API,Catalogue Vintage 模组无法读取 mcmod.info 中的自定义属性。
1.12.2 版本同时提供 Forge 和 Cleanroom 分支。请确保你选择了正确的平台。由于 CurseForge 上没有“Cleanroom”或“Others”加载器选项,Cleanroom 版本被标记为“NeoForge”。
该仓库仅是 Cleanroom#422 的测试场,如果该 PR 被合并,Cleanroom 版本将停止更新。
对于开发者,你可以尝试在 mcmod.info 中添加新属性。上述 PR 中的 Catalogue 能够读取并应用这些新属性。新增属性如下:
- iconFile:字符串,应指向一个正方形 PNG 文件。
- iconItem:字符串,格式应为 "minecraft:stone"。允许使用元数据。如果 iconFile 有效,则此属性将不生效。
- backgroundFile:字符串,应指向一个 PNG 文件,该文件将以保留纵横比的方式裁剪以填充详情面板,然后向底部渐变淡出,作为模组的背景显示。
- license:字符串,将显示在模组信息页面的底部。
- issueTrackerUrl:字符串,应为链接地址。点击“提交 Bug”按钮时将打开此链接。
或者,如果你想将这些属性应用到 Catalogue 模组中,可以在 @Mod 注解中使用 @Mod.CustomProperty。
参考示例见 Catalogue.java。
仅通过注解添加的新属性可用,并且会在 PR 中被 mcmod.info 中的对应属性覆盖。
完全不需要在你的构建脚本中添加 Catalogue。
Catalogue Vintage
Backport of MrCrayfish's wonderful mod Catalogue, aka MrCrayfish's Mod List to mc 1.12.2 & 1.7.10.
Notes
Catalogue Vintage mod does not have the ability to read custom props in mcmod.info since legacy Forge doesn't provide any APIs.
1.12.2 provides both Forge and Cleanroom branches. Make sure you have chosen the right platform. Since CurseForge do not have a "Cleanroom" or "Others" loader choice, Cleanroom versions are marked "NeoForge".
The repo is just a test field of Cleanroom#422 and the cleanroom version will stop updating if the PR is merged.
For developers, you can try to add new props in mcmod.info. Catalogue in the PR above has the ability to read them and apply. The new props follow.
- iconFile: a string, should point to a square PNG file.
- iconItem: a string, should be in the format "minecraft:stone". Metadata is allowed. This will not be applied if iconFile is valid.
- backgroundFile: a string, should point to a PNG file, which will be rendered as the mod’s background with aspect-preserving cover cropping to fill the details panel, then faded out toward the bottom.
- license: a string, will be displayed at the bottom of the mod info page.
- issueTrackerUrl: a string, should be a link. The "Submit Bug" button will open it when clicked.
Or if you want to apply them to Catalogue mod, you can use @Mod.CustomProperty in @Mod annotation.
For reference, see Catalogue.java.
Only the new props are available through annotation, and will be overridden by those in mcmod.info in the PR.
It is completely unnecessary to add Catalogue to your build script.
下载 Catalogue Vintage
下载 Catalogue Vintage
下载 Catalogue Vintage
下载 Catalogue Vintage
下载 Catalogue Vintage
下载 Catalogue Vintage
下载 Catalogue Vintage
下载 Catalogue Vintage
下载 Catalogue Vintage
下载 Catalogue Vintage
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
评论 0
登录后参与评分
还没有评论,来抢沙发吧