介绍
Cobblestone API
Core utility library for Minecraft: Java Edition mod development
Overview
Cobblestone API is a foundational toolkit designed specifically for Minecraft mod developers, providing efficient data persistence and event management solutions to significantly streamline mod development workflows.
Core Modules
Core Module
Core module supports you to automatically bootstrap some class so that you not need to load them manually.
Data Module
Delivers advanced data persistence capabilities:
- Entity Data Extension: Custom data binding through injection into
LivingEntityclass - Intelligent Serialization: Automatic conversion between Java objects ↔ NBT data
Event Module
Extends the native event system:
- Enhanced Event Hooks: Expanded coverage of critical game lifecycle points
Building
Use Gradle build tool to compile the project.
License
View NOTICE file
Source Code License
This project is licensed under LGPL-3.0
View full license text
Third-Party Components
| Component | License |
|---|---|
| All dependencies | Apache-2.0/MIT |
| Build toolchain | MIT |
View DEPENDENCIES file
Compliance Notes
- Distribution of binary files must include the NOTICE file
- Modified library code requires disclosure of source changes
- Mods using this library don’t need to open-source their own code
常见问题
Cobblestone API 支持哪些 Minecraft 版本?
Cobblestone API 支持 Minecraft Java 版 1.21,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
Cobblestone API 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
评论
登录后评论和评分