recoil to items or ranged weapons

Started by Jromo2 on

Topic category: Help with modding (Java Edition)

Last seen on 03:37, 11. Mar 2023
Joined Oct 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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:
  • 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 03:37, 11. Mar 2023
Joined Oct 2018
Points:

User statistics:

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

Last seen on 19:35, 20. Mar 2024
Joined Feb 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i will add the file of the…
Fri, 06/02/2023 - 12:04

i will add the file of the procedure i made just set the speed variable to negative

Knockback Download