MCPcopy Index your code
hub / github.com/ModificationStation/StationAPI

github.com/ModificationStation/StationAPI @1.3.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release 1.3.1 ↗ · + Follow
1,355 symbols 2,957 edges 282 files 19 documented · 1%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

StationLoader API for Minecraft Beta 1.7.3 BIN Fabric

StationLoader is a new mod loader for Legacy Minecraft that aims to make mods compatible on both client and server without needing seperate verisons for each, along with tools so mod developers no longer need to edit Minecraft's base classes.

Plugin Setup

Extra steps for better Mixin making and Fabric configuring in IntelliJ IDEA:

  1. Go to File > Settings...
  2. Go to Plugins and install the Minecraft Development plugin.
  3. Restart IntelliJ IDEA.
  4. Follow the instructions in Using This to Make Mods.
  5. Profit!

Using This to Run Mods

You will want to install the Cursed Fabric MultiMC Instance and download the latest release of StationLoader.
Put the downloaded StationLoader jar into your mods folder, do NOT add as a jar mod.

Using This to Make Mods

If you havent already, grab a copy of the BIN Fabric Example Mod, extract it somewhere and open it in InteliiJ.

Add this to your build.gradle in the SECOND repositories entry (~line 33):
maven { url "https://maven.glass-launcher.net/repo"}

Then add this to the end of your dependencies (~line 68):
modImplementation "net.modificationstation:StationLoader:1.3:dev"

You will likely also want to install HMI-Fabric (unofficial port to SL by calmilamsy) for debugging your items and recipes.
If so, download the latest -dev jar for HMI from here and put it in your run/mods folder.

Then reimport your Gradle project.

Proper code documentation coming soon. There are some JavaDoc comments for some commonly used classes such as ItemRegister and BlockRegister.

Common Issues

If you are having any issues with setting up StationLoader or the example mod, have a look at the BIN Fabric Example Mod's readme entry for common issues.

License

StationLoader is available under the CC0 1.0 Universal License. Feel free to learn from it and incorporate it in your own projects.

Extension points exported contracts — how you extend this code

ItemNameSet (Interface)
(no doc) [5 implementers]
src/main/java/net/modificationstation/stationloader/api/common/event/item/ItemNameSet.java
BlockNameSet (Interface)
(no doc) [5 implementers]
src/main/java/net/modificationstation/stationloader/api/common/event/block/BlockNameSet.java
ToolLevel (Interface)
(no doc) [4 implementers]
src/main/java/net/modificationstation/stationloader/api/common/item/tool/ToolLevel.java
RecipeRegister (Interface)
Event called after one of vanilla recipes system got initialized (CRAFTING_TABLE, FURNACE, etc) args: RecipeRegister.Ty [2 …
src/main/java/net/modificationstation/stationloader/api/common/event/recipe/RecipeRegister.java
ThenBuilder (Interface)
(no doc) [4 implementers]
src/main/java/uk/co/benjiweber/expressions/InstanceOf.java

Core symbols most depended-on inside this repo

get
called by 110
src/main/java/uk/co/benjiweber/expressions/properties/Readonly.java
getPlayerBases
called by 101
src/main/java/net/modificationstation/stationloader/api/common/entity/player/HasPlayerHandlers.java
apply
called by 86
src/main/java/uk/co/benjiweber/expressions/functions/TriFunction.java
size
called by 58
src/main/java/uk/co/benjiweber/expressions/collections/ForwardingList.java
getLogger
called by 49
src/main/java/net/modificationstation/stationloader/api/common/util/ModCore.java
comparee
called by 36
src/main/java/uk/co/benjiweber/expressions/caseclass/constructor/ForComparing.java
getInvoker
called by 34
src/main/java/net/modificationstation/stationloader/api/common/event/Event.java
add
called by 33
src/main/java/uk/co/benjiweber/expressions/collections/ForwardingList.java

Shape

Method 1,017
Interface 201
Class 133
Enum 4

Languages

Java100%

Modules by API surface

src/main/java/net/modificationstation/stationloader/mixin/common/MixinPlayerBase.java61 symbols
src/main/java/net/modificationstation/stationloader/impl/common/entity/player/PlayerAPI.java51 symbols
src/main/java/net/modificationstation/stationloader/api/common/entity/player/PlayerHandler.java51 symbols
src/main/java/uk/co/benjiweber/expressions/caseclass/Case.java41 symbols
src/main/java/uk/co/benjiweber/expressions/exceptions/Result.java28 symbols
src/main/java/uk/co/benjiweber/expressions/collections/ForwardingList.java27 symbols
src/main/java/net/modificationstation/stationloader/impl/client/texture/TextureRegistry.java21 symbols
src/main/java/net/modificationstation/stationloader/impl/common/packet/CustomData.java19 symbols
src/main/java/net/modificationstation/stationloader/api/client/texture/TextureRegistry.java19 symbols
src/main/java/uk/co/benjiweber/expressions/InstanceOfMethodReference.java17 symbols
src/main/java/net/modificationstation/stationloader/mixin/client/MixinTileRenderer.java16 symbols
src/main/java/uk/co/benjiweber/expressions/Try.java15 symbols

For agents

$ claude mcp add StationAPI \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact