Making mob defend itself

Started by Giak77 on

Topic category: Help with Minecraft modding (Java Edition)

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?

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

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!