Sword Doesn't Block

Started by termanator1128 on Sun, 10/09/2016 - 06:35

Topic category: Help with MCreator modding

Last seen on 19:36, 10. Oct 2016
Joined Oct 2016
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Sword Doesn't Block
Sun, 10/09/2016 - 06:35

Hi, so I made a sword but when I right click it, it doesn't block with it.

So what do I need to do to make it so it can block?

Thanks

Last seen on 19:13, 5. Jul 2019
Joined Oct 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
If you are in a MCreator
Sun, 10/09/2016 - 13:37

If you are in a MCreator version for +1.9 Minecraft, the swords doesnt block anymore. Thats why there is shields

Last seen on 19:36, 10. Oct 2016
Joined Oct 2016
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Yes, I know im not stupid. I
Sun, 10/09/2016 - 18:42

Yes, I know im not stupid. I know how Minecraft works.The question was how do you make a sword block not how does a sword work in 1.9

Last seen on 22:00, 11. Nov 2019
Joined Aug 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
You said, and I quote "Hi, so
Mon, 10/10/2016 - 14:09

You said, and I quote "Hi, so I made a sword but when I right click it, it doesn't block with it." Suggesting to others that you do in fact not understand the sword mechanics in minecraft beyond version 1.9

Nobody said you were stupid, so please don't be rude to people trying to help you based on the information you yourself gave us to work with.

Making a sword with the ability to block like older versions requires coding custom rendering (that can be taken from the source code of pre 1.9 swords and related methods) and custom events and conditions including a left click event, since mCreator doesnt support the making of shields yet. 

tldr; mCreator can not yet easily do this, you'd be better of: downgrading, waiting, or using Java developers enviroment and Eclipse to code it yourself.