Guide-API-VP 又名 Village and Pillage
这是由 TehNut 和 Tombenpotter 发布的原版模组 Guide-API 的一个分支,基于 MIT 许可证适用于 1.14(Village and Pillage)及以上版本。 它使用了不同的包名和不同的模组 ID(guideapi-vp)。
给模组开发者:
简介
允许轻松为你的模组创建指南书。
书籍主要由 Guide-API 维护(它会注册这些书,将它们放入自己的创造模式标签页等)。
指南书的创建主要在代码中完成,而例如 Patchouli 则主要基于 JSON。这意味着:
- 根据模组的配置添加或更改内容。
- 自动换行和分页,确保本地化字符串不会溢出
- 引用已设置的热键
- 引用内部常量、平衡值等,以便在模组中更改它们时书中也会自动更新
- 添加自定义页面类型、配方类型等。
- 使用辅助方法自动生成书的部分内容
还有什么?
- 无硬性依赖,如果运行时不存在 Guide-API,则不会有该书,但其他一切正常工作
- 使用 TextFormatting 和手动 \n
- 多种现成的页面类型,如文本、物品/方块聚焦文本、配方和图片页面
如何在你自己的模组中使用:
鸣谢
原始模组:TehNut 和 Tombenpotter
分支:Maxanier
许可证
MIT 许可证,因此如有需要你可以创建一个分支。 也欢迎将其包含在你的整合包中。
Guide-API-VP aka Village and Pillage
This is a fork of the original mod Guide-API by TehNut and Tombenpotter released under the MIT license for 1.14 (Village and Pillage) and above. It uses a different package and a different modid (guideapi-vp).
For modders:
About
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
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 VP
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Guide-API VP
下载 Guide-API VP
下载 Guide-API VP
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Guide-API VP
下载 Guide-API VP
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Guide-API VP
下载 Guide-API VP
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Guide-API VP
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Guide-API VP
暂无更新日志
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
适用于 MC 1.18+ 的 Effekseer 加载器
评论 0
登录后参与评分
还没有评论,来抢沙发吧