damage mobs in an area infront of the player

Started by Nayethunn on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
damage mobs in an area infront of the player

I want to create a horizontal slashing attack on right click for a weapon that damages mobs in an area in front of the player how can I achieve this?

Joined Jul 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Here's an example of code I…
Fri, 11/03/2023 - 00:16

Here's an example of code I came up for ya. Put this in the "when right clicked (entity pos.)" trigger in the sword.""

Joined Sep 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Use New Procedures Plus+…
Sat, 08/10/2024 - 14:42

Use New Procedures Plus+ plugin, it can execute procedures in front of the player