CompatSkills

CompatSkills

8M Downloads

[Wiki Suggestion] Custom Trait Documentation

Flytre opened this issue ยท 1 comments

commented

Could you possibly add complete examples of custom traits on the crafttweaker wiki? After reading the section about what to do, I'm still very confused!

commented

Could you possibly help me here? I can get the trait to show up in the gui, I'm just stuck on doing the custom coding for it!
EG this part: trait.onAttackMob = function(event as crafttweaker.event.EntityLivingHurtEvent) {
...
};