Setter/Getter/MethodMethod NamesNamesInput/Output
Setter/Getter/Method
Getter
Method Names
getDamageSource();
Names
damageSource();
Input/Output
Returns a IDamageSource
Copy
var test = mods.compatskills.TraitCreator.createTrait("test", 2, 3, "compatskills:banana", 1, "compatskills:banana|5");

test.onKillMob = function(event as crafttweaker.event.EntityLivingDeathEvent) {
    ...
};