关于 Placeholder API NeoForge
这是将 Placeholder API 移植到 NeoForge 的非官方版本,原版由 Patbox 开发,可在此查看 here 以及 Paper 移植版 here。
Placeholder API 是一个小巧、可 JIJ(Jar-in-Jar)的 API,允许在字符串和 Minecraft 文本组件中创建和解析占位符。
占位符使用简单的格式 %modid:type% 或 %modid:type/data%。
它还包含一个简单通用的文本格式用法,旨在简化配置文件、聊天等场景中的用户输入。
有关使用信息(面向开发者和用户),你可以查阅原版 Fabric 版本的官方文档:!
开发者
要在你的项目中使用 Placeholder API NeoForge,请将以下内容添加到你的构建脚本中:
repositories {
// ... 其他仓库
maven("https://maven.offsetmonkey538.top/releases") { name = "OffsetMonkey538" }
}
dependencies {
// ... 其他依赖
implementation "eu.pb4:placeholder-api-neoforge:[VERSION]"
}
这将允许你在项目中使用该库,但要求用户手动下载它。
如果你想对库进行 JIJ,请参阅 NeoForge 文档了解操作方法 here。
请确保将 [VERSION] 替换为实际有效的版本号。如需查看可用版本列表,请访问 Maven 仓库 here。
About Placeholder API NeoForge
This is an unofficial port of Placeholder API to NeoForge, check out the original by Patbox here and a Paper port here.
Placeholder API is a small, JIJ-able API that allows creation and parsing placeholders within strings and Minecraft Text Components.
Placeholders use simple format of %modid:type% or %modid:type/data%.
It also includes simple, general usage text format indented for simplifying user input in configs/chats/etc.
For information about usage (for developers and users) you can check official docs of the original Fabric version at !
Developers
To depend on Placeholder API NeoForge, add the following to your buildscript:
repositories {
// ... other repositories
maven("https://maven.offsetmonkey538.top/releases") { name = "OffsetMonkey538" }
}
dependencies {
// ... other dependencies
implementation "eu.pb4:placeholder-api-neoforge:[VERSION]"
}
This will allow you to use the library in your project, but requires users to manually download it.
If you want to JIJ the library, see the NeoForge documentation for how to do so here.
Make sure to replace the [VERSION] with an actual valid version. For a list of available versions, check the maven here.
下载 Placeholder API NeoForge
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Placeholder API NeoForge
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Placeholder API NeoForge
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Placeholder API NeoForge
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Placeholder API NeoForge
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
26.3
完整更新日志:
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
适用于 MC 1.18+ 的 Effekseer 加载器
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧