RegionScanner icon indicating copy to clipboard operation
RegionScanner copied to clipboard

Worldgen graph tab disappears when I use the generated world-gen.json

Open GoldMikeMan opened this issue 1 year ago • 1 comments

On Fabric 1.20.1

It works fine normally but when I use the scanner and put the file in the config folder the tab just disappears completely. Hoping you could shine some light on why if it's a user error problem but figured I should put it here in case it's something that needs fixing.

Attached is the log and the world-gen.json.

latest.log world-gen.json

GoldMikeMan avatar Jan 12 '25 14:01 GoldMikeMan

Hmm, interesting, never seen this error before. It seems that JER crashes here. Specifically, it might be related to BetterNether messing with biomes?

Caused by: java.lang.IllegalStateException: Errors during registry creation
	at net.minecraft.class_7877$class_7878.method_46798(class_7877.java:137) ~[client-intermediary.jar:?]
	at net.minecraft.class_7877.method_46780(class_7877.java:269) ~[client-intermediary.jar:?]
	at net.minecraft.class_7887.method_46817(class_7887.java:96) ~[client-intermediary.jar:?]
	at jeresources.api.util.BiomeHelper.getBiome(BiomeHelper.java:20) ~[JustEnoughResources-Fabric-1.20.1-1.4.0.247.jar:?]
	at jeresources.api.restrictions.BiomeRestriction.<init>(BiomeRestriction.java:46) ~[JustEnoughResources-Fabric-1.20.1-1.4.0.247.jar:?]
	at jeresources.api.restrictions.BiomeRestriction.<clinit>(BiomeRestriction.java:19) ~[JustEnoughResources-Fabric-1.20.1-1.4.0.247.jar:?]
	... 33 more
	Suppressed: java.lang.IllegalStateException: Unreferenced key: ResourceKey[minecraft:worldgen/biome / betternether:nether_mushroom_forest_edge]

(Why does this happen even though your world-gen.json mentions nothing about nether? I think because when there's no world-gen.json, readDIYData isn't called at all.)

So I think this is a JER problem. Searching in JER issues, there is already an issue for it, https://github.com/way2muchnoise/JustEnoughResources/issues/469 .

RundownRhino avatar Jan 13 '25 09:01 RundownRhino