GregTechCEu Modern

GregTechCEu Modern

6M Downloads

Multiblock machines not loading properly on updating to latest snapshot

teh-banana opened this issue ยท 0 comments

commented

Checked for existing issues

  • I have checked for existing issues, and have found none.

Tested latest version

  • I have checked that this occurs on the latest version.

GregTech CEu Version

1.5.5-SNAPSHOT

Minecraft Version

1.20.1

Recipe Viewer Installed

EMI

Environment

Singleplayer

Cross-Mod Interaction

No

Other Installed Mods

Monifactory

Expected Behavior

Multiblock machines load when updating to latest version

Actual Behavior

Multiblocks dont load properly and can see through until you look at them

Steps to Reproduce

  1. have old world with multiblocks
  2. update gtm
  3. ???
  4. profit

Additional Information

image

Part of the latest.log:

[16Dec2024 13:39:26.823] [Server thread/ERROR] [net.minecraft.world.level.block.entity.BlockEntity/]: Failed to load data for block entity gtceu:hyperbolic_microverse_projector
java.lang.NullPointerException: Cannot invoke "com.gregtechceu.gtceu.api.capability.recipe.RecipeCapability.makeChanceCache()" because "val" is null
	at com.gregtechceu.gtceu.api.machine.trait.RecipeLogic.lambda$loadCustomPersistedData$2(RecipeLogic.java:613) ~[gtceu-1.20.1-1.5.5-SNAPSHOT.jar%23445!/:1.5.5-SNAPSHOT]
	at java.util.Map.computeIfAbsent(Unknown Source) ~[?:?]
	at com.gregtechceu.gtceu.api.machine.trait.RecipeLogic.loadCustomPersistedData(RecipeLogic.java:613) ~[gtceu-1.20.1-1.5.5-SNAPSHOT.jar%23445!/:1.5.5-SNAPSHOT]
	at com.gregtechceu.gtceu.api.machine.MetaMachine.loadCustomPersistedData(MetaMachine.java:219) ~[gtceu-1.20.1-1.5.5-SNAPSHOT.jar%23445!/:1.5.5-SNAPSHOT]
	at com.gregtechceu.gtceu.api.machine.IMachineBlockEntity.loadCustomPersistedData(IMachineBlockEntity.java:83) ~[gtceu-1.20.1-1.5.5-SNAPSHOT.jar%23445!/:1.5.5-SNAPSHOT]
	at com.lowdragmc.lowdraglib.syncdata.blockentity.IAutoPersistBlockEntity.loadManagedPersistentData(IAutoPersistBlockEntity.java:32) ~[ldlib-forge-1.20.1-1.0.33.b.jar%23469!/:?]
	at net.minecraft.world.level.block.entity.BlockEntity.handler$zhb000$injectLoad(BlockEntity.java:1044) ~[client-1.20.1-20230612.114412-srg.jar%23554!/:?]
	at net.minecraft.world.level.block.entity.BlockEntity.m_142466_(BlockEntity.java:56) ~[client-1.20.1-20230612.114412-srg.jar%23554!/:?]
	at com.gregtechceu.gtceu.api.blockentity.MetaMachineBlockEntity.m_142466_(MetaMachineBlockEntity.java:332) ~[gtceu-1.20.1-1.5.5-SNAPSHOT.jar%23445!/:1.5.5-SNAPSHOT]
	at net.minecraft.world.level.block.entity.BlockEntity.m_155246_(BlockEntity.java:122) ~[client-1.20.1-20230612.114412-srg.jar%23554!/:?]
	at java.util.Optional.map(Unknown Source) ~[?:?]
	at net.minecraft.world.level.block.entity.BlockEntity.m_155241_(BlockEntity.java:120) ~[client-1.20.1-20230612.114412-srg.jar%23554!/:?]
	at net.minecraft.world.level.chunk.storage.ChunkSerializer.m_196900_(ChunkSerializer.java:402) ~[client-1.20.1-20230612.114412-srg.jar%23554!/:?]
	at net.minecraft.world.level.chunk.LevelChunk.m_62952_(LevelChunk.java:438) ~[client-1.20.1-20230612.114412-srg.jar%23554!/:?]
	at net.minecraft.server.level.ChunkMap.mixinextras$bridge$m_62952_$143(ChunkMap.java) ~[client-1.20.1-20230612.114412-srg.jar%23554!/:?]
	at net.minecraft.server.level.ChunkMap.wrapOperation$zff000$setCurrentLoadingThenPostLoad(ChunkMap.java:1905) ~[client-1.20.1-20230612.114412-srg.jar%23554!/:?]
	at net.minecraft.server.level.ChunkMap.m_214854_(ChunkMap.java:715) ~[client-1.20.1-20230612.114412-srg.jar%23554!/:?]
	at com.mojang.datafixers.util.Either.lambda$mapLeft$0(Either.java:162) ~[datafixerupper-6.0.8.jar%23107!/:?]
	at com.mojang.datafixers.util.Either$Left.map(Either.java:38) ~[datafixerupper-6.0.8.jar%23107!/:?]
	at com.mojang.datafixers.util.Either.mapLeft(Either.java:162) ~[datafixerupper-6.0.8.jar%23107!/:?]
	at net.minecraft.server.level.ChunkMap.m_287044_(ChunkMap.java:699) ~[client-1.20.1-20230612.114412-srg.jar%23554!/:?]
	at java.util.concurrent.CompletableFuture$UniApply.tryFire(Unknown Source) ~[?:?]
	at java.util.concurrent.CompletableFuture$Completion.run(Unknown Source) ~[?:?]
	at net.minecraft.server.level.ChunkTaskPriorityQueueSorter.m_143188_(ChunkTaskPriorityQueueSorter.java:62) ~[client-1.20.1-20230612.114412-srg.jar%23554!/:?]
	at net.minecraft.util.thread.BlockableEventLoop.m_6367_(BlockableEventLoop.java:156) ~[client-1.20.1-20230612.114412-srg.jar%23554!/:?]
	at net.minecraft.server.level.ServerChunkCache$MainThreadExecutor.m_6367_(ServerChunkCache.java:541) ~[client-1.20.1-20230612.114412-srg.jar%23554!/:?]
	at net.minecraft.util.thread.BlockableEventLoop.m_7245_(BlockableEventLoop.java:130) ~[client-1.20.1-20230612.114412-srg.jar%23554!/:?]
	at net.minecraft.server.level.ServerChunkCache$MainThreadExecutor.m_7245_(ServerChunkCache.java:549) ~[client-1.20.1-20230612.114412-srg.jar%23554!/:?]
	at net.minecraft.server.level.ServerChunkCache.m_8466_(ServerChunkCache.java:269) ~[client-1.20.1-20230612.114412-srg.jar%23554!/:?]
	at net.minecraft.server.MinecraftServer.m_129961_(MinecraftServer.java:758) ~[client-1.20.1-20230612.114412-srg.jar%23554!/:?]
	at net.minecraft.server.MinecraftServer.m_7245_(MinecraftServer.java:747) ~[client-1.20.1-20230612.114412-srg.jar%23554!/:?]
	at net.minecraft.util.thread.BlockableEventLoop.m_18701_(BlockableEventLoop.java:139) ~[client-1.20.1-20230612.114412-srg.jar%23554!/:?]
	at net.minecraft.server.MinecraftServer.m_130012_(MinecraftServer.java:733) ~[client-1.20.1-20230612.114412-srg.jar%23554!/:?]
	at net.minecraft.server.MinecraftServer.m_129940_(MinecraftServer.java:459) ~[client-1.20.1-20230612.114412-srg.jar%23554!/:?]
	at net.minecraft.server.MinecraftServer.m_130006_(MinecraftServer.java:310) ~[client-1.20.1-20230612.114412-srg.jar%23554!/:?]
	at net.minecraft.client.server.IntegratedServer.m_7038_(IntegratedServer.java:63) ~[client-1.20.1-20230612.114412-srg.jar%23554!/:?]
	at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:634) ~[client-1.20.1-20230612.114412-srg.jar%23554!/:?]
	at net.minecraft.server.MinecraftServer.m_206580_(MinecraftServer.java:251) ~[client-1.20.1-20230612.114412-srg.jar%23554!/:?]
	at java.lang.Thread.run(Unknown Source) ~[?:?]