"Always Tracking" Checkbox or AI Block for "Living entity"

Started by GmanDaBest2 on

Topic category: Feature requests and ideas for MCreator

Last seen on 01:31, 13. Jan 2022
Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
"Always Tracking" Checkbox or AI Block for "Living entity"
Mon, 11/29/2021 - 18:24 (edited)

Hi, I was going to create a boss in MCreator that will always pathfind towards you even through blocks, though I couldn't find any way to do this, and I feel like a lot of other people making boss-like entities would like this to be an optional box you can check in behavior or an AI block in the "AI and goals" section, this would be very helpful for entities that spawn in say a different room than the player and need to get to the player, and if I am missing any way to do this in the current state of MCreator, please tell me.

Edited by GmanDaBest2 on Mon, 11/29/2021 - 18:24
Last seen on 13:58, 21. Jan 2023
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
get location of nearest…
Tue, 12/28/2021 - 16:42

get location of nearest player return {x,y,z} then get location return {x,y,z}

get distance from nearest player if larger than 800{return ("to far")}

else {

apply force (((player x,y,z - self x,y,z) / distance from nearest player)+{insert additonal movement})

Last seen on 01:31, 13. Jan 2022
Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
MinerMinerMods I meant to…
Sun, 01/09/2022 - 20:58

MinerMinerMods

I meant to ask if this was possible to be done with procedures rather than code, I am not a coder myself and don't really have a clue as to what your reply means, thank you for replying regardless.