What way will the api for mod be like?
Any proposal of such apis? And how can this project work together with the mod loaders(forge&fabric) which rely on ask mechanism
@lisirrx
Any proposal of such apis?
This question is still discussing by the dev team. (Welcome to our dev QQ group 908918502!)
But basically we will just provide an api like forge or fabric in Javascript or some scripting language (except lua, it has been proofed as a bad choice in Minetest) which is able to compile into WASM.
And how can this project work together with the mod loaders(forge&fabric) which rely on ask mechanism
Does "ask mechanism" mean "observer pattern"?
Our target is not to load minecraft mods in runtime, which means you have to put some effort into modifying the source code of original minecraft mods which are without mixins. We just want this process to be easier.
Thanks for your reply. I made a typo with asm to ask which I refered to the mixin in fabric.
Mods with mixins are not considered to be supported. But maybe we could provide a solution to those mods...
well…… mixin mods are pretty complex, and it contains a lot of java stuf, so just ignore it
Mods with mixins are not considered to be supported. But maybe we could provide a solution to those mods...
也许可以考虑直接运行一个 JVM,然后把 Minecraft 本体中的一些事件映射回 rust,来减小 mixin 的影响?