Help pls create

Started by God of darkness on

Topic category: Help with MCreator software

Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help pls create

Hello dear users,I have a question how can I do so that every second the mob checks if there is a player within a radius of 4 blocks from the mob, if there is no player within a radius of 4 blocks, then it checks within a radius of 12 blocks if there is, it does a certain procedure. (As you can see I tried to do it, but it works for me so that the mob shoots if the player is in 4 blocks) Thanks in advance.

Joined Feb 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
https://imgur.com/a/42GUBYD…
Sun, 05/02/2021 - 00:00

https://imgur.com/a/42GUBYD
If you want to execute something on the entity that is in the range do not use "event/target entity" use " get nearest entity...".