how do i make vanilla mobs forced to be passive to the player in some cases (like holding a item)

Started by dsadasdas on

Topic category: Help with modding (Java Edition)

Last seen on 08:13, 15. Apr 2024
Joined Mar 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how do i make vanilla mobs forced to be passive to the player in some cases (like holding a item)
Wed, 03/27/2024 - 13:07 (edited)

so, this is extremely specific, but how do you do this? the set attack targeting to none in procedures+ wouldnt do it, as they would completely stop attacking anything, also is it possible to do this with other mobs if they have something? i would assume

Edited by dsadasdas on Wed, 03/27/2024 - 13:07
Last seen on 14:04, 11. Apr 2024
Joined Jan 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
so you just want the mob to…
Wed, 03/27/2024 - 12:39

so you just want the mob to be passive toward you ?

Last seen on 08:13, 15. Apr 2024
Joined Mar 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
yes evis
Wed, 03/27/2024 - 13:06

yes evis

Last seen on 08:13, 15. Apr 2024
Joined Mar 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
bump
Wed, 03/27/2024 - 14:16

bump

Last seen on 08:13, 15. Apr 2024
Joined Mar 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
why is nobody seeing this
Wed, 03/27/2024 - 19:13

why is nobody seeing this

Last seen on 03:38, 24. Apr 2024
Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You could try putting the…
Wed, 03/27/2024 - 20:07

You could try putting the entity and the player in the same scoreboard team.