TaterLib

一个跨 API 的代码库,允许开发者编写可在多个模组加载平台和广泛的 Minecraft 版本中运行的代码,且只需一个 JAR 文件。如果 TaterLib 能运行在某个平台上,你的插件/模组也能。
请注意,某些抽象功能可能尚未完全实现,或者缺失。如果你正在寻找特定的抽象或游戏事件,请提交 Issue,我们会尽快处理,或者随时提交包含实现的 PR。
欢迎贡献!
让我们直奔主题,为什么你应该使用或为 TaterLib 做贡献?假设你有一个想要移植到不同模组加载 API 的模组/插件。你可以选择繁琐地针对每个平台实现所有事件、命令等,并为每个游戏对象创建自己酷炫的抽象层;或者你可以使用 TaterLib,从而节省大量时间。(这也是我最初启动这个项目的原因)
有两种方式使用 TaterLib:你可以依赖通用 API,然后在每个平台上自行实现任何缺失的功能;如果缺少某些内容,你可以通过提交基本或完整实现的 PR 来帮助我们改进 TaterLib,这将在未来为你节省大量时间。(可谓双赢)
支持链接:Discord
下载
添加到你的项目
repositories {
maven {
name = 'NeuralNexus'
url = 'https://maven.neuralnexus.dev/releases'
}
}
dependencies {
compileOnly('dev.neuralnexus:taterlib-api:<version>')
}
还有一个快照仓库位于 https://maven.neuralnexus.dev/repository/snapshots
兼容性速查表
TaterLib 支持:Bukkit, BungeeCord, Fabric, Forge, Sponge 和 Velocity
一般说明:
- 1.13 不支持 Fabric
- 1.7.10 以下版本不支持 Fabric/Forge
| 服务器类型 |
版本 |
Jar 文件名 |
| 1.20.x |
1.20-1.20.4 |
TaterLib-1.20.x-<version>.jar |
| 1.19.4 |
1.19.4 |
TaterLib-1.19.4-<version>.jar |
| 1.19.2 |
1.19.2 |
TaterLib-1.19.2-<version>.jar |
| 1.19 |
1.19 |
TaterLib-1.19-<version>.jar |
| 1.18.2 |
1.18.2 |
TaterLib-1.18.2-<version>.jar |
| 1.18 |
1.18 |
TaterLib-1.18-<version>.jar |
| 1.17 |
1.17-1.17.1 |
TaterLib-1.17-<version>.jar |
| 1.16 |
1.16-1.16.5 |
TaterLib-1.16-<version>.jar |
| 1.15 |
1.15-1.15.2 |
TaterLib-1.15-<version>.jar |
| 1.14 |
1.14-1.14.3 |
TaterLib-1.14-<version>.jar |
| 1.13 |
1.13-1.13.2 |
TaterLib-1.13-<version>.jar |
| 1.12 |
1.12-1.12.2 |
TaterLib-1.12-<version>.jar |
| 1.11 |
1.11-1.11.2 |
TaterLib-1.11-<version>.jar |
| 1.10 |
1.10-1.10.2 |
TaterLib-1.10-<version>.jar |
| 1.9 |
1.9-1.9.4 |
TaterLib-1.9-<version>.jar |
| 1.8 |
1.8-1.8.8 |
TaterLib-1.8-<version>.jar |
| 1.7 |
1.7-1.7.10 |
TaterLib-1.7.10-<version>.jar |
| 1.6.4 |
1.6.4 |
TaterLib-1.6.4-<version>.jar |
| 1.2.5 |
1.2.5 |
TaterLib-1.2.5-<version>.jar |
| b1.7.3 |
b1.7.3 |
TaterLib-b1.7.3-<version>.jar |
依赖项
可选依赖项
命令与权限
| 命令 |
权限 |
描述 |
/taterlib version |
taterlib.command.version |
获取 TaterLib 版本 |
/taterlib reload |
taterlib.command.reload |
重载 TaterLib 配置 |
/taterlib dump |
taterlib.command.dump |
导出 TaterLib 信息 |
/taterlib fulldump |
taterlib.command.fulldump |
导出 TaterLib 完整信息 |
使用 TaterLib 的项目
欢迎提交 PR 将你的插件/模组添加到此列表中!
指标数据
Bukkit
BungeeCord
Sponge
Velocity
TaterLib

A cross API code library that allows developers to write code that works across multiple modding platforms, and across a
wide range of Minecraft versions, all with one JAR file. If TaterLib runs on it, so can your plugin/mod.
Please note, some abstractions may not be fully implemented yet, and some may be missing.
If you're looking for a specific abstraction/game event, please open an issue, and we'll get to it as soon as possible,
or feel free to open a PR with an implementation.
Contributions are always welcome!
Let's cut to the chase, why should you use and/or contribute to TaterLib? Well, let's say you have a mod/plugin that you
want to port to a different modding API. You could go through the laborious task of implementing all the events,
commands, etc. on each platform and create all your own cool fancy abstractions for each game object, or you could use
TaterLib and save yourself a lot of time. (which is why I started this project in the first place)
There's two ways to use TaterLib, you can depend on the general API, then implement any missing features yourself on
each platform, or if something's missing, you can start a PR with either a basic or full implementation, and we can
improve TaterLib and save you a lot of time in the future. (a bit of a win-win)
Link to our support: Discord
Download
Adding to your project
repositories {
maven {
name = 'NeuralNexus'
url = 'https://maven.neuralnexus.dev/releases'
}
}
dependencies {
compileOnly('dev.neuralnexus:taterlib-api:<version>')
}
There's also a snapshot repository available at https://maven.neuralnexus.dev/repository/snapshots
Compatibility Cheatsheet
TaterLib supports: Bukkit, BungeeCord, Fabric, Forge, Sponge, and Velocity
General notes:
- No Fabric on 1.13
- No Fabric/Forge below 1.7.10
| Server type |
Versions |
Jar Name |
| 1.20.x |
1.20-1.20.4 |
TaterLib-1.20.x-<version>.jar |
| 1.19.4 |
1.19.4 |
TaterLib-1.19.4-<version>.jar |
| 1.19.2 |
1.19.2 |
TaterLib-1.19.2-<version>.jar |
| 1.19 |
1.19 |
TaterLib-1.19-<version>.jar |
| 1.18.2 |
1.18.2 |
TaterLib-1.18.2-<version>.jar |
| 1.18 |
1.18 |
TaterLib-1.18-<version>.jar |
| 1.17 |
1.17-1.17.1 |
TaterLib-1.17-<version>.jar |
| 1.16 |
1.16-1.16.5 |
TaterLib-1.16-<version>.jar |
| 1.15 |
1.15-1.15.2 |
TaterLib-1.15-<version>.jar |
| 1.14 |
1.14-1.14.3 |
TaterLib-1.14-<version>.jar |
| 1.13 |
1.13-1.13.2 |
TaterLib-1.13-<version>.jar |
| 1.12 |
1.12-1.12.2 |
TaterLib-1.12-<version>.jar |
| 1.11 |
1.11-1.11.2 |
TaterLib-1.11-<version>.jar |
| 1.10 |
1.10-1.10.2 |
TaterLib-1.10-<version>.jar |
| 1.9 |
1.9-1.9.4 |
TaterLib-1.9-<version>.jar |
| 1.8 |
1.8-1.8.8 |
TaterLib-1.8-<version>.jar |
| 1.7 |
1.7-1.7.10 |
TaterLib-1.7.10-<version>.jar |
| 1.6.4 |
1.6.4 |
TaterLib-1.6.4-<version>.jar |
| 1.2.5 |
1.2.5 |
TaterLib-1.2.5-<version>.jar |
| b1.7.3 |
b1.7.3 |
TaterLib-b1.7.3-<version>.jar |
Dependencies
Optional Dependencies
- LuckPerms - For permissions/prefix/suffix support
Commands and Permissions
| Command |
Permission |
Description |
/taterlib version |
taterlib.command.version |
Get the TaterLib version |
/taterlib reload |
taterlib.command.reload |
Reload TaterLib config |
/taterlib dump |
taterlib.command.dump |
Dump TaterLib info |
/taterlib fulldump |
taterlib.command.fulldump |
Dump TaterLib info |
Projects that use TaterLib
Feel free to open a PR to add your plugin/mod to this list!
Metrics
Bukkit
BungeeCord
Sponge
Velocity
评论 0
登录后参与评分
还没有评论,来抢沙发吧