This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumI need help at a mod (for android with javascript) which should change the texture of Acacia-leaves ~5 times per second. I thought of a mod using modTick and ModPE.overrideTextures. If it is not possible so, please tell me how. Maybe so:
modTick{
ticks++;
if(ticks==4){
ModPE.overrideTextures(“images/mob/Acacia-leaves.png“, “http://www.example.com/picture.png“);
}
if(ticks==8){
ModPE.overrideTextures(“images/mob/Acacia-leaves.png“, “http://www.example.com/picture2.png“);
}
if(ticks==12){
ModPE.overrideTextures(“images/mob/Acacia-leaves.png“, “http://www.example.com/picture3.png“);
}
if(ticks==16){
ticks = 0;
ModPE.overrideTextures(“images/mob/Acacia-leaves.png“, “http://www.example.com/picture4.png“);
}
}
Thanks for any help and sorry for so much questions in last time
Didn't knew that url exists really haha