How to make all vanilla mob scared of player for a limited time if an advancement is made

Started by timmyt on

Topic category: Advanced modding

Last seen on 19:57, 24. Aug 2024
Joined Jun 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make all vanilla mob scared of player for a limited time if an advancement is made

How to make all vanilla mob scared of player for a limited time if certain advancement is made

Last seen on 20:43, 20. Aug 2024
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can add an 'avoid entity…
Wed, 07/24/2024 - 17:54

You can add an 'avoid entity of type player' to the creature's AI. Then for the start/continue condition, make it check if a player exists in a certain range, and if the player has that advancement. (If you want it to be exclusively after gaining that advancement, you could add a custom status effect that does the same thing.)

Last seen on 19:57, 24. Aug 2024
Joined Jun 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Sorry for taking long to…
Wed, 07/31/2024 - 08:12

Sorry for taking long to respond but I don't understand so can you show me with pictures