CurseForge · Minecraft mod
Steven's API
A personal NeoForge prerequisite API library for sharing common code (such as creative tabs, utility classes, etc.) across my other mods.
Quick answer
Which Steven's API release should I use?
Steven's API steven_mod_api-1.2.0.jar targets 1.21.1 with NeoForge. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.
Where it goes
Is Steven's API required on the client, server, or both?
The project page does not say whether this file belongs on the client, dedicated server, or both.
The source does not explicitly classify this release as client-only or server-only.
What else does Steven's API steven_mod_api-1.2.0.jar need?
steven_mod_api-1.2.0.jar. Change the file and its required mods may change too.
This file does not list any required mods. Do not add a library just because a different file uses it.
This file does not list any required or optional mods.
Before you install it
Add Steven's API without breaking your instance.
Built for Steven's API steven_mod_api-1.2.0.jar. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use steven_mod_api-1.2.0.jar. It targets 1.21.1 with NeoForge; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
This file does not list any required mods. Do not add a library just because a different file uses it.
- 03
Put it on the correct side
The project page does not say whether this file belongs on the client, dedicated server, or both.
- 04
Pick the file you checked
Use the “Get this file” button beside steven_mod_api-1.2.0.jar. It opens that exact file at the source.
About this project
What does Steven's API add?
Steven's API(English)
A personal NeoForge API library that shares common code — such as creative tabs and utility classes — across my other mods.
📦 Features
- Creative Tab Contribution Sub-mods can register their items into this API's creative tab
steven_tab:
ApiTabContributors.register(() -> List.of(
new ItemStack(MyItems.MY_ITEM.get())
));
🔧 Adding as a Dependency
Option 1: Source Subproject
settings.gradle:
include ':steven_mod_api'
project(':steven_mod_api').projectDir = file('../Steven_Mod_API')
build.gradle:
dependencies {
implementation project(':steven_mod_api')
}
Option 2: Local JAR
Place the built JAR into libs/, then:
implementation 'blank:steven_mod_api:1.0.0'
neoforge.mods.toml:
[[dependencies.your_mod_id]]
modId = "steven_mod_api"
type = "required"
versionRange = "[1.0.0,)"
ordering = "AFTER"
side = "BOTH"
🧩 Public API
ApiTabContributors.register(Supplier<List<ItemStack>>)— Register items to be shown in the API's creative tabApiTabContributors.collectAll()— Collect all contributed items (internal use)
⚠️ Requirements
- Minecraft: 1.21.1
- NeoForge: 21.1.188+
- Java: 21
📜 License
- Assets and Code: MIT License
🙏 Authors
- Programmer: Steven23334
Steven's API(中文)
一个个人向的 NeoForge 前置 API 库,用于在我的其他模组之间共享公共代码(如物品标签页、工具类等)。
📦 功能
- 物品标签页贡献 子模组可以把物品注册进本 API 的创造模式标签页
steven_tab:
ApiTabContributors.register(() -> List.of(
new ItemStack(MyItems.MY_ITEM.get())
));
🔧 作为前置引入
方式一:源码子项目
settings.gradle:
include ':steven_mod_api'
project(':steven_mod_api').projectDir = file('../Steven_Mod_API')
build.gradle:
dependencies {
implementation project(':steven_mod_api')
}
方式二:本地 JAR
把构建出的 JAR 放入 libs/,然后:
implementation 'blank:steven_mod_api:1.0.0'
neoforge.mods.toml:
[[dependencies.your_mod_id]]
modId = "steven_mod_api"
type = "required"
versionRange = "[1.0.0,)"
ordering = "AFTER"
side = "BOTH"
🧩 公开 API
ApiTabContributors.register(Supplier<List<ItemStack>>)— 注册要显示在 API 标签页里的物品ApiTabContributors.collectAll()— 收集所有贡献物品(内部使用)
⚠️ 前置要求
- Minecraft:1.21.1
- NeoForge:21.1.188+
- Java:21
📜 许可证
- 资产与代码:MIT License
🙏 作者
- 程序:Steven23334
Project description from CurseForge.
Pick your setup
Steven's API by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
Check the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
Steven's API versions and loaders
steven_mod_api-1.2.0.jar
20 Nov 2026
steven_mod_api-1.1.1.jar
24 Oct 2026
Looking for an older file? The official CurseForge project page is in Resources.