BCLib

BCLib

31M Downloads

[Bug] Incompatibiliy with FastRandom

Senjosei opened this issue ยท 0 comments

commented

What happened?

AnOpenSauceDev/FastRandom#34

I was making a modpack when i encountered this.

So if i have BetterX installed and use BetterX world gen
A. If tried to goto the nether, i just get stuck on the portal waiting for it to find a location to teleport me
B. If i then disable FastRandom and use the portal again, everything works and chunks generate
C. Then if i Re-enable FastRandom, I can go into the nether, but the chunks that werent generated before wont load, and if i goto an ungenerated chunk, it thread locks

Same-ish effect when going to the end but in A. it just thread locks. Heres the thread dump courtesy of ModernFix https://pastebin.com/6nVs0cri

BCLib

3.0.14

Fabric API

0.92.0

Fabric Loader

0.15.7

Minecraft

1.20.1

Relevant log output

"Worker-Main-21" daemon prio=4 Id=198 RUNNABLE
	at org.betterx.bclib.api.v2.generator.map.hex.HexBiomeChunk.<init>(HexBiomeChunk.java:49)
	at org.betterx.bclib.api.v2.generator.map.hex.HexBiomeMap.getChunk(HexBiomeMap.java:85)
	at org.betterx.bclib.api.v2.generator.map.hex.HexBiomeMap.getChunkBiome(HexBiomeMap.java:150)
	at org.betterx.bclib.api.v2.generator.map.hex.HexBiomeMap.getRawBiome(HexBiomeMap.java:125)
	at org.betterx.bclib.api.v2.generator.map.hex.HexBiomeMap.getBiome(HexBiomeMap.java:57)
	at org.betterx.bclib.api.v2.generator.BCLibEndBiomeSource.method_38109(BCLibEndBiomeSource.java:291)
	at net.minecraft.class_3195.method_41613(class_3195.java:147)
	at net.minecraft.class_3195.method_47931(class_3195.java:199)
	at net.minecraft.class_3195$$Lambda$39594/0x0000000804cd3d78.test(Unknown Source)
	at [email protected]/java.util.Optional.filter(Optional.java:218)
	at net.minecraft.class_3195.method_47932(class_3195.java:199)
	at net.minecraft.class_3195.method_41614(class_3195.java:125)
	at net.minecraft.class_2794.method_41044(class_2794.java:513)
	at net.minecraft.class_2794.method_41041(class_2794.java:466)
	at net.minecraft.class_2794$$Lambda$39580/0x0000000804cc9af0.accept(Unknown Source)
	at [email protected]/java.lang.Iterable.forEach(Iterable.java:75)
	at net.minecraft.class_2794.method_16129(class_2794.java:448)
	at net.minecraft.class_2806.method_39464(class_2806.java:54)
	at net.minecraft.class_2806$$Lambda$1770/0x000000080151b530.doWork(Unknown Source)
	at net.minecraft.class_2806.method_12154(class_2806.java:252)
	at net.minecraft.class_3898.method_17225(class_3898.java:684)
	at net.minecraft.class_3898$$Lambda$35748/0x0000000804785a90.apply(Unknown Source)
	at com.mojang.datafixers.util.Either$Left.map(Either.java:38)
	at net.minecraft.class_3898.method_17224(class_3898.java:673)
	at net.minecraft.class_3898$$Lambda$35601/0x0000000804756220.apply(Unknown Source)
	at [email protected]/java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1150)
	at [email protected]/java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482)
	at net.minecraft.class_3900.method_17634(class_3900.java:62)
	at net.minecraft.class_3900$$Lambda$35747/0x0000000804785870.run(Unknown Source)
	at net.minecraft.class_3846.method_16907(class_3846.java:91)
	at net.minecraft.class_3846.method_16900(class_3846.java:146)
	at net.minecraft.class_3846.run(class_3846.java:102)
	at [email protected]/java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1395)
	at [email protected]/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
	at [email protected]/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
	at [email protected]/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
	at [email protected]/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
	at [email protected]/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)

Other Mods

FastRandom
FabricAPI
BetterEnd
BetterNether
bclib
ModernFix (for thread dump)