YUNG's Better Dungeons (Forge)

YUNG's Better Dungeons (Forge)

65M Downloads

[1.18.1 -> 1.18.2] "Couldn't load chunk. Unknown structure." resulting in new chunk generation.

paulhlschr opened this issue ยท 2 comments

commented

Description

Harsh chunk borders generate while console/log of the server is bloated by the following.
The map was originally generated on Minecraft 1.18.1 using Better Dungeons 1.18.1-1.0.1.

[03May2022 13:56:28.305] [Server thread/ERROR] [net.minecraft.server.level.ChunkMap/]: Couldn't load chunk [-139, 114]
java.lang.IllegalStateException: Found unknown structure: betterdungeons:small_dungeon
	at net.minecraft.util.datafix.fixes.StructuresBecomeConfiguredFix.m_207723_(StructuresBecomeConfiguredFix.java:188) ~[server-1.18.2-20220404.173914-srg.jar%23130!/:?]
	at net.minecraft.util.datafix.fixes.StructuresBecomeConfiguredFix.m_207687_(StructuresBecomeConfiguredFix.java:181) ~[server-1.18.2-20220404.173914-srg.jar%23130!/:?]
	at com.mojang.datafixers.util.Pair.mapFirst(Pair.java:64) ~[datafixerupper-4.1.27.jar%2324!/:?]
	at net.minecraft.util.datafix.fixes.StructuresBecomeConfiguredFix.m_207710_(StructuresBecomeConfiguredFix.java:181) ~[server-1.18.2-20220404.173914-srg.jar%23130!/:?]
	at net.minecraft.util.datafix.fixes.StructuresBecomeConfiguredFix.m_207696_(StructuresBecomeConfiguredFix.java:177) ~[server-1.18.2-20220404.173914-srg.jar%23130!/:?]
	at com.mojang.serialization.Dynamic.lambda$null$4(Dynamic.java:71) ~[datafixerupper-4.1.27.jar%2324!/:?]
	at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) ~[?:?]
	at java.util.Iterator.forEachRemaining(Iterator.java:133) ~[?:?]
	at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1845) ~[?:?]
	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) ~[?:?]
	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) ~[?:?]
	at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921) ~[?:?]
	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?]
	at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682) ~[?:?]
	at com.mojang.serialization.Dynamic.lambda$updateMapValues$5(Dynamic.java:73) ~[datafixerupper-4.1.27.jar%2324!/:?]
	at com.mojang.datafixers.util.Either$Left.mapBoth(Either.java:33) ~[datafixerupper-4.1.27.jar%2324!/:?]
	at com.mojang.serialization.DataResult.map(DataResult.java:110) ~[datafixerupper-4.1.27.jar%2324!/:?]
	at com.mojang.serialization.Dynamic.updateMapValues(Dynamic.java:70) ~[datafixerupper-4.1.27.jar%2324!/:?]
	at net.minecraft.util.datafix.fixes.StructuresBecomeConfiguredFix.m_207716_(StructuresBecomeConfiguredFix.java:177) ~[server-1.18.2-20220404.173914-srg.jar%23130!/:?]
	at net.minecraft.util.datafix.fixes.StructuresBecomeConfiguredFix.m_207729_(StructuresBecomeConfiguredFix.java:137) ~[server-1.18.2-20220404.173914-srg.jar%23130!/:?]
	at com.mojang.serialization.Dynamic.lambda$null$13(Dynamic.java:136) ~[datafixerupper-4.1.27.jar%2324!/:?]
	at com.mojang.serialization.DynamicOps.lambda$update$21(DynamicOps.java:222) ~[datafixerupper-4.1.27.jar%2324!/:?]
	at com.mojang.datafixers.util.Either$Left.mapBoth(Either.java:33) ~[datafixerupper-4.1.27.jar%2324!/:?]
	at com.mojang.serialization.DataResult.map(DataResult.java:110) ~[datafixerupper-4.1.27.jar%2324!/:?]
	at com.mojang.serialization.DynamicOps.update(DynamicOps.java:222) ~[datafixerupper-4.1.27.jar%2324!/:?]
	at com.mojang.serialization.Dynamic.lambda$update$14(Dynamic.java:136) ~[datafixerupper-4.1.27.jar%2324!/:?]
	at com.mojang.serialization.Dynamic.map(Dynamic.java:36) ~[datafixerupper-4.1.27.jar%2324!/:?]
	at com.mojang.serialization.Dynamic.update(Dynamic.java:136) ~[datafixerupper-4.1.27.jar%2324!/:?]
	at net.minecraft.util.datafix.fixes.StructuresBecomeConfiguredFix.m_207726_(StructuresBecomeConfiguredFix.java:137) ~[server-1.18.2-20220404.173914-srg.jar%23130!/:?]
	at com.mojang.serialization.Dynamic.lambda$null$13(Dynamic.java:136) ~[datafixerupper-4.1.27.jar%2324!/:?]
	at com.mojang.serialization.DynamicOps.lambda$update$21(DynamicOps.java:222) ~[datafixerupper-4.1.27.jar%2324!/:?]
	at com.mojang.datafixers.util.Either$Left.mapBoth(Either.java:33) ~[datafixerupper-4.1.27.jar%2324!/:?]
	at com.mojang.serialization.DataResult.map(DataResult.java:110) ~[datafixerupper-4.1.27.jar%2324!/:?]
	at com.mojang.serialization.DynamicOps.update(DynamicOps.java:222) ~[datafixerupper-4.1.27.jar%2324!/:?]
	at com.mojang.serialization.Dynamic.lambda$update$14(Dynamic.java:136) ~[datafixerupper-4.1.27.jar%2324!/:?]
	at com.mojang.serialization.Dynamic.map(Dynamic.java:36) ~[datafixerupper-4.1.27.jar%2324!/:?]
	at com.mojang.serialization.Dynamic.update(Dynamic.java:136) ~[datafixerupper-4.1.27.jar%2324!/:?]
	at net.minecraft.util.datafix.fixes.StructuresBecomeConfiguredFix.m_207691_(StructuresBecomeConfiguredFix.java:134) ~[server-1.18.2-20220404.173914-srg.jar%23130!/:?]
	at com.mojang.datafixers.DataFix.lambda$null$1(DataFix.java:51) ~[datafixerupper-4.1.27.jar%2324!/:?]
	at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) ~[datafixerupper-4.1.27.jar%2324!/:?]
	at com.mojang.datafixers.types.Type.capWrite(Type.java:167) ~[datafixerupper-4.1.27.jar%2324!/:?]
	at com.mojang.datafixers.types.Type.lambda$readAndWrite$9(Type.java:159) ~[datafixerupper-4.1.27.jar%2324!/:?]
	at com.mojang.serialization.DataResult.lambda$flatMap$10(DataResult.java:138) ~[datafixerupper-4.1.27.jar%2324!/:?]
	at com.mojang.datafixers.util.Either$Left.map(Either.java:38) ~[datafixerupper-4.1.27.jar%2324!/:?]
	at com.mojang.serialization.DataResult.flatMap(DataResult.java:136) ~[datafixerupper-4.1.27.jar%2324!/:?]
	at com.mojang.datafixers.types.Type.readAndWrite(Type.java:158) ~[datafixerupper-4.1.27.jar%2324!/:?]
	at com.mojang.datafixers.DataFixerUpper.update(DataFixerUpper.java:84) ~[datafixerupper-4.1.27.jar%2324!/:?]
	at net.minecraft.nbt.NbtUtils.m_129218_(NbtUtils.java:488) ~[server-1.18.2-20220404.173914-srg.jar%23130!/:?]
	at net.minecraft.nbt.NbtUtils.m_129213_(NbtUtils.java:484) ~[server-1.18.2-20220404.173914-srg.jar%23130!/:?]
	at net.minecraft.world.level.chunk.storage.ChunkStorage.m_188288_(ChunkStorage.java:54) ~[server-1.18.2-20220404.173914-srg.jar%23130!/:?]
	at net.minecraft.server.level.ChunkMap.m_140427_(ChunkMap.java:902) ~[server-1.18.2-20220404.173914-srg.jar%23130!/:?]
	at net.minecraft.server.level.ChunkMap.m_203107_(ChunkMap.java:539) ~[server-1.18.2-20220404.173914-srg.jar%23130!/:?]
	at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ~[?:?]
	at net.minecraft.util.thread.BlockableEventLoop.m_6367_(BlockableEventLoop.java:157) ~[server-1.18.2-20220404.173914-srg.jar%23130!/:?]
	at net.minecraft.server.level.ServerChunkCache$MainThreadExecutor.m_6367_(ServerChunkCache.java:532) ~[server-1.18.2-20220404.173914-srg.jar%23130!/:?]
	at net.minecraft.util.thread.BlockableEventLoop.m_7245_(BlockableEventLoop.java:131) ~[server-1.18.2-20220404.173914-srg.jar%23130!/:?]
	at net.minecraft.server.level.ServerChunkCache$MainThreadExecutor.m_7245_(ServerChunkCache.java:540) ~[server-1.18.2-20220404.173914-srg.jar%23130!/:?]
	at net.minecraft.server.level.ServerChunkCache.m_8466_(ServerChunkCache.java:266) ~[server-1.18.2-20220404.173914-srg.jar%23130!/:?]
	at net.minecraft.server.MinecraftServer.m_129961_(MinecraftServer.java:787) ~[server-1.18.2-20220404.173914-srg.jar%23130!/:?]
	at net.minecraft.server.MinecraftServer.m_7245_(MinecraftServer.java:776) ~[server-1.18.2-20220404.173914-srg.jar%23130!/:?]
	at net.minecraft.util.thread.BlockableEventLoop.m_18699_(BlockableEventLoop.java:116) ~[server-1.18.2-20220404.173914-srg.jar%23130!/:?]
	at net.minecraft.server.MinecraftServer.m_130012_(MinecraftServer.java:761) ~[server-1.18.2-20220404.173914-srg.jar%23130!/:?]
	at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:689) ~[server-1.18.2-20220404.173914-srg.jar%23130!/:?]
	at net.minecraft.server.MinecraftServer.m_177918_(MinecraftServer.java:261) ~[server-1.18.2-20220404.173914-srg.jar%23130!/:?]
	at java.lang.Thread.run(Thread.java:833) [?:?]

Specifications

Minecraft 1.18.2
Forge 40.1.0
on a server-environment

Log Files

debug.log
latest.log

Screenshot

2022-05-03_14 09 02

Modlist

Actually Compatible
AI Improvements
AIOT Botania
Akashic Tome
Alex's Mobs
Apotheosis
AppleSkin
Ars Nouveau
AttributeFix
AutoRegLib
Balm (Forge Edition)
Bookshelf
Botania
Caelus API (Forge)
Carry On
Catalogue
Chisels & Bits - For Forge
Citadel
Cloth Config API (Forge)
Clumps
CobbleGenRandomizer
Compost
Configured
Corpse
Cosmetic Armor Reworked
Crafting Tweaks
Create Confectionery
Create Deco
Create Stuff Additions
Create
Create Crafts & Additions
Culinary Construct
Curio of Undying (Forge)
Curios API (Forge)
Curious Elytra (Forge)
Debugify
Decorative Blocks
Diet (Forge)
Duckling
Dynamic View[Forge/Fabric]
Ecologics
Enchantment Descriptions
Engineer's Decor
Entity Culling Fabric/Forge
Farmer's Delight
Farsight [Forge]
FastFurnace
FastSuite
FastWorkbench
FerriteCore (Forge)
Flywheel
Forbidden and Arcanus
GeckoLib
Hexerei
Immersive Engineering
Incendium
Jade Addons
Jade ๐Ÿ”
Just Enough Items (JEI)
JER Integration
Just Enough Effect Descriptions (JEED)
Just Enough Professions (JEP)
Just Enough Resources (JER)
Little Logistics
Lootr (Forge)
Macaw's Bridges
Macaw's Doors
Macaw's Fences and Walls
Macaw's Furniture
Macaw's Lights and Lamps
Macaw's Paintings
Macaw's Roofs
Macaw's Trapdoors
Macaw's Windows
Mod Name Tooltip
Mouse Tweaks
Nether's Delight
Not Enough Animations
Not Enough Crashes (Forge)
Pam's HarvestCraft 2 - Food Core
Patchouli
Pettable Bees (Forge)
Placebo
Plasmo Voice
Regrowth
Selene Lib
Shutup Experimental Settings!
Skin Layers 3D (Fabric/Forge)
Smooth Chunk Save
Sophisticated Backpacks
Sophisticated Core
Sound Physics Remastered
Storage Drawers
Supplementaries
Terralith
Valhelsia Core
Water Strainer
YUNG's API (Forge)
YUNG's Better Dungeons (Forge)
YUNG's Better Mineshafts (Forge)
YUNG's Better Strongholds (Forge)

commented

To add to this, I made screenshots from the old environment. The existence of the spider cave breaks the chunk when upgrading the world to 1.18.2.

2022-05-03_14 22 00
2022-05-03_14 22 42
2022-05-03_14 22 57

commented

I'm not sure why this happened; the structure names didn't change from 1.18.1 to 1.18.2. 1.18.2 did introduce some major changes in the way structures work and need to be registered, so perhaps I needed to add a DFU to allow players to update their worlds - but that's just speculation.

Gonna be marking this as won't fix. While ensuring worlds can always update to new versions is a big priority for Mojang, I unfortunately don't have the time to provide that guarantee. Sorry about that.