Entity to target player only if it has a certain effect

Started by CalamitusXIII on

Topic category: Help with modding (Java Edition)

Last seen on 15:43, 26. Apr 2024
Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Entity to target player only if it has a certain effect

I'm trying to make a neutral entity turn hostile with provocation if the player has a certain effect.

This is the current procedure I am using:
https://imgur.com/a/YbvZB2a

 

I am attempting to declare this procedure as the starting condition for the entity's AI, however it's missing dependencies, I have tried other methods, like manually setting the event/target entity and source entity but still shows the same error. Any help would be greatly appreciated!

Last seen on 16:50, 27. Apr 2024
Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
look at other thing that…
Mon, 04/15/2024 - 06:08

look at other thing that would give enough dependencies like global events or others