Jump to content

Recommended Posts

Posted

I want to make my own attributes , like damage resistance and stuff like that. I'm loving attribute system , and how it works.So question is - can i make my own attribute?

Posted

no i want them to be added to players , and stuff like that , by myself in mod.I want make items that will give some effects , but i dont want to make own attribute system , if there is alredy one exists ;)

And its good , what i can make that.Can you give example of cheking , does player have attribute or no?

Posted

You will still need to add the attributes to the player somehow, possibly with IExtendedEntityProperties or during EntityConstructing event. As for checking the attributes, just look at any of the vanilla Entity classes and you will see plenty of examples of adding and checking attributes.

you can easy add attributes via potions....Heh , will search if noone know that...maybe will make tuts for people like me :D

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.