Making mob defend itself

Started by Giak77 on

Topic category: Help with modding (Java Edition)

Last seen on 19:49, 26. Feb 2020
Joined Dec 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Making mob defend itself

I have 2 questions about mobs:

1) how can i make a mob to be initially passive, and then become aggressive when attacked?

2) how can i make a mob attacking another one?

Last seen on 14:52, 19. Apr 2021
Joined Mar 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
1) Some trickery with 2 mobs…
Sun, 05/05/2019 - 01:32

1) Some trickery with 2 mobs, attack mob with 1 health and mob become another mob that looks just like mob that is aggressive or something 

 

2) "Attack in Sight only [] nearby only [Optional] of type _____ I guess

Last seen on 19:49, 26. Feb 2020
Joined Dec 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
thx for help!  
Wed, 05/08/2019 - 12:00

thx for help!