does anyone know how to make a weapon which pushes entities away?

Started by Flarix on

Topic category: Help with Minecraft modding (Java Edition)

Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
does anyone know how to make a weapon which pushes entities away?

i want to create a spear that, when right-clicked, creates a shockwave and pushes everything away. sadly enough, i only know how to do that with explosions, but they damage blocks and hurt entities (mobs and players). if anyone knows how to either disable the damage or create a different way to push everything away, i would be very grateful.

Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Use "Attempt to overide…
Sat, 11/11/2023 - 08:56

Use "Attempt to overide motion vector of"

Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
thank you!
Thu, 11/23/2023 - 18:04

thank you!

Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I tried using the procedure…
Thu, 06/06/2024 - 16:38

I tried using the procedure but for some reason it only works if i'm facing South or East. If I'm facing North or West, it brings the mobs towards me instead.