Mine doesn't work on iOS? But I thought ModPE scripts are universal!
2 Problems:
Math.min and Math.max don't work on iOS and for whatever reason preventDefault(); doesn't prevent a hoe from hoeing on iOS. Thats why i released a universal script :3
function getPlaceAgainstCoords(x, y, z, side) {} <-- DAT FUNCTION !!!!
could you spoil some more information (or is it released and)
2 Problems:
Math.min and Math.max don't work on iOS and for whatever reason preventDefault(); doesn't prevent a hoe from hoeing on iOS. Thats why i released a universal script :3
I talked to treebl about exposing the side of the block that the player clicked on, and he agreed.
The side is in Minecraft format-a number from 0-5-, and is also used by the Pi protocol. See there for documentation.
Here are some scripts I made for Treebl's ModPE Script Runtime.
These are tested on BlockLauncher's implementation of ModPE Script on a Nexus 7 (2012).
Installation:
To use the scripts on this page, you must first install an implementation of ModPE Script.
On iOS, Treebl maintains the official version of ModPE for jailbroken iOS devices.
On Android, BlockLauncher can run ModPE scripts in the latest beta.
Then, to import a script into ModPE:
- Open the link on this page
- Copy everything from the page into Treebl's ModPE script editor at http://modpe.cf.gy/modEditor.html
- There will be an ID on the top right corner, for example,
"Your Script ID is: 1bf1".
- On your mobile device, open your ModPE implementation and import that ID.
- To do so in BlockLauncher:
-- tap the wrench icon, then Launcher Options, then Manage Scripts.
-- In the scripts list, select Import, choose Treebl's Official Repo, and type in your ID.
-- Hit OK and the script should load.
Alternately, if you are using BlockLauncher:
- Long-press the link on your mobile device, and select "Copy link address"
- Open BlockLauncher, tap the wrench icon, then Launcher Options, then Manage Scripts
- In the scripts list, select Import, choose Web Address
- Paste the address in the text box
- Hit OK and the script should load.
Feel free to study and modify these scripts! These are licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported license, which means that, if you use part of my script, you should credit me, and allow other people to learn and modify your scripts too! That way, everybody learns.
Feel free to redistribute these scripts. As long as attribution is given (a thread link would be awesome), you can redistribute them according to the above license.
Requires BlockLauncher 1.2.7 Beta 9.
Tap to ride a mob. Hold the ores available in the creative inventory to control the mob.
This requires you to be in creative mode.
Requires ModPE Script 0.2/BlockLauncher 1.2.7 Beta 8 or above.
- First, use an iron hoe to tap the first block you want to select
- Then, tap it on the second block
- Tap the ground holding the block that you want replaced, or tap the block you want replaced while holding any item.
- Finally, tap the ground with the block that you want to replace blocks with. If you want air, tap the ground with any item (such as a sword).
- Blocks will be replaced between the two points.
Requires ModPE Script 0.2/BlockLauncher 1.2.7 Beta 8 or above.
Copies cuboid regions.
- First, use an iron hoe to tap the first block you want to select
- Then, tap it on the second block
- The area is copied
- To paste, right-click the ground with seeds in hand
Creates cuboids from two selection points.
- First, use an iron hoe to tap the first block you want to select
- Then, tap it on the second block
- Finally, tap the ground with the block that you want the cuboid to be made of. If you want air, tap the ground with any item (such as a sword).
- A cuboid will be created with your selected material between the two points.
I've also started a shared ModPE script repository - if you have a script, why not contribute it there?
function getPlaceAgainstCoords(x, y, z, side) {} <-- DAT FUNCTION !!!!
could you spoil some more information (or is it released and)
2 Problems:
Math.min and Math.max don't work on iOS and for whatever reason preventDefault(); doesn't prevent a hoe from hoeing on iOS. Thats why i released a universal script :3
I found a bug in the fly on mob script,
if you go up and then fall down so the mob dies and than quickly go up again, the game crashes.
I'll check that out. Thanks.
Edit: that's to be expected, as BlockLauncher is trying to change the speed of an entity that doesn't exist - which of course corrupts memory, leading to a crash.
how do you reference yourself in setVelY(ent,vel) what would I put as ent for making myself go up with velocity, what am I called? I am a noob coder...
how do you reference yourself in setVelY(ent,vel) what would I put as ent for making myself go up with velocity, what am I called? I am a noob coder...
getPlayerEnt()
Also, try taking a look at some JavaScript tutorials(Codecademy and JavascriptKit both have OK ones), and the example scripts.
I havn't got a clue as to how to make modscripts...But anyway, 500 Internal Server Error, I officially dub you one of the elite geniuses on these here minecraft forums.
I like the elevator mod the best!(The one with cake and eggs)
Rollback Post to RevisionRollBack
Quote from Lincsbro, in his tome of wisdom, »
Thou shalt play Zelda, but give all of thy rupees to Lord Lincsbro.
Mind-Blowing, isn't it?
To post a comment, please login or register a new account.
you gonna try this 500ISE?
Follow @Darth377Apps
Please check out my Twitter account!

I have been working on a few games!
Give me ALL THE INTERNETS!
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumMine doesn't work on iOS? But I thought ModPE scripts are universal!
The iOS ModPE doesn't have a getTile method, so this won't work.
IM A PATATO
LALALALALALA
YEAH
i dont even know
Follow @Darth377Apps
Please check out my Twitter account!

I have been working on a few games!
Give me ALL THE INTERNETS!
... What in Gandaulf's name am I smoking?
function getPlaceAgainstCoords(x, y, z, side) {} <-- DAT FUNCTION !!!!
2 Problems:
Math.min and Math.max don't work on iOS and for whatever reason preventDefault(); doesn't prevent a hoe from hoeing on iOS. Thats why i released a universal script :3
Proud to be a Miner...
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumI talked to treebl about exposing the side of the block that the player clicked on, and he agreed.
The side is in Minecraft format-a number from 0-5-, and is also used by the Pi protocol. See there for documentation.
kivifreak, i hate your signature...
Follow @Darth377Apps
Please check out my Twitter account!

I have been working on a few games!
Give me ALL THE INTERNETS!
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumAlso, in related news, BlockLauncher 1.2.7 released.
I'll check that out. Thanks.
Edit: that's to be expected, as BlockLauncher is trying to change the speed of an entity that doesn't exist - which of course corrupts memory, leading to a crash.
==Again with the "Please help me test ... " :)==
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumCheck out my game! It's an open-world, sandbox text adventure.
Follow @hexdro_
Hexdro © 2012-2015
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumCheck out my game! It's an open-world, sandbox text adventure.
Follow @hexdro_
Hexdro © 2012-2015
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumAlso, try taking a look at some JavaScript tutorials(Codecademy and JavascriptKit both have OK ones), and the example scripts.
I like the elevator mod the best!(The one with cake and eggs)