Skip to content

xiangao0904/mtr-scripting-tools

Repository files navigation

MTR Scripting Tools

Page Marketplace GitHub Discord

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.


🚀 What's New in v0.0.3 & v0.0.4

  • 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..

Features

1. Dynamic IntelliSense & Code Completion

Provides complete code completion for all MTR APIs. Refer to the Official JCM API Document.

code

2. Asset Path Intellisense

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.

asset


Todo List

  • Code Completion
  • Asset Path Auto-completion
  • In-game Hot Reload (Coming Soon)

Development

To set up the project for local development:

  1. Ensure you have Yarn installed.
  2. Install dependencies: yarn install.
  3. Compile the extension: yarn run compile.
  4. Press F5 in VS Code to launch a new window with the extension loaded for testing.

About

A Visual Studio Code extension designed to enhance the development experience for MTR mod

Topics

Resources

License

Stars

4 stars

Watchers

1 watching

Forks

Packages

 
 
 

Contributors