MTR Scripting Tools is a Visual Studio Code extension designed to enhance the development experience for Minecraft Transit Railway (MTR) mod scripting. It provides intelligent code assistance by dynamically loading API definitions to support JavaScript-based MTR scripts.
- TypeScript Support:MTR API completion will also be enabled when you write TypeScript code.
- Compatibility:Fully updated to match the latest Joban Client Mod specifications..
Provides complete code completion for all MTR APIs. Refer to the Official JCM API Document.
The plugin automatically recognizes resource files in the current working directory.
- Multiple Format Support: Supports common MTR resource formats such as
.png,.obj/.bbmodel,.ogg, and.json.
- Code Completion
- Asset Path Auto-completion
- In-game Hot Reload (Coming Soon)
To set up the project for local development:
- Ensure you have Yarn installed.
- Install dependencies:
yarn install. - Compile the extension:
yarn run compile. - Press
F5in VS Code to launch a new window with the extension loaded for testing.

