Started by
Cheesus3000
on
Topic category: Help with Minecraft modding (Java Edition)
Is it possible to make entities within a certain area in the direction the player is looking at take damage, without using custom code? Basically what I'm trying to make is a weapon that, when right-clicked, triggers a special powerful swinging animation that deals damage in a semicircle in the direction the player is facing. I have the animation and damage values all figured out, it's just the area damage I need help with.
What you can try if checking if a living entity exists in a ___ square. Then check if the entity is has a greater or less x or z position depending on where you are facing. Does that make sense? Or maybe you could just shoot a bunch of invisible projectiles.