recoil to items or ranged weapons

Started by Jromo2 on Fri, 01/29/2021 - 02:14

Topic category: Help with modding (Java Edition)

Last seen on 08:37, 4. Apr 2021
Joined Oct 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
recoil to items or ranged weapons
Fri, 01/29/2021 - 03:06 (edited)

How do you add recoil to ranged items when used? I just want the player to be sent in the opposite direction that he's facing. I made an item in my other mod that sends you in the direction the player is facing but I do not know how to make it in the opposite direction.

Edited by Jromo2 on Fri, 01/29/2021 - 03:06
Last seen on 19:15, 17. Mar 2021
Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
just do teleport x -3y z i…
Thu, 02/18/2021 - 19:12

just do teleport x -3y z i wish they had a move block or something :(

Last seen on 08:37, 4. Apr 2021
Joined Oct 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
But they have "set event…
Sun, 03/07/2021 - 05:45

But they have "set event/target entity movement vector to 'x' 'y' 'z'" which i think is what you're looking for..