Skip to content

Latest commit

 

History

History
32 lines (19 loc) · 1.47 KB

README.md

File metadata and controls

32 lines (19 loc) · 1.47 KB

MlogWatcher

The Mindustry Mod for developing Mindustry Logic.

Principle

This mod watches for changes to a specific .mlog file (the custom file extension which contains mlog).
When a new compilation is made, the file being watched changes, and the mode detects this and injects the file contents into the selected logic processor.

Config

Because of the principle described above, you must first select the path to the file to be watched before using it.

image

How to use it

just select the processor. that's all!
The processor injector compresses and injects code remotely into the selected processor, so you don't need to enter the canvas or anything like that.

java_jcWgh8Mx2d

if you click the block which isn't the processor, the processor will be unselected.

Demo

Mindustry_zXbYlxGUJJ.mp4

MlogJSWatchTemplate

If you are using mlogjs, I recommend using mlogJSTemplate as the development environment.
This template repository is also ready for watch mode: if you edit and save script.ts, it will automatically compile.
so if you use it with this mod, you have a complete continuous development flow!