If entity is hit with [item], do...

Started by Rusher on Fri, 01/24/2020 - 20:16

Topic category: Help with MCreator's application

Last seen on 15:35, 18. Feb 2020
Joined Nov 2019
User points:

User statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
  • Tracker tickets:
  • Mods of the week:
If entity is hit with [item], do...
Fri, 01/24/2020 - 20:17 (edited)

Hey, im trying to do a procedure like this: When entity is hurt, do: If item in players main hand is [item] do... My problem is that there is no [item in players main hand], but just a [item in entities main hand] procedure. So when I use the [item in entities main hand] procedure, it checks if the attacked entity has this item in his main hand (Or so i think it does).

Am I wrong, have I missed something or is there another way to do this?

 

Thanks in advance and sorry if my english isn't that good.

Edited by Rusher on Fri, 01/24/2020 - 20:17
0Upvote this forum topic