MicroClazz
ModrinthInstantly compile and load Java classes with in-game commands.
26 downloads 1 followers updated 8mo ago
latest v1.0-SNAPSHOT Modrinth
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
onScriptLoad()– Called when a script is successfully loadedonScriptUnLoad()– Called when a script is unloaded
These hooks let scripts initialize or clean up resources dynamically.

Comments 0
No comments yet. Be the first to share your thoughts.