作者:rebot | 分类:模组
Minecraft 版本: 1.21.11
平台: fabric
标签: library
A foundational library mod that serves as the backbone for all of Smootheez’s other mods.
It provides shared utilities, common logic, and essential backend features to simplify mod development and ensure consistency across projects.
While Smoothiez API was originally developed for Smootheez’s personal projects, you’re welcome to use or integrate it into your own mods if it fits your needs.
Clone the repository
git clone https://github.com/Smootheez/Smoothiez-Api.git
Build the desired module
For the first build, run:
./gradlew :1.21.9:build
Replace 1.21.9 with the target submodule name (e.g., the version your mod depends on).
The module to build depends on which one the example module uses.
Reload the Gradle project in your IDE (e.g., IntelliJ IDEA) after building.
Publish to your local Maven repository
./gradlew :1.21.9:publishToMavenLocal
Again, replace 1.21.9 with the module you built earlier.
Add Smoothiez API as a dependency in your mod’s build.gradle.kts:
repositories {
mavenLocal()
}
dependencies {
modApi("io.github.smootheez:smoothiezapi:0.1.0+1.21.9")
// or use a variable for flexibility:
modApi("io.github.smootheez:smoothiezapi:${smoothiezApiVersion}")
}
| Modrinth | Curseforge |
|---|---|
| Smoothiez API | Smoothiez API |
Found a bug or have a feature request? Please report it here: GitHub Issues
If you enjoy this mod and want to support my work, consider donating:
请登录后举报
暂无评论,抢个沙发吧~