Dynamic Lights

Dynamic Lights

15M Downloads

[1.14.4] Infernal Mobs with Forge 28.0.92+ freeze MC loading world

j4p4n4s4 opened this issue · 7 comments

commented

Last working version on Forge 28.0.91, with latest forge versions hangs MC loading world

18:04:25.722
Error executing task on Chunk source main thread executor for minecraft:overworld
java.util.concurrent.CompletionException: java.lang.NoSuchMethodError: net.minecraft.entity.Entity.getEntityData()Lnet/minecraft/nbt/CompoundNBT;
at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273)
at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280)
at java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:604)
at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:577)
at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:442)
at net.minecraft.world.chunk.ChunkTaskPriorityQueueSorter.func_219083_b(SourceFile:58)
at net.minecraft.world.chunk.ChunkTaskPriorityQueueSorter$$Lambda$4666/1016653469.run(Unknown Source)
at net.minecraft.util.concurrent.ThreadTaskExecutor.func_213166_h(ThreadTaskExecutor.java:170)
at net.minecraft.util.concurrent.ThreadTaskExecutor.func_213168_p(ThreadTaskExecutor.java:135)
at net.minecraft.world.server.ServerChunkProvider$ChunkExecutor.func_213168_p(SourceFile:550)
at net.minecraft.world.server.ServerChunkProvider.func_217234_d(SourceFile:273)
at net.minecraft.server.MinecraftServer.func_213205_aW(MinecraftServer.java:704)
at net.minecraft.server.MinecraftServer.func_213168_p(MinecraftServer.java:693)
at net.minecraft.util.concurrent.ThreadTaskExecutor.func_213161_c(ThreadTaskExecutor.java:148)
at net.minecraft.server.MinecraftServer.func_213202_o(MinecraftServer.java:679)
at net.minecraft.server.MinecraftServer.func_213186_a(MinecraftServer.java:452)
at net.minecraft.server.integrated.IntegratedServer.func_71247_a(IntegratedServer.java:107)
at net.minecraft.server.integrated.IntegratedServer.func_71197_b(IntegratedServer.java:129)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:598)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NoSuchMethodError: net.minecraft.entity.Entity.getEntityData()Lnet/minecraft/nbt/CompoundNBT;
at atomicstryker.infernalmobs.common.EntityEventHandler.onEntityJoinedWorld(EntityEventHandler.java:34)
at net.minecraftforge.eventbus.ASMEventHandler_202_EntityEventHandler_onEntityJoinedWorld_EntityJoinWorldEvent.invoke(.dynamic)
at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:80)
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:258)
at net.minecraft.world.server.ServerWorld.func_217440_f(ServerWorld.java:904)
at net.minecraft.world.server.ChunkManager.lambda$null$24(ChunkManager.java:577)
at net.minecraft.world.server.ChunkManager$$Lambda$4734/650317542.apply(Unknown Source)
at com.mojang.datafixers.util.Either.lambda$mapLeft$0(Either.java:162)
at com.mojang.datafixers.util.Either$$Lambda$4735/42375942.apply(Unknown Source)
at com.mojang.datafixers.util.Either$Left.map(Either.java:38)
at com.mojang.datafixers.util.Either.mapLeft(Either.java:162)
at net.minecraft.world.server.ChunkManager.lambda$func_219200_b$25(ChunkManager.java:554)
at net.minecraft.world.server.ChunkManager$$Lambda$4731/1367352162.apply(Unknown Source)
at java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:602)
... 17 more
18:04:25.750
Error executing task on Chunk source main thread executor for minecraft:overworld
java.util.concurrent.CompletionException: java.lang.NoSuchMethodError: net.minecraft.entity.Entity.getEntityData()Lnet/minecraft/nbt/CompoundNBT;
at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273)
at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280)
at java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:604)
at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:577)
at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:442)
at net.minecraft.world.chunk.ChunkTaskPriorityQueueSorter.func_219083_b(SourceFile:58)
at net.minecraft.world.chunk.ChunkTaskPriorityQueueSorter$$Lambda$4666/1016653469.run(Unknown Source)
at net.minecraft.util.concurrent.ThreadTaskExecutor.func_213166_h(ThreadTaskExecutor.java:170)
at net.minecraft.util.concurrent.ThreadTaskExecutor.func_213168_p(ThreadTaskExecutor.java:135)
at net.minecraft.world.server.ServerChunkProvider$ChunkExecutor.func_213168_p(SourceFile:550)
at net.minecraft.world.server.ServerChunkProvider.func_217234_d(SourceFile:273)
at net.minecraft.server.MinecraftServer.func_213205_aW(MinecraftServer.java:704)
at net.minecraft.server.MinecraftServer.func_213168_p(MinecraftServer.java:693)
at net.minecraft.util.concurrent.ThreadTaskExecutor.func_213161_c(ThreadTaskExecutor.java:148)
at net.minecraft.server.MinecraftServer.func_213202_o(MinecraftServer.java:679)
at net.minecraft.server.MinecraftServer.func_213186_a(MinecraftServer.java:452)
at net.minecraft.server.integrated.IntegratedServer.func_71247_a(IntegratedServer.java:107)
at net.minecraft.server.integrated.IntegratedServer.func_71197_b(IntegratedServer.java:129)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:598)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NoSuchMethodError: net.minecraft.entity.Entity.getEntityData()Lnet/minecraft/nbt/CompoundNBT;
at atomicstryker.infernalmobs.common.EntityEventHandler.onEntityJoinedWorld(EntityEventHandler.java:34)
at net.minecraftforge.eventbus.ASMEventHandler_202_EntityEventHandler_onEntityJoinedWorld_EntityJoinWorldEvent.invoke(.dynamic)
at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:80)
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:258)
at net.minecraft.world.server.ServerWorld.func_217440_f(ServerWorld.java:904)
at net.minecraft.world.server.ChunkManager.lambda$null$24(ChunkManager.java:577)
at net.minecraft.world.server.ChunkManager$$Lambda$4734/650317542.apply(Unknown Source)
at com.mojang.datafixers.util.Either.lambda$mapLeft$0(Either.java:162)
at com.mojang.datafixers.util.Either$$Lambda$4735/42375942.apply(Unknown Source)
at com.mojang.datafixers.util.Either$Left.map(Either.java:38)
at com.mojang.datafixers.util.Either.mapLeft(Either.java:162)
at net.minecraft.world.server.ChunkManager.lambda$func_219200_b$25(ChunkManager.java:554)
at net.minecraft.world.server.ChunkManager$$Lambda$4731/1367352162.apply(Unknown Source)
at java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:602)

commented

I can confirm this bug, same log. Using Forge 28.1.1

commented

Looks like forge made a breaking change to the API honestly

commented

I’m using Forge 28.1.22 and it happens to me as well.

commented

Also happening on the latest forge. which version of forge was this working on?

commented

2de37e8
Should be fixed with this version.

commented

working fine with forge 28.1.34 & 28.1.37 last version. Ty