How to add knockback to a tool

Started by Owl Master on

Topic category: Help with modding (Java Edition)

Last seen on 03:42, 7. May 2022
Joined Dec 2021
Points:

User statistics:

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

Last seen on 03:42, 7. May 2022
Joined Dec 2021
Points:

User statistics:

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