MCA Reborn [Fabric/Forge]

MCA Reborn [Fabric/Forge]

6M Downloads

Npcs are counted as ambient mobs

RobertSkalko opened this issue ยท 0 comments

commented

I had a weird report today of your npcs not working properly with my mod.

Turns out they are counted as ambient mobs here

.<VillagerEntityMCA>create((t, w) -> new VillagerEntityMCA(t, w, Gender.MALE), SpawnGroup.AMBIENT)

Now i'm not totally sure about this but i think ambient spawngroup is for well mobs that are spawned just for ambience? Minecraft villagers use the MISC group btw

This isn't really a bug technically but it's probably a good idea to change it anyway i think

Oh, and the bug was on my side really, I didn't send client sync packets for ambient mobs for performance reasons. I assumed other mods wouldn't label their npcs as ambient mobs.

Feel free to close this if you have a reason to label them as ambient, but i'd be curious to know what it is.