NOTE: I'm currently pausing work on this, I might come back to it in the future. I definitely think trying to support all WASM languages was a mistake, and if I do come back to this, I think I'll just focus on Rust.
Wasm runtime is a mod that executes webassembly modules within minecraft using wasmtime
Since wasmtime is written in rust, to use it, I have to write a native library in rust, which I have to compile to specific platforms.
- Windows
- Mac
- Linux
Mac build is for x86, not arm
Idk, I'll just do whatever seems useful here, I'll probably just copy scarpet...
- Web requests
- Terminal commands?
- File system
Spawning items
Creating loot tables to spawn items from (good for those videos that are like "manhunt but thingy drops op loot")
Some sort of equivalent to Javascript's e.preventDefault()
Manipulating nbt is definitely a must have
You can find documentation in the wiki section
ps if you see weird comments in the source code blame matgenius04