Hello everyone. I just recently learned about treebl's ModPE and I have made some of my own mods with it. Thanks to everyone who have downloaded them! If you want to see all the sources or any unreleased mods check out my GitHub repository https://github.com/z...r/ModPE-Scripts.
Mods: Smelting Touch Smelting Touch does exactly what its name implies; tapping blocks will return the smelted version of them. Touching sand or cobblestone will turn the block into glass or smooth stone, respectively. Touching any ore will give you the product (iron/gold ingot, coal, diamond, etc.) and will revert the ore block into smooth stone. Tapping netherrack gives you a nether brick, wood gives you charcoal, and red mushrooms and cacti will give you dye. https://github.com/z...meltingTouch.js
Simple Commands This one is more of a programming test for me than a regular mod. There is only a "set block" command by using /s <blockname> to set a block of the given type at your feet. It supports some things like snow cover (snow), glowing obsidian (glowingobsidian), invisible bedrock (invisiblebedrock), bedrock (bedrock), and other unobtainable items that you can place in your world without replacing other items in the creative inventory https://github.com/z...mpleCommands.js
Redstone Dust I've been working on this one for a little while, and it still doesn't quite work and has lots of bugs, but I'll release it as soon as possible. Snow cover acts as redstone dust and can take a signal and transfer it to any adjacent snow cover blocks like a chain reaction. Tapping an iron block with an iron sword will give power to any snow cover blocks that are on either of the 4 sides of it. (I'm releasing the download link, but be warned; this is not complete and doesn't fully work). https://github.com/z...ter/Redstone.js
Mods:
Smelting Touch
Smelting Touch does exactly what its name implies; tapping blocks will return the smelted version of them. Touching sand or cobblestone will turn the block into glass or smooth stone, respectively. Touching any ore will give you the product (iron/gold ingot, coal, diamond, etc.) and will revert the ore block into smooth stone. Tapping netherrack gives you a nether brick, wood gives you charcoal, and red mushrooms and cacti will give you dye.
https://github.com/z...meltingTouch.js
Simple Commands
This one is more of a programming test for me than a regular mod. There is only a "set block" command by using /s <blockname> to set a block of the given type at your feet. It supports some things like snow cover (snow), glowing obsidian (glowingobsidian), invisible bedrock (invisiblebedrock), bedrock (bedrock), and other unobtainable items that you can place in your world without replacing other items in the creative inventory
https://github.com/z...mpleCommands.js
Redstone Dust
I've been working on this one for a little while, and it still doesn't quite work and has lots of bugs, but I'll release it as soon as possible. Snow cover acts as redstone dust and can take a signal and transfer it to any adjacent snow cover blocks like a chain reaction. Tapping an iron block with an iron sword will give power to any snow cover blocks that are on either of the 4 sides of it. (I'm releasing the download link, but be warned; this is not complete and doesn't fully work).
https://github.com/z...ter/Redstone.js
Fire Row
Tapping the ground around you with the needed item (currently fire) shoots a row of flames outwards from the player. Not yet complete.
https://github.com/zchbrntmr/ModPE-Scripts/blob/master/FireRow.js
More mods are being worked at the moment and will be released as soon as they are working
Thanks to treebl for creating ModPE scripts and 500ISE for taking it over and making BlockLauncher to support them.
If you find any problems with these mods, please report them on the issue section of the GitHub repo!
And why was it called myY? It has nothing to do with the coordinate Y. I guess you just copied it from 500 Internal Error's examples.
For some reason for loops usually use the variable i (just a note). Thanks for the redstone suggestions
Edit: I'm testing it out right now. Yeah, it crashes when I use a mod with ModPE.setItem(). I will release the mod once that is available.