I'm teaching myself how to write a Mod in JavaScript for MCPE Andriod version 0.10.5. The mod is for my son, who plays mainly in Creative mode. I found a list of functions available from an early post in the forum:
I also read in a different post that function useItem is only available in Survival mode. Has anyone identified which functions are available in Creative mode and which are only available in Survival mode.
just Import it in BlockLauncher. Now you can go into a world and test wich actions call a hook. the script saves a text file with the Name "log hooks.txt". In this file you can see a list of all the hooks that were called when you last played.
You can get a more updated list of functions by opening BlockLauncher's Launcher Options, selecting Nerdy Stuff, then selecting Dump ModPE Script Methods.
Rollback Post to RevisionRollBack
Follow me: @1x3y5
To post a comment, please login or register a new account.
I'm teaching myself how to write a Mod in JavaScript for MCPE Andriod version 0.10.5. The mod is for my son, who plays mainly in Creative mode. I found a list of functions available from an early post in the forum:
http://www.minecraftforum.net/forums/minecraft-pocket-edition/mcpe-mods-tools/mcpe-mod-tool-help-requests/1988931-list-of-android-modpe-functions
I also read in a different post that function useItem is only available in Survival mode. Has anyone identified which functions are available in Creative mode and which are only available in Survival mode.
Thanks.
I made a small script that let you test when wich hook is called: https://www.dropbox.com/s/fcti4vi85055rjb/hook_test.js?dl=0
just Import it in BlockLauncher. Now you can go into a world and test wich actions call a hook. the script saves a text file with the Name "log hooks.txt". In this file you can see a list of all the hooks that were called when you last played.