Is it possible to make a mob attack a player if the player has a specific item in hand/inventory?

Started by OldWizardLvl42 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Is it possible to make a mob attack a player if the player has a specific item in hand/inventory?
Mon, 07/13/2020 - 19:41 (edited)

The title says it all, I'm trying to make a mob that will attack the player if the player has a specific item in their hand/inventory.

Edited by OldWizardLvl42 on Mon, 07/13/2020 - 19:41
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I have the same question :o…
Fri, 08/14/2020 - 13:04

I have the same question :o

But for me, it's a little bit different...

When the player right clik on the mob, it's sending a message. But I would like if it's the 3rd times that the player right click the mob  -> the mob attack the player  (>w<)'

maybe if we connect procedure ?