Creators-of-Create / Create

[Forge Mod] Building Tools and Aesthetic Technology
MIT License
2.92k stars 907 forks source link

server side crash when enabling any moving creation ie mechanical bearings and windmill bearings #4761

Open DinoPenguine opened 1 year ago

DinoPenguine commented 1 year ago

Describe the Bug

when I enable the contraption the server crashes and no one can join unless we go into the world folder and remove all the entity files in the entity folder.

Reproduction Steps

1.place powered mechanical bearing 2.set up contraption 3.enable contraption 4.server crashes and unable to join

Expected Result

When enabling the creation It will start working like a farm or a windmill.

Screenshots and Videos

No response

Crash Report or Log

---- Minecraft Crash Report ---- // Uh... Did I do that? Time: 2023-05-13 17:34:13 Description: Ticking block entity java.lang.ClassCastException: class net.minecraft.nbt.NbtAccounter cannot be cast to class com.simibubi.create.foundation.mixin.accessor.NbtAccounterAccessor (net.minecraft.nbt.NbtAccounter is in module minecraft@1.19.2 of loader 'TRANSFORMER' @c27a3a2; com.simibubi.create.foundation.mixin.accessor.NbtAccounterAccessor is in module create@0.5.0.i of loader 'TRANSFORMER' @c27a3a2) at com.simibubi.create.foundation.utility.ContraptionData.packetSize(ContraptionData.java:53) ~[create-1.19.2-0.5.0.i.jar%23111!/:0.5.0.i] {re:classloading} at com.simibubi.create.foundation.utility.ContraptionData.isTooLargeForSync(ContraptionData.java:35) ~[create-1.19.2-0.5.0.i.jar%23111!/:0.5.0.i] {re:classloading} at com.simibubi.create.content.contraptions.components.structureMovement.AbstractContraptionEntity.writeSpawnData(AbstractContraptionEntity.java:599) ~[create-1.19.2-0.5.0.i.jar%23111!/:0.5.0.i] {re:classloading,pl:runtimedistcleaner:A} at net.minecraftforge.network.PlayMessages$SpawnEntity.encode(PlayMessages.java:112) ~[forge-1.19.2-43.2.11-universal.jar%23130!/:?] {re:classloading} at net.minecraftforge.network.simple.IndexedMessageCodec.lambda$tryEncode$4(IndexedMessageCodec.java:121) ~[forge-1.19.2-43.2.11-universal.jar%23130!/:?] {re:classloading} at java.util.Optional.ifPresent(Optional.java:178) ~[?:?] {} at net.minecraftforge.network.simple.IndexedMessageCodec.tryEncode(IndexedMessageCodec.java:119) ~[forge-1.19.2-43.2.11-universal.jar%23130!/:?] {re:classloading} at net.minecraftforge.network.simple.IndexedMessageCodec.build(IndexedMessageCodec.java:134) ~[forge-1.19.2-43.2.11-universal.jar%23130!/:?] {re:classloading} at net.minecraftforge.network.simple.SimpleChannel.encodeMessage(SimpleChannel.java:68) ~[forge-1.19.2-43.2.11-universal.jar%23130!/:?] {re:classloading} at net.minecraftforge.network.simple.SimpleChannel.toBuffer(SimpleChannel.java:81) ~[forge-1.19.2-43.2.11-universal.jar%23130!/:?] {re:classloading} at net.minecraftforge.network.simple.SimpleChannel.toVanillaPacket(SimpleChannel.java:112) ~[forge-1.19.2-43.2.11-universal.jar%23130!/:?] {re:classloading} at net.minecraftforge.network.NetworkHooks.getEntitySpawningPacket(NetworkHooks.java:71) ~[forge-1.19.2-43.2.11-universal.jar%23130!/:?] {re:classloading} at com.simibubi.create.content.contraptions.components.structureMovement.AbstractContraptionEntity.m5654(AbstractContraptionEntity.java:591) ~[create-1.19.2-0.5.0.i.jar%23111!/:0.5.0.i] {re:classloading,pl:runtimedistcleaner:A} at net.minecraft.server.level.ServerEntity.m8536(ServerEntity.java:206) ~[server-1.19.2-20220805.130853-srg.jar%23125!/:?] {re:classloading} at net.minecraft.server.level.ServerEntity.m8541(ServerEntity.java:196) ~[server-1.19.2-20220805.130853-srg.jar%23125!/:?] {re:classloading} at net.minecraft.server.level.ChunkMap$TrackedEntity.m140497(ChunkMap.java:1343) ~[server-1.19.2-20220805.130853-srg.jar%23125!/:?] {re:classloading,pl:accesstransformer:B} at net.minecraft.server.level.ChunkMap$TrackedEntity.m140487(ChunkMap.java:1371) ~[server-1.19.2-20220805.130853-srg.jar%23125!/:?] {re:classloading,pl:accesstransformer:B} at net.minecraft.server.level.ChunkMap.m140199(ChunkMap.java:1128) ~[server-1.19.2-20220805.130853-srg.jar%23125!/:?] {re:classloading,pl:accesstransformer:B} at net.minecraft.server.level.ServerChunkCache.m8463(ServerChunkCache.java:459) ~[server-1.19.2-20220805.130853-srg.jar%23125!/:?] {re:classloading,pl:accesstransformer:B} at net.minecraft.server.level.ServerLevel$EntityCallbacks.m141985(ServerLevel.java:1576) ~[server-1.19.2-20220805.130853-srg.jar%23125!/:?] {re:classloading} at net.minecraft.server.level.ServerLevel$EntityCallbacks.m141985(ServerLevel.java:1559) ~[server-1.19.2-20220805.130853-srg.jar%23125!/:?] {re:classloading} at net.minecraft.world.level.entity.PersistentEntitySectionManager.m157575(PersistentEntitySectionManager.java:136) ~[server-1.19.2-20220805.130853-srg.jar%23125!/:?] {re:classloading} at net.minecraft.world.level.entity.PersistentEntitySectionManager.addEntityWithoutEvent(PersistentEntitySectionManager.java:97) ~[server-1.19.2-20220805.130853-srg.jar%23125!/:?] {re:classloading} at net.minecraft.world.level.entity.PersistentEntitySectionManager.m157538(PersistentEntitySectionManager.java:80) ~[server-1.19.2-20220805.130853-srg.jar%23125!/:?] {re:classloading} at net.minecraft.world.level.entity.PersistentEntitySectionManager.m157533(PersistentEntitySectionManager.java:71) ~[server-1.19.2-20220805.130853-srg.jar%23125!/:?] {re:classloading} at net.minecraft.server.level.ServerLevel.m8872(ServerLevel.java:805) ~[server-1.19.2-20220805.130853-srg.jar%23125!/:?] {re:classloading,pl:accesstransformer:B} at net.minecraft.server.level.ServerLevel.m7967(ServerLevel.java:760) ~[server-1.19.2-20220805.130853-srg.jar%23125!/:?] {re:classloading,pl:accesstransformer:B} at com.simibubi.create.content.contraptions.components.structureMovement.bearing.MechanicalBearingTileEntity.assemble(MechanicalBearingTileEntity.java:172) ~[create-1.19.2-0.5.0.i.jar%23111!/:0.5.0.i] {re:classloading} at com.simibubi.create.content.contraptions.components.structureMovement.bearing.MechanicalBearingTileEntity.tick(MechanicalBearingTileEntity.java:228) ~[create-1.19.2-0.5.0.i.jar%23111!/:0.5.0.i] {re:classloading} at com.simibubi.create.foundation.tileEntity.SmartTileEntityTicker.m155252(SmartTileEntityTicker.java:15) ~[create-1.19.2-0.5.0.i.jar%23111!/:0.5.0.i] {re:classloading} at net.minecraft.world.level.chunk.LevelChunk$BoundTickingBlockEntity.m142224(LevelChunk.java:687) ~[server-1.19.2-20220805.130853-srg.jar%23125!/:?] {re:classloading} at net.minecraft.world.level.chunk.LevelChunk$RebindableTickingBlockEntityWrapper.m142224(LevelChunk.java:780) ~[server-1.19.2-20220805.130853-srg.jar%23125!/:?] {re:classloading} at net.minecraft.world.level.Level.m46463(Level.java:446) ~[server-1.19.2-20220805.130853-srg.jar%23125!/:?] {re:classloading,pl:accesstransformer:B} at net.minecraft.server.level.ServerLevel.m8793(ServerLevel.java:331) ~[server-1.19.2-20220805.130853-srg.jar%23125!/:?] {re:classloading,pl:accesstransformer:B} at net.minecraft.server.MinecraftServer.m5703(MinecraftServer.java:866) ~[server-1.19.2-20220805.130853-srg.jar%23125!/:?] {re:classloading,pl:accesstransformer:B} at net.minecraft.server.dedicated.DedicatedServer.m5703(DedicatedServer.java:292) ~[server-1.19.2-20220805.130853-srg.jar%23125!/:?] {re:classloading,pl:accesstransformer:B} at net.minecraft.server.MinecraftServer.m5705(MinecraftServer.java:806) ~[server-1.19.2-20220805.130853-srg.jar%23125!/:?] {re:classloading,pl:accesstransformer:B} at net.minecraft.server.MinecraftServer.m130011(MinecraftServer.java:654) ~[server-1.19.2-20220805.130853-srg.jar%23125!/:?] {re:classloading,pl:accesstransformer:B} at net.minecraft.server.MinecraftServer.m206580(MinecraftServer.java:244) ~[server-1.19.2-20220805.130853-srg.jar%23125!/:?] {re:classloading,pl:accesstransformer:B} at java.lang.Thread.run(Thread.java:1623) [?:?] {} A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Thread: Server thread Stacktrace: at com.simibubi.create.foundation.utility.ContraptionData.packetSize(ContraptionData.java:53) ~[create-1.19.2-0.5.0.i.jar%23111!/:0.5.0.i] {re:classloading} at com.simibubi.create.foundation.utility.ContraptionData.isTooLargeForSync(ContraptionData.java:35) ~[create-1.19.2-0.5.0.i.jar%23111!/:0.5.0.i] {re:classloading} at com.simibubi.create.content.contraptions.components.structureMovement.AbstractContraptionEntity.writeSpawnData(AbstractContraptionEntity.java:599) ~[create-1.19.2-0.5.0.i.jar%23111!/:0.5.0.i] {re:classloading,pl:runtimedistcleaner:A} at net.minecraftforge.network.PlayMessages$SpawnEntity.encode(PlayMessages.java:112) ~[forge-1.19.2-43.2.11-universal.jar%23130!/:?] {re:classloading} at net.minecraftforge.network.simple.IndexedMessageCodec.lambda$tryEncode$4(IndexedMessageCodec.java:121) ~[forge-1.19.2-43.2.11-universal.jar%23130!/:?] {re:classloading} at java.util.Optional.ifPresent(Optional.java:178) ~[?:?] {} at net.minecraftforge.network.simple.IndexedMessageCodec.tryEncode(IndexedMessageCodec.java:119) ~[forge-1.19.2-43.2.11-universal.jar%23130!/:?] {re:classloading} at net.minecraftforge.network.simple.IndexedMessageCodec.build(IndexedMessageCodec.java:134) ~[forge-1.19.2-43.2.11-universal.jar%23130!/:?] {re:classloading} at net.minecraftforge.network.simple.SimpleChannel.encodeMessage(SimpleChannel.java:68) ~[forge-1.19.2-43.2.11-universal.jar%23130!/:?] {re:classloading} at net.minecraftforge.network.simple.SimpleChannel.toBuffer(SimpleChannel.java:81) ~[forge-1.19.2-43.2.11-universal.jar%23130!/:?] {re:classloading} at net.minecraftforge.network.simple.SimpleChannel.toVanillaPacket(SimpleChannel.java:112) ~[forge-1.19.2-43.2.11-universal.jar%23130!/:?] {re:classloading} at net.minecraftforge.network.NetworkHooks.getEntitySpawningPacket(NetworkHooks.java:71) ~[forge-1.19.2-43.2.11-universal.jar%23130!/:?] {re:classloading} at com.simibubi.create.content.contraptions.components.structureMovement.AbstractContraptionEntity.m5654(AbstractContraptionEntity.java:591) ~[create-1.19.2-0.5.0.i.jar%23111!/:0.5.0.i] {re:classloading,pl:runtimedistcleaner:A} at net.minecraft.server.level.ServerEntity.m8536(ServerEntity.java:206) ~[server-1.19.2-20220805.130853-srg.jar%23125!/:?] {re:classloading} at net.minecraft.server.level.ServerEntity.m8541(ServerEntity.java:196) ~[server-1.19.2-20220805.130853-srg.jar%23125!/:?] {re:classloading} at net.minecraft.server.level.ChunkMap$TrackedEntity.m140497(ChunkMap.java:1343) ~[server-1.19.2-20220805.130853-srg.jar%23125!/:?] {re:classloading,pl:accesstransformer:B} at net.minecraft.server.level.ChunkMap$TrackedEntity.m140487(ChunkMap.java:1371) ~[server-1.19.2-20220805.130853-srg.jar%23125!/:?] {re:classloading,pl:accesstransformer:B} at net.minecraft.server.level.ChunkMap.m140199(ChunkMap.java:1128) ~[server-1.19.2-20220805.130853-srg.jar%23125!/:?] {re:classloading,pl:accesstransformer:B} at net.minecraft.server.level.ServerChunkCache.m8463(ServerChunkCache.java:459) ~[server-1.19.2-20220805.130853-srg.jar%23125!/:?] {re:classloading,pl:accesstransformer:B} at net.minecraft.server.level.ServerLevel$EntityCallbacks.m141985(ServerLevel.java:1576) ~[server-1.19.2-20220805.130853-srg.jar%23125!/:?] {re:classloading} at net.minecraft.server.level.ServerLevel$EntityCallbacks.m141985(ServerLevel.java:1559) ~[server-1.19.2-20220805.130853-srg.jar%23125!/:?] {re:classloading} at net.minecraft.world.level.entity.PersistentEntitySectionManager.m157575(PersistentEntitySectionManager.java:136) ~[server-1.19.2-20220805.130853-srg.jar%23125!/:?] {re:classloading} at net.minecraft.world.level.entity.PersistentEntitySectionManager.addEntityWithoutEvent(PersistentEntitySectionManager.java:97) ~[server-1.19.2-20220805.130853-srg.jar%23125!/:?] {re:classloading} at net.minecraft.world.level.entity.PersistentEntitySectionManager.m157538(PersistentEntitySectionManager.java:80) ~[server-1.19.2-20220805.130853-srg.jar%23125!/:?] {re:classloading} at net.minecraft.world.level.entity.PersistentEntitySectionManager.m157533(PersistentEntitySectionManager.java:71) ~[server-1.19.2-20220805.130853-srg.jar%23125!/:?] {re:classloading} at net.minecraft.server.level.ServerLevel.m8872(ServerLevel.java:805) ~[server-1.19.2-20220805.130853-srg.jar%23125!/:?] {re:classloading,pl:accesstransformer:B} at net.minecraft.server.level.ServerLevel.m7967(ServerLevel.java:760) ~[server-1.19.2-20220805.130853-srg.jar%23125!/:?] {re:classloading,pl:accesstransformer:B} at com.simibubi.create.content.contraptions.components.structureMovement.bearing.MechanicalBearingTileEntity.assemble(MechanicalBearingTileEntity.java:172) ~[create-1.19.2-0.5.0.i.jar%23111!/:0.5.0.i] {re:classloading} at com.simibubi.create.content.contraptions.components.structureMovement.bearing.MechanicalBearingTileEntity.tick(MechanicalBearingTileEntity.java:228) ~[create-1.19.2-0.5.0.i.jar%23111!/:0.5.0.i] {re:classloading} at com.simibubi.create.foundation.tileEntity.SmartTileEntityTicker.m155252(SmartTileEntityTicker.java:15) ~[create-1.19.2-0.5.0.i.jar%23111!/:0.5.0.i] {re:classloading} at net.minecraft.world.level.chunk.LevelChunk$BoundTickingBlockEntity.m142224(LevelChunk.java:687) ~[server-1.19.2-20220805.130853-srg.jar%23125!/:?] {re:classloading} at net.minecraft.world.level.chunk.LevelChunk$RebindableTickingBlockEntityWrapper.m142224(LevelChunk.java:780) ~[server-1.19.2-20220805.130853-srg.jar%23125!/:?] {re:classloading} at net.minecraft.world.level.Level.m46463(Level.java:446) ~[server-1.19.2-20220805.130853-srg.jar%23125!/:?] {re:classloading,pl:accesstransformer:B} at net.minecraft.server.level.ServerLevel.m8793(ServerLevel.java:331) ~[server-1.19.2-20220805.130853-srg.jar%23125!/:?] {re:classloading,pl:accesstransformer:B} -- Block entity being ticked -- Details: Name: create:mechanical_bearing // com.simibubi.create.content.contraptions.components.structureMovement.bearing.MechanicalBearingTileEntity Block: Block{create:mechanical_bearing}[facing=up] Block location: World: (274,64,-168), Section: (at 2,0,8 in 17,4,-11; chunk contains blocks 272,-64,-176 to 287,319,-161), Region: (0,-1; contains chunks 0,-32 to 31,-1, blocks 0,-64,-512 to 511,319,-1) Block: Block{create:mechanical_bearing}[facing=up] Block location: World: (274,64,-168), Section: (at 2,0,8 in 17,4,-11; chunk contains blocks 272,-64,-176 to 287,319,-161), Region: (0,-1; contains chunks 0,-32 to 31,-1, blocks 0,-64,-512 to 511,319,-1) Stacktrace: at net.minecraft.world.level.chunk.LevelChunk$BoundTickingBlockEntity.m142224(LevelChunk.java:687) ~[server-1.19.2-20220805.130853-srg.jar%23125!/:?] {re:classloading} at net.minecraft.world.level.chunk.LevelChunk$RebindableTickingBlockEntityWrapper.m142224(LevelChunk.java:780) ~[server-1.19.2-20220805.130853-srg.jar%23125!/:?] {re:classloading} at net.minecraft.world.level.Level.m46463(Level.java:446) ~[server-1.19.2-20220805.130853-srg.jar%23125!/:?] {re:classloading,pl:accesstransformer:B} ... (107 lines left)

Operating System

Windows 10

Mod Version

0.5.0i

Minecraft Version

1.19.2

Forge Version

43.2.11

Other Mods

appleskin-forge-mc1.19-2.4.2.jar ars_nouveau-1.19.2-3.13.4.jar canary-mc1.19.2-0.1.10.jar create-1.19.2-0.5.0.i.jar CTM-1.19.2-1.1.6+8.jar Cucumber-1.19.2-6.0.6.jar curios-forge-1.19.2-5.1.4.1.jar dynamiclights-1.19.2.1.jar Female-Gender-Mod-forge-1.19.1-3.0.1.jar geckolib-forge-1.19-3.1.40.jar gravestone-1.19.2-1.0.1.jar ironchest-1.19.2-14.2.7.jar jei-1.19.2-forge-11.6.0.1015.jar JustEnoughResources-1.19.2-1.1.0.179.jar MysticalAgradditions-1.19.2-6.0.2.jar MysticalAgriculture-1.19.2-6.0.8.jar Patchouli-1.19.2-77.jar pluto-mc1.19.2-0.0.9.jar rubidium-0.6.2a.jar Xaeros_Minimap_23.4.1_Forge_1.19.1.jar XaerosWorldMap_1.30.1_Forge_1.19.1.jar

Additional Context

No response

jmtrichey commented 9 months ago

I am having this issue as well.

https://mcpaste.io/8176eb7b5caf373b