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

Started by Rusher on

Topic category: Help with MCreator software

Last seen on 00:33, 7. Nov 2021
Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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