Topic category: Help with modding (Java Edition)
In my mod I want stuff like player teleporting where they looks and explosions there they look but don't know how. I have searched on the website about thing like raytrace but I realised if I, say, made the player move 5 blocks in their x raytrace, it means that they would be teleporting backwards or sideways if they are facing like z or away from x. This also means that if the player is looking partially up or down they still will only go in one direction. I am really stumped and don't know how to code. Please help or add a new feature in the procedure maker!