Directional Area Damage

Started by Cheesus3000 on

Topic category: Help with modding (Java Edition)

Last seen on 15:43, 2. Oct 2024
Joined Dec 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Directional Area Damage

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.

Last seen on 19:51, 2. Oct 2024
Joined Oct 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
What you can try if checking…
Mon, 07/08/2024 - 21:40

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.