Back to 9Minecraft
Wiki 9Minecraft Wiki 9Minecraft
StationAPI Mod Wiki

StationAPI Mod Wiki & Guide

wiki.9minecraft.net/stationapi-mod/

Provides core API and modding framework for extending Minecraft functionality.

Guides

Step-by-step, in-game.

Frequently asked questions

How do I start making a mod with StationAPI?
Create a new Fabric Loader project targeting Beta 1.7.3, add StationAPI as a dependency in your build file, and import the core API classes. You can then register custom blocks and items using StationAPI's registration system in your mod's initialization method.
What's the difference between StationAPI events and vanilla game ticks?
StationAPI events are custom hooks that fire at specific moments (like block placement or player interaction) without requiring tick loops, making your code cleaner and more efficient. Vanilla ticks run every frame regardless, so events let you respond only when something actually happens.
Can I use StationAPI with other mods?
Yes, StationAPI is designed as a shared base layer for Fabric Loader mods on legacy versions. Other mods built on StationAPI can coexist, but mods using different modding frameworks may conflict—check each mod's dependencies first.
How do I save custom data when a player exits a world?
Use StationAPI's world save hooks to write your mod data into the updated save format when the world is saved. Listen for the appropriate save event and serialize your data; StationAPI handles storing it safely in the world folder.

See all 10 StationAPI questions ›