MicroClazz
Instantly compile and load Java classes with in-game commands.
Quick challenge
How far can you run before the mobs catch you?
Minecraft check
Confirm your run
Complete the quick check to get your code.
MicroClazz
MicroClass adds in-game commands for compiling and loading java class on fly.
``` /microclazz load <filePath> ``` - Load a class from a .class or .java file.
*Tip: There are example Java scripts you can try yourself to see how it works!* ``` /microclazz unload <filePath> ``` - Unload a previously loaded class.
``` /microclazz invoke <filePath> <method> ``` - Invoke a method from a loaded class.
``` /microclazz list ``` - List all currently loaded classes.
There's examples java you can try yourself.
Script Lifecycle
- `onScriptUnLoad()` – Called when a script is successfully loaded - `onScriptUnLoad()` – Called when a script is unloaded
> These hooks let scripts initialize or clean up resources dynamically.