Started by
Calazacks
on
Topic category: Help with Minecraft modding (Java Edition)
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
When you set what you want the mob to attack, scroll to the bottom of the list, there is a mob called "Monster".
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
lmao
MCreator.exe has stopped working.
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
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.
The option is called "EntityMob" not "Monster".
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.
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
hi the only solition at 1.12.2 is change the mobs ai to iron golem
i maked like thad and other things not worked