Skip to content

Track API

By cam72camOwner

A compatibility layer for train mods

4.3m downloads Updated

Last update on each platform

No ratings yet

Be the first to rate it.

Rate it

Community listing page

Community listing page, reviews may not be monitored by the author.

About

Description

Summary

A simple API to allow mods that interact with track to interoperate.

Primarily used by 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'

Summary

A simple API to allow mods that interact with track to interoperate.

Primarily used by 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'