Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Wiki Suggestion] Custom Trait Documentation #87

Open
Flytre opened this issue Oct 21, 2018 · 1 comment
Open

[Wiki Suggestion] Custom Trait Documentation #87

Flytre opened this issue Oct 21, 2018 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed Low Priority

Comments

@Flytre
Copy link

Flytre commented Oct 21, 2018

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!

@Lanse505 Lanse505 added enhancement New feature or request help wanted Extra attention is needed Low Priority labels Oct 21, 2018
@Flytre
Copy link
Author

Flytre commented Oct 22, 2018

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) {
...
};

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed Low Priority
Projects
None yet
Development

No branches or pull requests

2 participants