Started by
nicolaminecraft2
on
Topic category: Help with Minecraft modding (Java Edition)
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?
You're lucky i just did a weapon that shoot a sonic boom for my mod ! So here how you can do :
https://ibb.co/bbH6CQB
I send you a simplified version of the code because mine originaly had damage redution over distance, cooldown and ammunition. Don't hesitate to ask any question if you want one of these
Tysm!