Jump to content

Sword blocking damage


nicopapy

Recommended Posts

Hi all,

I made a custom sword, extended of ItemSword, and i would like to know how may i increase its blocking effect when i'm on an armor Position (when you right click). The classic sword blocks small damage, how can i make mine blocks more ?

Thanks !

Link to comment
Share on other sites

This function is used to know if the item itself is getting damages and has to be broken or not, isn't it ? I'm not sure to understand this function, is this the correct one to make my sword to be used like a shield (i want if i'm using it in armor position, it blocks almost all damages i could take from mobs).

Thanks :D

Link to comment
Share on other sites

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.