FTB-Modpack-Issues icon indicating copy to clipboard operation
FTB-Modpack-Issues copied to clipboard

Immersive Engineering MultiBlocks - Freezing server thread, crashes eventually

Open Therm0z opened this issue 5 months ago • 6 comments

Have you tried the solutions mentioned above?

Yes

Modpack

FTB Evolution

Modpack Version

1.38.1

Launcher/App used to start the modpack

CurseForge

Describe what happened

Immersive Engineering natural multiblocks lamp/wire posts fail to place correctly and stops part of the main server thread from working like intended. Trying to break these causes ghostblocks and while these ghostblocks exist the server is partly frozen. This does seem to behave slightly differently in singleplayer but is broken nonetheless. You can get the server to be in a state where items just doesn't drop from blocks even though EVERYTHING else works flawlessly, this eventually crashes the server after a few minutes.

This also seems to corrupt whichever other block you are modifying as well. Something which also can be used to dupe basically any block as that block overrides all positions inside these multiblocks. I managed to mistakenly dupe a netherstar crux due to this and confirmed it wasn't just a ghost block/item.

Restarting the server or relogging the world does not fix the issue and it stays broken.

While these blocks can still be used if you hammer the air with an engineering hammer but trying to break the poles even after they get "fixed" this way still breaks the game again.

Link to logs

I do have to give an apology, this log is very long but the last singleplayer tests are at the very bottom.

https://pste.me/@Dx08kRSgoPk

below is a snippet of what comes up each time you try to use the posts

[20Jun2026 21:15:09.799] [Server thread/ERROR] [net.minecraft.network.protocol.game.ServerPacketListener/]: Failed to handle packet net.minecraft.network.protocol.game.ServerboundPlayerActionPacket@41e65b9a, suppressing error java.lang.NullPointerException: Cannot invoke "net.minecraft.world.level.block.state.BlockState.getBlock()" because "centerState" is null at TRANSFORMER/[email protected]/blusunrize.immersiveengineering.common.blocks.generic.PostBlock.hasArmFor(PostBlock.java:138) ~[ImmersiveEngineering-1.21.1-12.4.2-194.jar%23912!/:?] at TRANSFORMER/[email protected]/blusunrize.immersiveengineering.common.blocks.generic.PostBlock.hasConnectionInner(PostBlock.java:334) ~[ImmersiveEngineering-1.21.1-12.4.2-194.jar%23912!/:?] at TRANSFORMER/[email protected]/blusunrize.immersiveengineering.common.blocks.generic.PostBlock.hasConnection(PostBlock.java:295) ~[ImmersiveEngineering-1.21.1-12.4.2-194.jar%23912!/:?] at TRANSFORMER/[email protected]/blusunrize.immersiveengineering.common.blocks.generic.PostBlock.getMainShape(PostBlock.java:201) ~[ImmersiveEngineering-1.21.1-12.4.2-194.jar%23912!/:?] at TRANSFORMER/[email protected]/blusunrize.immersiveengineering.common.blocks.generic.PostBlock.getShape(PostBlock.java:188) ~[ImmersiveEngineering-1.21.1-12.4.2-194.jar%23912!/:?] at TRANSFORMER/[email protected]/net.minecraft.world.level.block.state.BlockBehaviour$BlockStateBase.getShape(MixinBlockStateBase.java:650) ~[client-1.21.1-20240808.144430-srg.jar%23676!/:?] at TRANSFORMER/[email protected]/net.minecraft.world.level.block.state.BlockBehaviour$BlockStateBase.getShape(MixinBlockStateBase.java:646) ~[client-1.21.1-20240808.144430-srg.jar%23676!/:?] at TRANSFORMER/[email protected]/net.minecraft.world.level.block.state.BlockBehaviour.getCollisionShape(BlockBehaviour.java:322) ~[client-1.21.1-20240808.144430-srg.jar%23676!/:?] at TRANSFORMER/[email protected]/net.minecraft.world.level.block.state.BlockBehaviour$BlockStateBase.getCollisionShape$mixinextras$wrapped$143(MixinBlockStateBase.java:658) ~[client-1.21.1-20240808.144430-srg.jar%23676!/:?] at TRANSFORMER/[email protected]/net.minecraft.world.level.block.state.BlockBehaviour$BlockStateBase.mixinextras$bridge$getCollisionShape$mixinextras$wrapped$143$144(MixinBlockStateBase.java) ~[client-1.21.1-20240808.144430-srg.jar%23676!/:?] at TRANSFORMER/[email protected]/net.minecraft.world.level.block.state.BlockBehaviour$BlockStateBase.wrapMethod$edk000$eternal_starlight$getCollisionShape(MixinBlockStateBase.java:4465) ~[client-1.21.1-20240808.144430-srg.jar%23676!/:?] at TRANSFORMER/[email protected]/net.minecraft.world.level.block.state.BlockBehaviour$BlockStateBase.getCollisionShape(MixinBlockStateBase.java) ~[client-1.21.1-20240808.144430-srg.jar%23676!/:?] at TRANSFORMER/[email protected]/dev.ryanhcode.sable.physics.impl.rapier.collider.RapierVoxelColliderBakery.buildPhysicsDataForBlock(RapierVoxelColliderBakery.java:72) ~[dev.ryanhcode.sable.sable-sable_rapier-1.21.1-2.0.2-dev.jar%231404!/:2.0.2] at java.base/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1740) ~[?:?] at TRANSFORMER/[email protected]/net.minecraft.Util$8.apply(Util.java:795) ~[client-1.21.1-20240808.144430-srg.jar%23676!/:?] at TRANSFORMER/[email protected]/dev.ryanhcode.sable.physics.impl.rapier.collider.RapierVoxelColliderBakery.getPhysicsDataForBlock(RapierVoxelColliderBakery.java:98) ~[dev.ryanhcode.sable.sable-sable_rapier-1.21.1-2.0.2-dev.jar%231404!/:2.0.2] at TRANSFORMER/[email protected]/dev.ryanhcode.sable.physics.impl.rapier.RapierPhysicsPipeline.handleBlockChange(RapierPhysicsPipeline.java:395) ~[dev.ryanhcode.sable.sable-sable_rapier-1.21.1-2.0.2-dev.jar%231404!/:2.0.2] at TRANSFORMER/[email protected]/dev.ryanhcode.sable.sublevel.system.SubLevelPhysicsSystem.handleBlockChange(SubLevelPhysicsSystem.java:472) ~[sable-neoforge-1.21.1-2.0.2.jar%231077!/:2.0.2] at TRANSFORMER/[email protected]/dev.ryanhcode.sable.SableCommonEvents.handleBlockChange(SableCommonEvents.java:91) ~[sable-neoforge-1.21.1-2.0.2.jar%231077!/:2.0.2] at TRANSFORMER/[email protected]/net.minecraft.world.level.chunk.LevelChunk.wrapOperation$icb000$sable$setBlockState(LevelChunk.java:5802) ~[client-1.21.1-20240808.144430-srg.jar%23676!/:?] at TRANSFORMER/[email protected]/net.minecraft.world.level.chunk.LevelChunk.setBlockState(LevelChunk.java:249) ~[client-1.21.1-20240808.144430-srg.jar%23676!/:?] at TRANSFORMER/[email protected]/net.minecraft.world.level.Level.setBlock(Level.java:236) ~[client-1.21.1-20240808.144430-srg.jar%23676!/:?] at TRANSFORMER/[email protected]/net.minecraft.world.level.Level.setBlock(Level.java:212) ~[client-1.21.1-20240808.144430-srg.jar%23676!/:?] at TRANSFORMER/[email protected]/net.minecraft.world.level.Level.removeBlock(Level.java:296) ~[client-1.21.1-20240808.144430-srg.jar%23676!/:?] at TRANSFORMER/[email protected]/blusunrize.immersiveengineering.common.blocks.generic.PostBlock.onRemove(PostBlock.java:91) ~[ImmersiveEngineering-1.21.1-12.4.2-194.jar%23912!/:?] at TRANSFORMER/[email protected]/net.minecraft.world.level.block.state.BlockBehaviour$BlockStateBase.onRemove(MixinBlockStateBase.java:724) ~[client-1.21.1-20240808.144430-srg.jar%23676!/:?] at TRANSFORMER/[email protected]/net.minecraft.world.level.chunk.LevelChunk.setBlockState(LevelChunk.java:274) ~[client-1.21.1-20240808.144430-srg.jar%23676!/:?] at TRANSFORMER/[email protected]/net.minecraft.world.level.Level.setBlock(Level.java:236) ~[client-1.21.1-20240808.144430-srg.jar%23676!/:?] at TRANSFORMER/[email protected]/net.minecraft.world.level.Level.setBlock(Level.java:212) ~[client-1.21.1-20240808.144430-srg.jar%23676!/:?] at TRANSFORMER/[email protected]/net.minecraft.world.level.Level.removeBlock(Level.java:296) ~[client-1.21.1-20240808.144430-srg.jar%23676!/:?] at TRANSFORMER/[email protected]/net.neoforged.neoforge.common.extensions.IBlockExtension.onDestroyedByPlayer(IBlockExtension.java:246) ~[neoforge-21.1.233-universal.jar%23677!/:?] at TRANSFORMER/[email protected]/net.neoforged.neoforge.common.extensions.IBlockStateExtension.onDestroyedByPlayer(IBlockStateExtension.java:148) ~[neoforge-21.1.233-universal.jar%23677!/:?] at TRANSFORMER/[email protected]/net.minecraft.server.level.ServerPlayerGameMode.removeBlock(ServerPlayerGameMode.java:297) ~[client-1.21.1-20240808.144430-srg.jar%23676!/:?] at TRANSFORMER/[email protected]/net.minecraft.server.level.ServerPlayerGameMode.destroyBlock(ServerPlayerGameMode.java:271) ~[client-1.21.1-20240808.144430-srg.jar%23676!/:?] at TRANSFORMER/[email protected]/net.minecraft.server.level.ServerPlayerGameMode.destroyAndAck(ServerPlayerGameMode.java:239) ~[client-1.21.1-20240808.144430-srg.jar%23676!/:?] at TRANSFORMER/[email protected]/net.minecraft.server.level.ServerPlayerGameMode.handleBlockBreakAction(ServerPlayerGameMode.java:210) ~[client-1.21.1-20240808.144430-srg.jar%23676!/:?] at TRANSFORMER/[email protected]/net.minecraft.server.network.ServerGamePacketListenerImpl.handlePlayerAction(ServerGamePacketListenerImpl.java:1082) ~[client-1.21.1-20240808.144430-srg.jar%23676!/:?] at TRANSFORMER/[email protected]/net.minecraft.network.protocol.game.ServerboundPlayerActionPacket.handle(ServerboundPlayerActionPacket.java:50) ~[client-1.21.1-20240808.144430-srg.jar%23676!/:?] at TRANSFORMER/[email protected]/net.minecraft.network.protocol.game.ServerboundPlayerActionPacket.handle(ServerboundPlayerActionPacket.java:10) ~[client-1.21.1-20240808.144430-srg.jar%23676!/:?] at TRANSFORMER/[email protected]/net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$0(PacketUtils.java:27) ~[client-1.21.1-20240808.144430-srg.jar%23676!/:?] at TRANSFORMER/[email protected]/net.minecraft.server.TickTask.run(TickTask.java:18) ~[client-1.21.1-20240808.144430-srg.jar%23676!/:?] at TRANSFORMER/[email protected]/net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:148) ~[client-1.21.1-20240808.144430-srg.jar%23676!/:?] at TRANSFORMER/[email protected]/net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:23) ~[client-1.21.1-20240808.144430-srg.jar%23676!/:?] at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:872) ~[client-1.21.1-20240808.144430-srg.jar%23676!/:?] at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:170) ~[client-1.21.1-20240808.144430-srg.jar%23676!/:?] at TRANSFORMER/[email protected]/net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:122) ~[client-1.21.1-20240808.144430-srg.jar%23676!/:?] at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:855) ~[client-1.21.1-20240808.144430-srg.jar%23676!/:?] at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:849) ~[client-1.21.1-20240808.144430-srg.jar%23676!/:?] at TRANSFORMER/[email protected]/net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:132) ~[client-1.21.1-20240808.144430-srg.jar%23676!/:?] at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.managedBlock(MinecraftServer.java:821) ~[client-1.21.1-20240808.144430-srg.jar%23676!/:?] at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.mixinextras$bridge$managedBlock$299(MinecraftServer.java) ~[client-1.21.1-20240808.144430-srg.jar%23676!/:?] at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.wrapOperation$zzn000$modernfix$managedBlock(MinecraftServer.java:2154) ~[client-1.21.1-20240808.144430-srg.jar%23676!/:?] at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:826) ~[client-1.21.1-20240808.144430-srg.jar%23676!/:?] at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:712) ~[client-1.21.1-20240808.144430-srg.jar%23676!/:?] at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.lambda$spin$2(MinecraftServer.java:267) ~[client-1.21.1-20240808.144430-srg.jar%23676!/:?] at java.base/java.lang.Thread.run(Thread.java:1583) [?:?]

Steps to reproduce

  1. Go into any world, singleplayer or server
  2. Place any of the engineering workbenches or posts from Immersive Engineering
  3. See your game breaking in realtime with blocks that cant be removed easily, even after relogging

Additional information

Thought first it might be server or my client but after reinstall of client, restart of server and tests in singleplayer while also having a friend test it out I've come to the conclusion that something with either the pack or mod has broken. It's been broken since at least V 1.38.1 as it worked on the previous version we played on which was 1.36.0

Has the pack been modified

No

Additional information

while the server had been modified before, the clients have not and steps were easily to reproduce in singleplayer by multiple seperate clients

Therm0z avatar Jun 20 '26 19:06 Therm0z

I'm not sure that Crash/Disconnect is the correct usage here but considering it will crash the game if you don't solve the "ghost blocks" I marked it as such.

Therm0z avatar Jun 20 '26 19:06 Therm0z

I actually just experienced this issue yesterday and chalked it up to server issues. Guess it wasn't! Tried to place Xyluminum power poles and had the buggiest experience of a lifetime trying to fix them haha

FireController1847 avatar Jun 23 '26 21:06 FireController1847

got this issue myself, how to fix?

astroanax avatar Jun 29 '26 07:06 astroanax

and yeah i had same issues as described above, the wood post was so buggy, unable to use it.

astroanax avatar Jun 29 '26 07:06 astroanax

You can still use it but the post will remain in your inventory so you have to

1# place it where u want

2# take the items away from the slot from which you placed it from, effectively duping it.

3# use empty hand (right click) or engineers hammer on all parts of the "glitched pole" to reveal it fully.

4# if you want to use the pole mounts to connect wires etc, hammer 2 times on the side you want the extended piece as it goes into a failed state after one try but works on the second.

#5 if you want to remove the pole, destroy the top block of the post and remove any ghost blocks that might still linger by right clicking with an empty hand.

Trying to override the data of the post blocks while its there but havent been "revealed" can cause you to dupe the blocks on some occasions.

Therm0z avatar Jun 29 '26 11:06 Therm0z

can confirm IE wooden posts are thoroughly glitched -- had to not only restore from backup but also restart the game as the currently running singleplayer instance was still acting bonkers (anything you throw vanishes completely) even after reloading the backup

not using those again until this gets fixed, that's for sure.

WebDragon avatar Jul 13 '26 03:07 WebDragon

This issue has been marked as stale. Please reply to the issue or the issue will be automatically closed in 3 days.

github-actions[bot] avatar Jul 29 '26 02:07 github-actions[bot]

ImmersiveEngineering-1.21.1-12.4.2-194.jar was not updated during the recent changeover to version 1.40.0 of the pack, so I am presuming this issue is still fully active and world-save-corrupting. and no I'm not risking my world again to find out if no update to the mod yet was somehow the culprit

Far from stale, when's the next pending IE update ?

WebDragon avatar Jul 29 '26 04:07 WebDragon