介绍
Smoothiez API
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.
Usage Overview
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.
Project Setup
- 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:buildReplace
1.21.9with the target submodule name (e.g., the version your mod depends on).- The module to build depends on which one the
examplemodule uses.
-
Reload the Gradle project in your IDE (e.g., IntelliJ IDEA) after building.
Using Smoothiez API in Your Mod
- 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}")
}
Download
| Modrinth | Curseforge |
|---|---|
| Smoothiez API | Smoothiez API |
Issue Tracker
Found a bug or have a feature request? Please report it here: GitHub Issues
Support Me
If you enjoy this mod and want to support my work, consider donating:
常见问题
Smoothiez Api 支持哪些 Minecraft 版本?
Smoothiez Api 支持 Minecraft Java 版 1.21.9–1.21.11,共 3 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
Smoothiez Api 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
Smootheez 的其他作品
查看全部 →
Smootheez Config Lib
Config library mod for all of my mods
Damage Number Particles
Minecraft mod that displays floating number particles whenever an entity takes damage or receives healing
Elytra Control
Simple Mod To Control Your Elytra Such Locking Or Stop Flying In Mid Air Like In Bedrock Edition and more!
Smoothiez Api
Minecraft Mod to provide boilerplate code for all of Smootheez's Mods
评论
登录后评论和评分