I want to damage a hostile mob if they are in an area 6 blocks from the player on item use.

Started by TheEpikDude67 on Mon, 10/14/2019 - 00:29

Topic category: Help with MCreator modding

Last seen on 21:43, 21. Nov 2019
Joined Dec 2014
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
I want to damage a hostile mob if they are in an area 6 blocks from the player on item use.
Mon, 10/14/2019 - 00:29

I was looking around the entity procedures and I can't seem to find a solution for this.  Can anyone help me with this?

Last seen on 01:24, 22. Nov 2019
Joined Nov 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Why not just have your…
Mon, 10/14/2019 - 01:29

Why not just have your procedure execute a command?

I know there will be better workarounds but this is a simple option since you can still choose the damage amount if you know a bit about potion effects, and distance is an option when using commands..

Last seen on 21:43, 21. Nov 2019
Joined Dec 2014
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
How would I go about using…
Mon, 10/14/2019 - 18:20

How would I go about using cooldowns?

Last seen on 03:09, 22. Nov 2019
Joined Feb 2016
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
I believe they are going to…
Sun, 10/27/2019 - 20:37

I believe they are going to add a range option in the next version.