Chunk-Pregenerator

Mods
13,621,185 Downloads Last Updated: Aug 3, 2022 Game Version: 1.19   +3

black screen then crash 1.16.5 Modpack

#159 By  cronios

Created Jan 14, 2022 Updated Jan 16, 2022

Open

I created a modpack with a friend and I tried running chunk pregenerator multiple times but it keeps crashing.

/pregen start gen square Pregen3500 0 0 3500 minecraft:overworld

It pregened 15000 chunks perfectly fine but then suddenly it keeps getting a black screen and crashes.

 

Please help.

Jan 14, 2022

Please provide a crashlog.

Jan 14, 2022

https://drive.google.com/file/d/1GCM24GB8Acf1xhgSwn29ArBFAzkj8nDB/view?usp=sharing

 

I put the whole log into a PDF and this is a link to my google drive. I marked the lines where the pregen starts with '=====' The fastest way to get to this point in the log is with Strg+F 'Pregen3500'

 

I tested preloading with the previewer and it worked like a charm. But the limit is 1000 chunks.

 

Thank you for the fast response.

Jan 14, 2022

Yeah the PDF didn't help. It made it harder to read.

Never ever provide it as PDF again, it just makes it harder to read and mod devs most likely will not accept it.

 

But this isn't a chunkpregenerator bug.

One of your structure mods is broken that you have installed.

 

Sry I cant figure out more.

Jan 15, 2022

It crashed also with the preview. This time I got a crash-log which is much shorter. I uploaded the txt file, no PDF this time. Sorry for inconveniences.

https://drive.google.com/file/d/1bEZ5osZwORRtwhcvRtDY_v39nB7XuKaI/view?usp=sharing

Jan 15, 2022

I also found these lines in the latest log:

 

A detailed walkthrough of the error, its code path and all known details is as follows:A detailed walkthrough of the error, its code path and all known details is as follows:---------------------------------------------------------------------------------------
-- Head --Thread: Worker-Main-52Stacktrace: at java.util.Random.nextInt(Random.java:388) ~[?:1.8.0_51] {} at net.minecraft.world.gen.feature.structure.Structure.func_236392_a_(Structure.java:202) ~[?:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:the_bumblezone.mixins.json:world.StructureAccessor,pl:mixin:APP:byg.mixins.json:access.StructureAccess,pl:mixin:A} at net.minecraft.world.gen.feature.structure.Structure.func_242785_a(Structure.java:221) ~[?:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:the_bumblezone.mixins.json:world.StructureAccessor,pl:mixin:APP:byg.mixins.json:access.StructureAccess,pl:mixin:A} at net.minecraft.world.gen.feature.StructureFeature.func_242771_a(SourceFile:35) ~[?:?] {re:classloading,re:mixin} at net.minecraft.world.gen.ChunkGenerator.func_242705_a(SourceFile:278) ~[?:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:betternether.mixins.json:ChunkGeneratorMixin,pl:mixin:APP:yungsapi.mixins.json:ChunkGeneratorAccessor,pl:mixin:APP:repurposed_structures.mixins.json:world.ChunkGeneratorAccessor,pl:mixin:APP:endrem.mixins.json:world.DisableStrongholdMixin,pl:mixin:A} at net.minecraft.world.gen.ChunkGenerator.func_242707_a(SourceFile:267) ~[?:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:betternether.mixins.json:ChunkGeneratorMixin,pl:mixin:APP:yungsapi.mixins.json:ChunkGeneratorAccessor,pl:mixin:APP:repurposed_structures.mixins.json:world.ChunkGeneratorAccessor,pl:mixin:APP:endrem.mixins.json:world.DisableStrongholdMixin,pl:mixin:A} at net.minecraft.world.chunk.ChunkStatus.func_222586_d(ChunkStatus.java:41) ~[?:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:byg.mixins.json:common.world.ChunkStatusMixin,pl:mixin:A} at net.minecraft.world.chunk.ChunkStatus$$Lambda$2359/1715836373.doWork(Unknown Source) ~[?:?] {} at net.minecraft.world.chunk.ChunkStatus.func_223198_a(ChunkStatus.java:198) ~[?:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:byg.mixins.json:common.world.ChunkStatusMixin,pl:mixin:A}-- Chunk to be generated --Details: Location: 201,0 Position hash: 201 Generator: net.minecraft.world.gen.NoiseChunkGenerator@34ae2b31Stacktrace: at net.minecraft.world.server.ChunkManager.lambda$null$18(ChunkManager.java:524) ~[?:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:securitycraft.mixins.json:camera.ChunkManagerMixin,pl:mixin:A} at net.minecraft.world.server.ChunkManager$$Lambda$47166/1676636705.apply(Unknown Source) ~[?:?] {} at com.mojang.datafixers.util.Either$Left.map(Either.java:38) ~[datafixerupper-4.0.26.jar:?] {re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading} at net.minecraft.world.server.ChunkManager.lambda$scheduleChunkGeneration$20(ChunkManager.java:522) ~[?:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:securitycraft.mixins.json:camera.ChunkManagerMixin,pl:mixin:A} at net.minecraft.world.server.ChunkManager$$Lambda$47151/387274304.apply(Unknown Source) ~[?:?] {} at java.util.concurrent.CompletableFuture.uniCompose(CompletableFuture.java:952) ~[?:1.8.0_51] {} at java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:926) ~[?:1.8.0_51] {} at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:442) ~[?:1.8.0_51] {} at net.minecraft.world.chunk.ChunkTaskPriorityQueueSorter.func_219083_b(SourceFile:58) ~[?:?] {re:classloading} at net.minecraft.world.chunk.ChunkTaskPriorityQueueSorter$$Lambda$47164/340111959.run(Unknown Source) ~[?:?] {} at net.minecraft.util.concurrent.DelegatedTaskExecutor.func_213148_e(SourceFile:94) ~[?:?] {re:classloading} at net.minecraft.util.concurrent.DelegatedTaskExecutor.func_213145_a(SourceFile:137) ~[?:?] {re:classloading} at net.minecraft.util.concurrent.DelegatedTaskExecutor.run(SourceFile:105) ~[?:?] {re:classloading} at java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1402) ~[?:1.8.0_51] {} at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) ~[?:1.8.0_51] {} at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) ~[?:1.8.0_51] {} at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1689) ~[?:1.8.0_51] {re:computing_frames} at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157) ~[?:1.8.0_51] {}

 

 

 

I dont know if that means that bumblezone, better nether break the pregen?! Or YungsAPI?

Jan 15, 2022

Yeah in this case you have a structure mod installed that does not work properly. Because the structure itself crashes when it tries to generate.

From which mod it comes from is sadly not provided.

 

Sry I can't help you further. And thanks for  reuploading a crashlog. ^^"

 

What you can do is some testing. Remove the mods that obviously add structures and try again and slowly add these mods back in. the moment it crashes you know which mod is the cause for it.

 

Then I can help you by looking into the mod that causes the crash and either make a report for you or fix it on my side.

 

Sry ^^"

 

Jan 15, 2022

Ok I will do some testing. Thanks for the help.

 

Best regards.

Jan 16, 2022

When Dungeons Arise causes the pregen to break for some reason. I removed it and now it's working.


To post a comment, please login or register a new account.