Ok, every time I use function newLevel() and try to make a block replace another block I fail. It seems that I cant get the selection of the block coordinates right. I dont understand how you would do this. Say like for example making sponge spawn where leaves would. Any ideas for this airhead?
for(x = 0; x < 257; x++){
for(y = 0; y < 129; y++){
for(z = 0; z < 257; z++){
//Your Code
}
}
}
God dangit BeAtZ. You got my revenge on me Jk
Rollback Post to RevisionRollBack
Make sure you follow me on twitter! @DarkDiaMiner IF I post a mod download it and give me a +1 if you appreciate.
Make sure you give me a suggestion at my WIP topic darkPE
Make sure you click on that +1 button if I help you! ---------------->
Want Custom ModPE functions? Look here -> WolfyPE ModPE functions
xD I know im asking how to do this.
Want Custom ModPE functions? Look here -> WolfyPE ModPE functions
var nX, nY, nZ; function newLevel() { var generate = Level.getTile(nX, nY, nZ); if (generate == 18) { setTile (nX, nY, nZ, 19, 0); } }Im probably missing something derpy or something I shouldn't be
Want Custom ModPE functions? Look here -> WolfyPE ModPE functions
Want Custom ModPE functions? Look here -> WolfyPE ModPE functions
Want Custom ModPE functions? Look here -> WolfyPE ModPE functions
for(x = 0; x < 257; x++){ for(y = 0; y < 129; y++){ for(z = 0; z < 257; z++){ //Your Code } } }Want GUI Templates? Done!
https://github.com/BeATz-UnKNoWN/ModPE_Scripts/wiki/ModPE-Script-Templates
P.S. Feel free to follow me so you know when I post "awesome" content and make the MCForums a brighter place (totally).
If you need to contact me you can either shoot a Kik message to beatz_unknown or send an email to [email protected]
God dangit BeAtZ. You got my revenge on me
IF I post a mod download it and give me a +1 if you appreciate.
Make sure you give me a suggestion at my WIP topic darkPE
Make sure you click on that +1 button if I help you! ---------------->
*facepalm* I knew it was something I shouldnt be missing. Thanks all for the help
Want Custom ModPE functions? Look here -> WolfyPE ModPE functions