Started by
littledude47
on
Topic category: Help with Minecraft modding (Java Edition)
I'm making a ranged item and I want it to automatically go towards the nearest entity, how would I do this?
Topic category: Help with Minecraft modding (Java Edition)
I'm making a ranged item and I want it to automatically go towards the nearest entity, how would I do this?
Do on bullet tick update,
if does EntityMonster exist in 5 square cube
deal damage 5 to get EntityMonster exist in 5 square cube.
Sorry for my punctuation errors as I am eating.
that would just instantly kill the mobs nearby I want the projectile to turn its direction towards them
Then just despawn the bullet after that. Beggars can't be choosers.
It just seriously doesn't work, it would greatly lower the quality of the mod if the bullet just flew in a direction disappeared and hit a random mob
that's not really what they were asking
blackhawk71277 then you give him the answer.
https://mcreator.net/forum/66069/need-help-calculating-x-y-z-velocity-angle