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'
How to Install Track API (Mod)
Track API by cam72cam is verified for Forge, Neoforge across Minecraft versions 1.10.2, 1.11.2, 1.12.2, 1.14.4, 1.15.2, 1.16.4, 1.16.5, 1.17.1 (latest release: 1.21.1-forge-1.3, file size: 9 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.10.2, 1.11.2, 1.12.2, 1.14.4, 1.15.2, 1.16.4, 1.16.5, 1.17.1) and platform (Forge, Neoforge).
- Make sure you have the compatible loader or environment installed for Forge, Neoforge.
- Move the downloaded Track API file into your Minecraft
.minecraft/modsfolder and launch the game.
All Versions
+ Add Version- Added
ITrackV2interface to allow more interactions between trains and tracks