A lot of people have been asking me to add some sort of timer support to ModPE, so instead I wrote this library, which supports setTimeout and setInterval. Note that they take the number of ticks to wait for, not the number of milliseconds, like browser JavaScript.
commands in the demo script:
/timer repeat 20
prints a message every 20 ticks (1 second)
/timer once 100
prints a message after 5 seconds
/timer cancel
cancels the current timer
/countdown 5
starts a countdown from 5.
A lot of people have been asking me to add some sort of timer support to ModPE, so instead I wrote this library, which supports setTimeout and setInterval. Note that they take the number of ticks to wait for, not the number of milliseconds, like browser JavaScript.
commands in the demo script:
/timer repeat 20
prints a message every 20 ticks (1 second)
/timer once 100
prints a message after 5 seconds
/timer cancel
cancels the current timer
/countdown 5
starts a countdown from 5.
amazing as always. But you need to add data values. Also can I use this for a mod I'm making?
Since I didn't write much code, but basically copied MineAssemble code, you'll have to follow their license, which consists of including their license in the code.
You are free to use anything I wrote in the file.
Since I didn't write much code, but basically copied MineAssemble code, you'll have to follow their license, which consists of including their license in the code.
You are free to use anything I wrote in the file.
the vehicl mod is not working it just tunnels downcan u fix it to where we control it
like arrow down it goes dow doubble tap jump we fly and basic turn left and right
-
View User Profile
-
View Posts
-
Send Message
Curse Premiumcommands in the demo script:
/timer repeat 20
prints a message every 20 ticks (1 second)
/timer once 100
prints a message after 5 seconds
/timer cancel
cancels the current timer
/countdown 5
starts a countdown from 5.
https://raw.github.com/zhuowei/ModPEScripts/master/500ise_timer.js
This script is released into the public domain: you can do whatever you want with it.
-
View User Profile
-
View Posts
-
Send Message
Curse Premium/paintbrush
then hold a block.
https://raw.github.com/zhuowei/ModPEScripts/master/500ise_paintbrush.js
Credits to https://github.com/Overv/MineAssemble/blob/master/reference/src/mineassemble.c , http://gamedev.stackexchange.com/questions/47362/cast-ray-to-select-block-in-voxel-game , and http://stackoverflow.com/questions/1568568/how-to-convert-euler-angles-to-directional-vector
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumSince I didn't write much code, but basically copied MineAssemble code, you'll have to follow their license, which consists of including their license in the code.
You are free to use anything I wrote in the file.
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumWhen is Final Release Being pushed to Market?
-
View User Profile
-
View Posts
-
Send Message
Curse Premiumin minecraft pocketdition 0.8.1 version.
Here is one more hope.
I wanna stained glass mod same effect this
ex)red,orange,yellow etc..glass
like arrow down it goes dow doubble tap jump we fly and basic turn left and right
It doesn't do beet thing on mine.
Please help me dowload