Back to mods
Steven's API project artwork

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.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Steven's API release should I use?

Updated today
Latest stable file steven_mod_api-1.2.0.jar
Game version 1.21.1
Loader NeoForge

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.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release NeoForge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

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.

No extra mods listed for this file

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.

  1. 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.

  2. 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.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 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.

Available on GitHub

📦 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 tab
  • ApiTabContributors.collectAll() — Collect all contributed items (internal use)

⚠️ Requirements

  • Minecraft: 1.21.1
  • NeoForge: 21.1.188+
  • Java: 21

📜 License

🙏 Authors

- Programmer: Steven23334

Steven's API(中文)

一个个人向的 NeoForge 前置 API 库,用于在我的其他模组之间共享公共代码(如物品标签页、工具类等)。

Available on GitHub

📦 功能

  • 物品标签页贡献 子模组可以把物品注册进本 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

📜 许可证

🙏 作者

  • 程序: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.

1 available setups

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

2 of 2 releases match

Looking for an older file? The official CurseForge project page is in Resources.