Hi everyone! This is my first mod so plz no bad comments. If you want to install this mod here is the code
function useItem (x, y, z,itemId, blockId, side)//325
{
if(itemId == 325)//If the item used is a stick
{
var custom = Level.spawnMob(x,y+1,z,11,"cow/char.png"); //spawns mob, variable "custom", and uses the skin char
Entity.setRenderType(custom,3); //changes the rendertype of the mob custom to a player
clientMessage("You have now Spawned Cow Man! LoLz"); //clientmessage sent if item is a stick
}
}
To spawn cow man; tap the ground with a milk bucket!
0
0
0
0
McPe ign: TheGoldenWolf
Why: I can help build the server and I help by kicking: scammers, spammers, liars, people who use cuss words, hacking,
And any people who cause trouble. I'd love to help out!
0
0
1
0
2
0
function useItem (x, y, z,itemId, blockId, side)//325
{
if(itemId == 325)//If the item used is a stick
{
var custom = Level.spawnMob(x,y+1,z,11,"cow/char.png"); //spawns mob, variable "custom", and uses the skin char
Entity.setRenderType(custom,3); //changes the rendertype of the mob custom to a player
clientMessage("You have now Spawned Cow Man! LoLz"); //clientmessage sent if item is a stick
}
}
To spawn cow man; tap the ground with a milk bucket!
0
0
0
0
Thanks!
0