only attack hostle mobs

Started by shawshank1228 on

Topic category: Advanced modding

Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
only attack hostle mobs

help! my entity keeps attacking peaceful mobs! and i dont know how to make it only attack hostle mobs 

Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
What is your current AI…
Thu, 04/09/2020 - 04:23

What is your current AI looking like? If you are using a base entity for the AI it may overwrite your current stuff. Make sure that it's behavior is set to creature and that if you wanted it to attack nothing, to specify that in the AI.

Entity Base is in the top right of the mob AI screen and

behavior is on the second screen at the top.

 

To make it only attack hostile mobs make sure it attacks nothing first and on the AI screen drag the Attack entities of type and

Select EntityMob

 

Hope this helps.

Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
thats what i did but then it…
Thu, 04/09/2020 - 22:41

thats what i did but then it started atacking everything

so now i dont know what to do exept put every hostile mob type in