How to add knockback to a tool

Started by Owl Master on

Topic category: Help with Minecraft modding (Java Edition)

Active 3 years ago
Joined Dec 2021
Points:
503

User statistics:

  • Modifications: 0
  • Forum topics: 3
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 7
How to add knockback to a tool

I'm making a weapon called an Obsidian Crusher and I want it to deal more knockback. I saw that it wasn't in the list of properties, so I tried looking in the procedures, but still can't find anything. Here's what I tried, but it made the mob launch only in one direction, no matter from where you're hitting.

Active 3 years ago
Joined Dec 2021
Points:
503

User statistics:

  • Modifications: 0
  • Forum topics: 3
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 7
Seems like the image link…
Thu, 12/23/2021 - 22:02

Seems like the image link isn't working, but it uses the Attempt to override motion vector of Event/target entity to vx: X velocity of Event/target entity + 1 vy: Y velocity of Event/target entity vz: Z velocity of Event/target entity + 1