No problem I just wish I knew who I could talk to about this issue :/ it seems that MCPE crashes only when I press the "T" to close the Script ID menu. This leads me to believe it has something to do with the code itself and maybe not the ModPE site.
My MCPE crashes after attempting to load the script ID....
This code should work for IOS
//Made by SeecretCreeper
function useItem(x,y,z,itemId,blockId,side)
{
if(itemId==274)//Stone Pickaxe
{
addItemInventory(46,64); //Adds 64 TNT(46) to the inventory
print("Added 64 TNT to player's inventory.");
}
}
If you wanted you could use Microsoft Expression Web. It allows you to make and save a .js file and also has the highlighted words so you know if its spell right.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Back to modding! Follow me on Twitter @byteandahalf
Back to modding! Follow me on Twitter @byteandahalf
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumYeah. Just get a text editor on Android (Astro File Manager and ES File Manager has built-in versions), and save the output as .js.
If you've received the update to BlockLauncher 1.2.8, you can also use the Import From Clipboard option to import the code from the clipboard.
Back to modding! Follow me on Twitter @byteandahalf
main() {
cout << "LolEpicnessMCVids is on YouTube! " << youtube << " Imagine a little wooden axe here."
}
Back to modding! Follow me on Twitter @byteandahalf
Back to modding! Follow me on Twitter @byteandahalf
Willing to work on Android apps or multi-platform games, see profile bio for information.
Founder and CEO of Temena Development
Twitter: @TemenaPE
Instagram: @ItsLiterallyMath
Back to modding! Follow me on Twitter @byteandahalf
Thanks! I should have noticed that.
Willing to work on Android apps or multi-platform games, see profile bio for information.
Founder and CEO of Temena Development
Twitter: @TemenaPE
Instagram: @ItsLiterallyMath
This code should work for IOS
//Made by SeecretCreeper function useItem(x,y,z,itemId,blockId,side) { if(itemId==274)//Stone Pickaxe { addItemInventory(46,64); //Adds 64 TNT(46) to the inventory print("Added 64 TNT to player's inventory."); } }http://www.minecraftforum.net/topic/1954373-new-modsdiamond-farmupgrade-tools/#entry24067261 Check it out!