Zoglins with this mod installed still attack some undead mobs.
Daralexen05 opened this issue ยท 3 comments
An option in the config makes Zoglins neutral toward undead mobs, but it does not work with all mobs. For example, they still attack Giants (That OP Giant Zombie from Pre-Release versions of Minecraft) and modded undead entities like Castlevania and Last of Us Zombies. I want to add Giant or Rat King as the final wave raid boss for Zombie Nights, but they always die or get distracted by a group of Zoglins, which causes them to forget that they were initially targeting me or other players.
There's not really much I can do there, ginan't aren't counted as undead by the game, and I'd assume in that case that it's a bug in those mods, I might be able to add a config in for it, but if they aren't set as undead in game, the mod can't detect them.
Do you have a link to those mods, just in case?
There's not really much I can do there, ginan't aren't counted as undead by the game, and I'd assume in that case that it's a bug in those mods, I might be able to add a config in for it, but if they aren't set as undead in game, the mod can't detect them.
Do you have a link to those mods, just in case?
Last of Us: https://modrinth.com/mod/last-of-us-zombie-apocalypse
Castlevania: https://www.curseforge.com/minecraft/mc-mods/craft-vania/files/4448060
Naturally Spawning Giant: https://www.curseforge.com/minecraft/mc-mods/giant-spawn
The Castlevania mobs take damage from healing potions and burn in sunlight and Giant has a config option that allows it to burn in sunlight. I did not know that Giants were not considered undead by the game, and I am pretty sure that the Last of Us Zombies are not considered undead by design. Since they are just people corrupted and mutated by a killer virus, and not reanimate corpses like the ones in Minecraft and Castlevania.
Yeah, neither of those mods actually set their entities as undead, so there's nothing for the mod to detect, I maybe will add a tag for it as well, so non undead mobs can be added to it as well.
Both of them are missing this segment of code from their entities that would mark them as undead.
public MobType getMobType() {
return MobType.UNDEAD;
}