AlexsCaves icon indicating copy to clipboard operation
AlexsCaves copied to clipboard

Illagers controlled with Totem of Possession won't attack other Illagers.

Open Dontsteel opened this issue 4 months ago • 2 comments

Illagers controlled by the totem of possession will not attack other illagers they collide with. However, they will attack non-illagers they collide into such as skeletons and zombies.

I tested this with Pillagers, Evokers, Vindicators, and Illusioners (which don't spawn naturally, but I wanted to test out of curiousity.)

Similiarly, I've also noticed that some mobs from other mods such as cataclysm will not attack mobs from their own dungeon when possessed, but will attack other mobs they collide with, including those from different dungeons.

https://files.catbox.moe/0xvwum.mp4

Dontsteel avatar Aug 09 '25 23:08 Dontsteel

illagers cant attack other illagers no matter what

yarozagreba-bit avatar Aug 14 '25 12:08 yarozagreba-bit

Illagers have a isAlliedTo() method. I've created a mixin which returns the method false if a illager is under possession. Will submit a pull request.

isErenG avatar Aug 22 '25 11:08 isErenG