Jump to content

Custom defence for armour not working


Ginj

Recommended Posts

Spawning in vanilla items with a customised 'armor' attribute through commands does not work. I noticed this problem in a 1.9 version and have tested it in other versions, including the latest and recommended 1.10 versions. I have tested this without any mods except Forge itself installed, and it seems to be a problem stemming from Forge.

 

Here is a screenshot of the problem: http://i.imgur.com/p4ZJ0ZX.png

As you can see, this iron chest plate claims it only provides the +1 defence it was spawned in with, but when worn it actually provides the full 6 defence of a vanilla chestplate. I also tried making an iron chestplate that would provide +1 defence simply if held in the off hand, and while it still claimed to give +1 defence holding it gave no defence increase at all.

 

This is not a purely visual issue, either. The custom items don't provide any modified defence in action. A +1 iron chestplate defends just as much as a vanilla +6 chestplate. I even ramped things up to the extreme just to make sure, by wearing a vanilla diamond chestplate and then getting hit by an iron golem, and then again wearing a custom +300 defence diamond chesplate, and there was no difference in defence.

 

Logs from the latest session of making and testing these custom armours, in the latest version of Forge: http://pastebin.com/MdTw0dRv

Link to comment
Share on other sites

Log file is useless because your issue is not a crash.

Post code.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to comment
Share on other sites

I believe this was moved from 'support & bug reports' inappropriately. I am not talking about custom armour I have modded into the game. I am talking about armour with custom defences made with a /give command. I had hoped that me talking about the armor attribute and showing screenshots would have made that obvious enough.

Link to comment
Share on other sites

Ah.

In which case, yes, it seems like this was moved inappropriately.

As for what you've done: I have no idea. Seems to me like that might be a vanilla bug.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to comment
Share on other sites

There we go. Sorry, I should have been a bit more explicit about this being with attributes/NBT editing and commands.

 

Seems to me like that might be a vanilla bug.

 

Definitely Forge. I've tried this in vanilla and there's no problem.

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.



×
×
  • Create New...

Important Information

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