介绍
Cocoon
A library that provided mod compatibility layer support for plugin servers.
The main features is provide mod compatibility service for pure plugin servers, so the client features still need to rely on mods.
Unlike the mod server, the mod compatibility service provided by cocoon is optional, which means vanilla players still can join and play the server normally.
Features
You can implement this features on the plugin server:
- Create custom items
- Create custom blocks, and custom hitboxes
- Create custom entities
- Create custom size containers
- Create custom container UI
How To Use
Note cocoon split the client and server versions, so careful use a wrong version.
For Developer:
NOTE: API documentation is coming soon
- Add cocoon dependency to your plugin project
- Implement the classes provided by cocoon
- Register the class of you implemented class into cocoon
- Done, the remaining work by cocoon
For Server Owner:
- Install any bukkit server
- Install concoon server library
- Install compatible plug-ins that depend on cocoon
- Done
For Plugin Server Client User:
- Install fabric/forge
- Install cocoon client library
- Install the mods required for the plugin server
- Done
常见问题
Cocoon 支持哪些 Minecraft 版本?
Cocoon 支持 Minecraft Java 版 1.16.5–1.20.1,共 4 个版本,可用的加载器:Bukkit / Fabric / Forge。下载时注意选择和你游戏版本一致的文件。
Cocoon 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Bukkit / Fabric / Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。
评论
登录后评论和评分