Guide-API-VP
这是由 TehNut 和 Tombenpotter 发布、采用 MIT 许可证的原始模组 Guide-API 的一个分支。
它使用了不同的包名和不同的模组 ID(guideapi-vp)。
允许你轻松为你的模组创建指南书。
书籍主要由 Guide-API 进行管理(它会注册书籍、将其放入专属创意标签页等)。
指南书主要在代码中创建,而例如 Patchouli 则主要基于 JSON。这意味着:
- 根据模组的配置添加或更改内容。
- 自动换行和分页,防止本地化字符串溢出。
- 引用已设置的热键绑定。
- 引用内部常量、平衡值等,以便在模组中修改时自动更新到书中。
- 添加自定义页面类型、配方类型等。
- 使用辅助方法自动生成部分书籍内容。
还有什么?
- 无硬性依赖:如果运行时未加载 Guide-API,则书籍不会出现,但其他一切功能正常。
- 支持使用 TextFormatting 和手动 \n。
- 提供多种现成的页面类型,如文本、物品/方块聚焦文本、配方和图片页面。
使用该模组的模组:
- Vampirism
如何在你自己的模组中使用:
致谢
原始模组:TehNut 和 Tombenpotter
分支版本:Maxanier
许可证
MIT 许可证,因此在必要时你可以创建分支。
也欢迎将其包含在你的整合包中。
Guide-API-VP
This is a fork of the original mod Guide-API by TehNut and Tombenpotter released under the MIT license.
It uses a different package and a different modid (guideapi-vp).
Allows easy creation of a guide book for your mod.
Books are mostly maintained by Guide-API (it registers them, it puts them in it's own creative tab, etc).
The guide book is created mostly in code whereas e.g. Patchouli is mostly JSON based. This means:
- Add or change content based on the configuration of your mod.
- Wrap lines and pages based automatically, so localized strings don't overflow
- Refer to the set keybindings
- Refer to internal constants, balancing values etc so they are automatically changed in the book if you change them in the mod
- Add custom page types, recipe types, etc.
- Use helper methods to generate parts of the book automatically
What else?
- No hard dependency, if Guide-API is not present at runtime the book won't be there, but everything else works
- Use TextFormatting and manual \n
- Several ready-to-use page types like text, item/block focused text, recipe, and image pages
Mods using this:
- Vampirism
How to use for your own mod:
Credits
Original Mod: TehNut and Tombenpotter
Fork: Maxanier
Licence
MIT license, so if necessary you can create a fork.
Also feel free to include it in your modpack.
下载 Guide-API Village and Pillage
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Guide-API Village and Pillage
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Guide-API Village and Pillage
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Guide-API Village and Pillage
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Guide-API Village and Pillage
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Guide-API Village and Pillage
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Guide-API Village and Pillage
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Guide-API Village and Pillage
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Guide-API Village and Pillage
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Guide-API Village and Pillage
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
暂无更新日志
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
评论 0
登录后参与评分
还没有评论,来抢沙发吧