onKillMob
Link to onkillmob
Setter/Getter/Method | Method Names | Names | Input/Output |
---|---|---|---|
Setter/Getter/Method Getter | Method Names getDamageSource(); | Names damageSource(); | Input/Output Returns a IDamageSource |
Copyvar test = mods.compatskills.TraitCreator.createTrait("test", 2, 3, "compatskills:banana", 1, "compatskills:banana|5");
test.onKillMob = function(event as crafttweaker.event.EntityLivingDeathEvent) {
...
};