bug where the player is looking

Started by nicolaminecraft2 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jan 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
bug where the player is looking

from the image, you can see that im trying to make something similar to a sonic boom appear when right clicked with an item, ti works, the part that dosen't however is the direction of the sonic boom itself, i also can't get it to make damage when it hits something. i tried inserting pretty much anything in "with vx, vy, vz," but it either desen't work or it makes the game straight up not load and it tells theres a but with the code, any ideas on how to fix it? 

https://ibb.co/9qRP7TR