I think you know that answer.
If you are beginner than PM me some time and i will train you MCPE coding!
Only 10 may join.
Currently there are 0 members.
I am pretty sure there is not "spawnZombie" function... This is what you want:
function useItem(x,y,z,itemId,blockId,side){
if(blockId==87){ //Netherrack
Level.spawnMob(x, y+2, z, 32); //Spawns the mob 2 blocks above the block you tapped so it doesn't suffocate. 32 is the ID of a zombie
}
}
I think you know that answer.
If you are beginner than PM me some time and i will train you MCPE coding!
Only 10 may join.
Currently there are 0 members.
Are you trying to say that it would work!? Wow....
function useItem(x,y,z,itemId,blockId,side)
{
if(blockId==87)//Tap Nether Rack
{
spawnZombie(x, y, z, 87, "mob/Zombie.png");
Want Custom ModPE functions? Look here -> WolfyPE ModPE functions
function useItem(x,y,z,itemId,blockId,side)
{
if(itemId == 0)
{
spawnZombie(x, y, z,"mob/Zombie.png");
}
}
Better lol
If you are beginner than PM me some time and i will train you MCPE coding!
Only 10 may join.
Currently there are 0 members.
Are you trying to say that it would work!? Wow....
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]