Mob That Attacks Hostile Mobs

Started by Calazacks on

Topic category: Help with Minecraft modding (Java Edition)

Active 1 year ago
Joined Feb 2020
Points:
655

User statistics:

  • Modifications: 1
  • Forum topics: 3
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 14
Mob That Attacks Hostile Mobs

Im trying to make a helpful entity that will attack monsters and mobs of the like, but having the entity set as a "creature" makes it not attack anything. and setting it as a mob makes it attack other entities of the same type. all i can think to do is to manually set it to attack every hostile mob listed, and doing so will make it not do anything to creatures from other mods.

Any tips? as it defeats the purpose of having an item that summons a small horde of mobs to defend you if all they do is fight each other

Active 3 years ago
Joined Mar 2020
Points:
1264

User statistics:

  • Modifications: 2
  • Forum topics: 10
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1149
When you set what you want…
Mon, 06/08/2020 - 13:52

When you set what you want the mob to attack, scroll to the bottom of the list, there is a mob called "Monster".

Active 3 years ago
Joined Nov 2019
Points:
869

User statistics:

  • Modifications: 0
  • Forum topics: 8
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 387
i have a crazy idea, dont…
Tue, 06/09/2020 - 01:38

i have a crazy idea, dont know what will happen in game though. make your mob attack all mobs, and then make it avoid mobs of type himself, haha. would love to know what will happen if you spawn a bunch of these together

Active 3 years ago
Joined Mar 2020
Points:
1264

User statistics:

  • Modifications: 2
  • Forum topics: 10
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1149
MCreator.exe has stopped…
Tue, 06/09/2020 - 01:52

MCreator.exe has stopped working.

Active 1 year ago
Joined Feb 2020
Points:
655

User statistics:

  • Modifications: 1
  • Forum topics: 3
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 14
I do not see an option for …
Wed, 06/10/2020 - 09:07

I do not see an option for "monster". I am making a mod for 1.12.2, so maybe its not available on my version

Active 3 years ago
Joined Mar 2020
Points:
1264

User statistics:

  • Modifications: 2
  • Forum topics: 10
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1149
Oh. I think that if you set…
Wed, 06/10/2020 - 12:08

Oh. I think that if you set the mob ai to iron golem, it attacks only monsters, but that is not recommended as it could change other parameters, such as walk speed and drops.

Active 2 years ago
Joined Apr 2020
Points:
644

User statistics:

  • Modifications: 0
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 23
The option is called …
Thu, 08/06/2020 - 15:12

The option is called "EntityMob" not "Monster".

Active 2 years ago
Joined Apr 2020
Points:
644

User statistics:

  • Modifications: 0
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 23
Wait no. I'm stoopid. It's…
Thu, 08/06/2020 - 15:36

Wait no. I'm stoopid. It's at the very bottom and called "EntityMonster". If you cant see it, use the far left scroll bar.

 

Active 1 year ago
Joined Feb 2020
Points:
655

User statistics:

  • Modifications: 1
  • Forum topics: 3
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 14
i do not see that option,…
Thu, 08/06/2020 - 23:03

i do not see that option, but i am making a mod for 1.12.2, so its possible that "entityMonster" was added in a newer version

Active 3 years ago
Joined Apr 2021
Points:
542

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 4
hi the only solition at 1.12…
Mon, 05/17/2021 - 08:48

hi the only solition at 1.12.2 is change the mobs ai to iron golem

Active 3 years ago
Joined Apr 2021
Points:
542

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 4
i maked like thad and other…
Mon, 05/17/2021 - 08:49

i maked like thad and other things not worked