Started by
Airflected
on
Topic category: Help with Minecraft modding (Java Edition)
I've made a scythe, and I want to make it so that, once the player right clicks, a bunch of enemies would be hit in front of them. e.g there are 5 zombies in front of you, you right click, and all 5 are hit. Is there a way to make something like that?
Hmmm ... For example, when you right-click on the air you can launch a fire ball that explodes
No, not exactly. I was thinking they would just take damage when you right click, but using a fireball would work for me too.
bump
When right clicked, you could add a damage potion effect for 1 second (idk exactly the time but you need to make that they take damage once) to all entities in a radius
That’s actually really big brain
Thx Dio
You can do it with direction of you, so it doesn't damage in a radius but damage all entities of front of you.
I don't know how to choose the mobs in front of me, that's what I don't know how to do now.
Help please? ;-;