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

Started by Kozzy. on

Topic category: Help with Minecraft modding (Java Edition)

Active 8 months ago
Joined Jan 2024
Points:
122

User statistics:

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

Active 3 months ago
Joined Oct 2023
Points:
267

User statistics:

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