zhuowei/MCPELauncher

ModPE JavaScript Question

Opened this issue · 4 comments

Is there a way to run in my one file main.js a function from modul.js?
I'm thinking of an API but therefore i must have a way to run my function from another file
Thanks for all answers

I know that blocklauncher doesn't set ModPE JavaScript Api like stuff but i need an idea and dont know who to ask

there is a way, I don't remember it, but I am pretty sure I did it in my Super Door Operator mod.

Where can I find your Mod? - I would take a look at it is it on Github?