onMobDrops

Setter/Getter/Method Method Names Names Input/Output
Getter getDamageSource(); damageSource Returns an IDamageSource
Method addItem(IItemStack item); addItem(IItemStack item); Takes an IItemStack
Method addItem(IEntityItem entityItem); addItem(IEntityItem entityItem); Takes an IEntityItem
Getter getLootingLevel(); lootingLevel Returns an Integer
Getter getIsRecentlyHit(); isRecentlyHit Returns an Boolean
Getter getDrops(); drops(); Returns an List of IEntityItem’s
Setter setDrops(); drops(List drops); Takes an List of IEntityItem’s
var test = mods.compatskills.TraitCreator.createTrait("test", 2, 3, "compatskills:banana", 1, "compatskills:banana|5");

test.onMobDrops = function(event as crafttweaker.event.EntityLivingDeathDropsEvent) {
    ...
};