bug where the player is looking

Started by nicolaminecraft2 on

Topic category: Help with modding (Java Edition)

Last seen on 14:21, 28. Apr 2024
Joined Jan 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
bug where the player is looking
Thu, 04/25/2024 - 21:42 (edited)

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


 

Edited by nicolaminecraft2 on Thu, 04/25/2024 - 21:42