How can I make a ranged weapon deal negative knockback?

Started by UnholyAccountant on

Topic category: Help with modding (Java Edition)

Last seen on 22:03, 29. Dec 2022
Joined Dec 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How can I make a ranged weapon deal negative knockback?

I have an idea for a ranged weapon that pulls enemies towards you, hence the negative knockback, but I don't know how to apply it to the weapon.

If anybody more experienced can help with that, it would be greatly appreciated.