How i can make a sword that blocks like a shield?

Started by Kozzy. on

Topic category: Help with modding (Java Edition)

Last seen on 21:41, 15. Aug 2024
Joined Jan 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How i can make a sword that blocks like a shield?

Im creating a double-handed sword and i want it to have a block mechanic like the shield, but i cant figure a way to do it.

Last seen on 20:10, 17. Oct 2024
Joined Oct 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Here's what I've found. If…
Wed, 07/10/2024 - 23:22

Here's what I've found. If you make a custom shield, you can use the on tool hits living entity procedure to make it deal damage.