at net.minecraft.world.World.func_72838_d(World.java:321) ~[adm.class:?]
at
com.pixelmonmod.pixelmon.listener.spawn.ReplaceMCVillagers.onVillagerSpawn(ReplaceMCVillagers.java:43)
~[ReplaceMCVillagers.class:?]
at
net.minecraftforge.fml.common.eventhandler.ASMEventHandler_37_ReplaceMCVillagers_onVillagerSpawn_EntityJoinWorldEvent.invoke(.dynamic)
~[?:?]
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:49) ~[ASMEventHandler.class:?]
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:84) ~[EventBus.class:?]
at
org.spongepowered.mod.event.SpongeForgeEventFactory.callEntityJoinWorldEvent(SpongeForgeEventFactory.java:892)
~[SpongeForgeEventFactory.class:1.8.9-1808-4.1.0-BETA-1303]
at
org.spongepowered.mod.event.SpongeForgeEventFactory.callForgeEvent(SpongeForgeEventFactory.java:338)
~[SpongeForgeEventFactory.class:1.8.9-1808-4.1.0-BETA-1303]
at
org.spongepowered.mod.event.SpongeModEventManager.postBulk(SpongeModEventManager.java:197)
~[SpongeModEventManager.class:1.8.9-1808-4.1.0-BETA-1303]
at
org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:244)
~[SpongeModEventManager.class:1.8.9-1808-4.1.0-BETA-1303]
at
org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:229)
~[SpongeModEventManager.class:1.8.9-1808-4.1.0-BETA-1303]
at org.spongepowered.common.SpongeImpl.postEvent(SpongeImpl.java:131) ~[SpongeImpl.class:1.8.9-1808-4.1.0-BETA-1303]
at
org.spongepowered.common.event.CauseTracker.processSpawnEntity(CauseTracker.java:1080)
~[CauseTracker.class:1.8.9-1808-4.1.0-BETA-1303]
From what I can tell, Sponge doesn’t seem to like entity spawns happening while it’s sending entity spawn events. Probably has something to do with the CauseTracker refactor.
there’s a conflict between Pixelmon and Sponge where both are trying to spawn Villager entities but Sponge is attempting it after Pixelmon has swapped the defaults for ChattingNPCs, thus making a mess of infinitely spawning invisible/errored entities on the client and obviously causing this error