Repurposed Structures (Neoforge/Forge)

Repurposed Structures (Neoforge/Forge)

66M Downloads

Server Crashing - Async entity load

M0diis opened this issue · 5 comments

commented

Crash report:

	Time: 2025-09-29 09:20:05
	Description: Feature placement
	 
	java.util.ConcurrentModificationException: Async entity load
		at net.minecraft.class_3898.handler$bjg000$c2me-fixes-general-threading-issues$preventAsyncEntityLoad(class_3898.java:11476)
		at net.minecraft.class_3898.method_18701(class_3898.java)

https://m0dii-dev.xyz/paste/2972a6a9

Mod Version:
repurposed_structures-7.1.14+1.20.1-fabric.jar

commented
java.util.ConcurrentModificationException: Async entity load
	at net.minecraft.server.world.ThreadedAnvilChunkStorage.handler$bjg000$c2me-fixes-general-threading-issues$preventAsyncEntityLoad(ThreadedAnvilChunkStorage.java:11476)
	at net.minecraft.server.world.ThreadedAnvilChunkStorage.loadEntity(ThreadedAnvilChunkStorage.java)
	at net.minecraft.server.world.ServerChunkManager.loadEntity(ServerChunkManager.java:484)
	at net.minecraft.server.world.ServerWorld$class_5526.startTracking(ServerWorld.java:1558)
	at net.minecraft.server.world.ServerWorld$class_5526.startTracking(ServerWorld.java:1536)
	at net.minecraft.server.world.ServerEntityManager.startTracking(ServerEntityManager.java:216)
	at net.minecraft.server.world.ServerEntityManager.addEntity(ServerEntityManager.java:186)
	at net.minecraft.server.world.ServerEntityManager.addEntity(ServerEntityManager.java:167)
	at net.minecraft.ServerWorld.addEntity(ServerWorld.java:911)
	at net.minecraft.ServerWorld.spawnEntity(ServerWorld.java:862)
	at net.minecraft.entity.mob.MobEntity.convertTo(MobEntity.java:1268)
	at net.tinyallies.util.ModUtil.babifyMob(ModUtil.java:35)
	at net.minecraft.entity.mob.SkeletonEntity.initialize(SkeletonEntity.java:1536)
	at com.telepathicgrunt.repurposedstructures.world.features.Skeletons.generate(Skeletons.java:28)

Looks like Tiny Allies may be the cause by using convertTo method during worldgen entity spawning. Repurposed Structures spawns entities during worldgen the same way vanilla does when spawning structures with entities. So it’s likely you would see this same issue even without repurposed structures when spawning structures with entities in them

commented

That makes sense. I will try to remove Tiny Allies and see if the issue occurs again. Thanks.

commented
Image
commented
Image
commented

I totally forgot to mention, removing it fixed the issue, but I think you already know that haha.
But yeah, thanks.