← Назад к ресурсам

Track API

This API is a required mod for Immersive Railroading and other train mods in the future.

Modrinth

Описание

## Summary A simple API to allow mods that interact with track to interoperate. Primarily used by [Immersive Railroading](https://modrinth.com/mod/immersive-railroading). ## Usage (For Developers) Add the maven repository to your build.gradle(.kts) ``` repositories { maven { url = "https://teamopenindustry.cc/maven" } } ``` Then add the API to your `dependencies` block ``` 'trackapi:TrackAPI:${game_version}-${platform}-${mod_version}' ``` For example, if you want to build for Forge 1.12.2, add `implementation 'trackapi:TrackAPI:1.12.2-forge-1.3'`