Hello everyone! I'm Frassomo, I'm new to the Minecraft Forums and this is my second Thread. The other thread was about a Map called Villager Survival. This is my first mod so please don't expect much, I now a bit of JavaScript and you need Block launcher to run this. It contains only a few lines of code and was too easy to make.
Have you tried your mod? If yes, did it work? It sadly does not work for me, but there's a fix. Here's the new 1 : Works for me
var t = 0;
function modTick() {
if ((t++) % 20 == 0){ ModPE.showTipMessage("0.9.0 Alpha Build"); }
}
What does the % mean ? Actually, what does this code do ? thx in advance ^^
% means if (t++) is divided by 20, the answer is 0, then execute something. I think so. And this mod just adds a showTipMessage that this is 0.9.0, from people's video, when they are playing 0.9.0, there is a message saying it is 0.9.0.
Hello everyone! I'm Frassomo, I'm new to the Minecraft Forums and this is my second Thread. The other thread was about a Map called Villager Survival. This is my first mod so please don't expect much, I now a bit of JavaScript and you need Block launcher to run this. It contains only a few lines of code and was too easy to make.
Here's the link:
V 1 - https://www.dropbox.com/s/bggje0dboa11775/Fake0.9.0.js
V 2 - https://www.dropbox.com/s/id5rxe51s4afnc2/Fake 0.9.0.js
Thanks PEModder!
Enjoy!
function modTick() {
if ((t++) % 20 == 0){ ModPE.showTipMessage("0.9.0 Alpha Build"); }
}
% means if (t++) is divided by 20, the answer is 0, then execute something. I think so. And this mod just adds a showTipMessage that this is 0.9.0, from people's video, when they are playing 0.9.0, there is a message saying it is 0.9.0.
Hey, when is your birthday? Idk. But nvm, I treat this as a last years belated present. I've improve your mod. Well, if you want it, you can download here : https://www.dropbox.com/s/id5rxe51s4afnc2/Fake 0.9.0.js