Started by
Bobking2010
on
Topic category: Help with Minecraft modding (Java Edition)
I want the player to get knocked back, when using an item (simular to a powerful shotgun recoil, which is used in some games).
Help would be realy much appreciated
on item use, you could add a override movement block which will launch the player in the opposite direction they are looking in the x and z coordinates slots they should also be multiplied by 0.1 or a number of your choice for the strength of the knockback.
But if the player stands still nothing happens
The block works regardless of whether they move or not.