Also, I have two more questions. Can I use the deathHook function for a specific mob type E.g.-Zombie, cow, skellie, spider, etc... This an example that I think would work.
ModPE.setItem(500,"blaze_rod",0,"Blaze Rod");
function deathHook(attacker,victim){
if(victim==zombie){
Level.dropItem(Entity.getX(victim),Entity.getY(victim),Entity.getZ(victim),1,500);
}
}
My second question is can I make custom mobs without changing an original mobs skin?
Rollback Post to RevisionRollBack
Friend me on Tribal Wars, my name is iJoK3zv4 on there, and I'm playing on W13 only right now.
Soon to be ModPE Script Developer.
var whatRules = "OnlyJustinn";
print(whatRules + " rules");
To post a comment, please login or register a new account.
Soon to be ModPE Script Developer.
Thanks man. +1 for helping me.
Soon to be ModPE Script Developer.
ModPE.setItem(500,"blaze_rod",0,"Blaze Rod"); function deathHook(attacker,victim){ if(victim==zombie){ Level.dropItem(Entity.getX(victim),Entity.getY(victim),Entity.getZ(victim),1,500); } }My second question is can I make custom mobs without changing an original mobs skin?
Soon to be ModPE Script Developer.