AI will only react to being hit

Started by SWORDTOOTH on

Topic category: Help with modding (Java Edition)

Last seen on 01:59, 3. Apr 2024
Joined Aug 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
AI will only react to being hit
Sat, 03/23/2024 - 09:19 (edited)

The code

I have this the AI I made, it doesn't move or do anything unless I hit it in which case it will run away sometimes.

Edited by SWORDTOOTH on Sat, 03/23/2024 - 09:19
Last seen on 16:14, 26. Mar 2024
Joined Feb 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
there's two wander AI goals…
Sat, 03/23/2024 - 09:24

there's two wander AI goals you could use in the movement tasks menu, if you just want the mob to just move about.

Last seen on 01:59, 3. Apr 2024
Joined Aug 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
my goal is for it to be…
Sat, 03/23/2024 - 09:25

my goal is for it to be scared of one entity and if that entity isnt in close proximity then attack the player

Last seen on 01:59, 3. Apr 2024
Joined Aug 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i figured it out, i had…
Sat, 03/23/2024 - 23:18

i figured it out, i had creature selected instead of mob