Started by
Jromo2
on
Topic category: Help with Minecraft modding (Java Edition)
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.
You could use set movement vector or set entity location procedure blocks for this
Yes but i do not know how to make it relative to the players pitch and yaw. I only know how to set the players velocity to a specific x y or z. I want to make it push you the opposite way you're looking.
well than do negative values