Started by
Kierubellas
on
Topic category: Help with Minecraft modding (Java Edition)
(excuse my bad english)
For some reason the projectile goes in random directions, except where the entity is looking
The Triggers is entitty tick update
One detail I forgot to mention, this is for an entity melee
Add the shooter on the shoot code block. Change it to event target entity.
Same thing.
When the entity is stationary, the shot always comes from the same place, in the same direction, no matter where it's looking. When it's chasing me, the shots change direction
Try changing the dy, dx, and dz to just x, y and z blocks.
Now he only shoots in one direction, not where he's looking
Make It so the shoot from block is now a shoot from entity block.
Did it work? Or do you need some more help?