Sword Doesn't Block

Started by termanator1128 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Oct 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Sword Doesn't Block

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

Joined Oct 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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

Joined Oct 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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

Joined Aug 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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.