BetterEnd

BetterEnd

27M Downloads

Does this mod conflict with the "C2ME" mod?[Bug]

AyMeow opened this issue · 3 comments

commented

What happened?

It will cause the server to crash when loading the terminal outer island.

https://mclo.gs/i5fRw2d

BetterEnd

2.0.2

BCLib

2.0.5

Fabric API

0.56.0

Fabric Loader

0.14.8

Minecraft

1.19

Relevant log output

---- Minecraft Crash Report ----
// Why did you do that?

Time: 2022/6/19 下午5:24
Description: Accessing LegacyRandomSource from multiple threads

java.lang.IllegalStateException: Accessing LegacyRandomSource from multiple threads
	at net.minecraft.class_5798.method_33564(class_5798.java:84)
	at net.minecraft.class_5820.method_43156(class_5820.java:49)
	at net.minecraft.class_6566.method_43057(class_6566.java:56)
	at net.minecraft.class_3532.method_32750(class_3532.java:940)
	at net.minecraft.class_5866.method_33920(class_5866.java:45)
	at org.betterx.bclib.api.v2.levelgen.surface.rules.ThresholdCondition.test(ThresholdCondition.java:57)
	at org.betterx.bclib.api.v2.levelgen.surface.rules.SurfaceNoiseCondition$1Generator.method_39074(SurfaceNoiseCondition.java:23)
	at net.minecraft.class_6686$class_6702.method_39069(class_6686.java:243)
	at net.minecraft.class_6686$class_6717.tryApply(class_6686.java:374)
	at net.minecraft.class_6686$class_6709.tryApply(class_6686.java:537)
	at net.minecraft.class_6686$class_6717.tryApply(class_6686.java:377)
	at net.minecraft.class_6686$class_6709.tryApply(class_6686.java:537)
	at net.minecraft.class_6686$class_6717.tryApply(class_6686.java:377)
	at net.minecraft.class_6686$class_6709.tryApply(class_6686.java:537)
	at net.minecraft.class_6724.method_39106(class_6724.java:182)
	at net.minecraft.class_3754.method_41538(class_3754.java:255)
	at net.minecraft.class_3754.method_12110(class_3754.java:248)
	at net.minecraft.class_2806.method_16569(class_2806.java:123)
	at net.minecraft.class_2806$class_3768.doWork(class_2806.java:341)
	at net.minecraft.class_2806.md311783$lambda$runGenerationTask$0$5(class_2806.java:1601)
	at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768)
	at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1760)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
	at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
	at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Thread: Server thread
Stacktrace:
	at net.minecraft.class_5798.method_33564(class_5798.java:84)
	at net.minecraft.class_5820.method_43156(class_5820.java:49)
	at net.minecraft.class_6566.method_43057(class_6566.java:56)
	at net.minecraft.class_3532.method_32750(class_3532.java:940)
	at net.minecraft.class_5866.method_33920(class_5866.java:45)
	at org.betterx.bclib.api.v2.levelgen.surface.rules.ThresholdCondition.test(ThresholdCondition.java:57)
	at org.betterx.bclib.api.v2.levelgen.surface.rules.SurfaceNoiseCondition$1Generator.method_39074(SurfaceNoiseCondition.java:23)
	at net.minecraft.class_6686$class_6702.method_39069(class_6686.java:243)
	at net.minecraft.class_6686$class_6717.tryApply(class_6686.java:374)
	at net.minecraft.class_6686$class_6709.tryApply(class_6686.java:537)
	at net.minecraft.class_6686$class_6717.tryApply(class_6686.java:377)
	at net.minecraft.class_6686$class_6709.tryApply(class_6686.java:537)
	at net.minecraft.class_6686$class_6717.tryApply(class_6686.java:377)
	at net.minecraft.class_6686$class_6709.tryApply(class_6686.java:537)
	at net.minecraft.class_6724.method_39106(class_6724.java:182)
	at net.minecraft.class_3754.method_41538(class_3754.java:255)
	at net.minecraft.class_3754.method_12110(class_3754.java:248)
	at net.minecraft.class_2806.method_16569(class_2806.java:123)
	at net.minecraft.class_2806$class_3768.doWork(class_2806.java:341)
	at net.minecraft.class_2806.md311783$lambda$runGenerationTask$0$5(class_2806.java:1601)

-- Thread dumps --
Details:
	Thread dumps: C2ME worker #2: 
	at java.base/java.lang.Thread.getStackTrace(Thread.java:1610)
	at net.minecraft.class_5798.method_39936(class_5798.java:92)
	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
	at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179)
	at java.base/java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:992)
	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
	at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921)
	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682)
	at net.minecraft.class_5798.method_33564(class_5798.java:82)
	at net.minecraft.class_5820.method_43156(class_5820.java:49)
	at net.minecraft.class_6566.method_43057(class_6566.java:56)
	at net.minecraft.class_3532.method_32750(class_3532.java:940)
	at net.minecraft.class_5866.method_33920(class_5866.java:45)
	at org.betterx.bclib.api.v2.levelgen.surface.rules.ThresholdCondition.test(ThresholdCondition.java:57)
	at org.betterx.bclib.api.v2.levelgen.surface.rules.SurfaceNoiseCondition$1Generator.method_39074(SurfaceNoiseCondition.java:23)
	at net.minecraft.class_6686$class_6702.method_39069(class_6686.java:243)
	at net.minecraft.class_6686$class_6717.tryApply(class_6686.java:374)
	at net.minecraft.class_6686$class_6709.tryApply(class_6686.java:537)
	at net.minecraft.class_6686$class_6717.tryApply(class_6686.java:377)
	at net.minecraft.class_6686$class_6709.tryApply(class_6686.java:537)
	at net.minecraft.class_6686$class_6717.tryApply(class_6686.java:377)
	at net.minecraft.class_6686$class_6709.tryApply(class_6686.java:537)
	at net.minecraft.class_6724.method_39106(class_6724.java:182)
	at net.minecraft.class_3754.method_41538(class_3754.java:255)
	at net.minecraft.class_3754.method_12110(class_3754.java:248)
	at net.minecraft.class_2806.method_16569(class_2806.java:123)
	at net.minecraft.class_2806$class_3768.doWork(class_2806.java:341)
	at net.minecraft.class_2806.md311783$lambda$runGenerationTask$0$5(class_2806.java:1601)
	at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768)
	at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1760)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
	at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
	at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
Stacktrace:
	at net.minecraft.class_5798.method_33564(class_5798.java:84)
	at net.minecraft.class_5820.method_43156(class_5820.java:49)
	at net.minecraft.class_6566.method_43057(class_6566.java:56)
	at net.minecraft.class_3532.method_32750(class_3532.java:940)
	at net.minecraft.class_5866.method_33920(class_5866.java:45)
	at org.betterx.bclib.api.v2.levelgen.surface.rules.ThresholdCondition.test(ThresholdCondition.java:57)
	at org.betterx.bclib.api.v2.levelgen.surface.rules.SurfaceNoiseCondition$1Generator.method_39074(SurfaceNoiseCondition.java:23)
	at net.minecraft.class_6686$class_6702.method_39069(class_6686.java:243)
	at net.minecraft.class_6686$class_6717.tryApply(class_6686.java:374)
	at net.minecraft.class_6686$class_6709.tryApply(class_6686.java:537)
	at net.minecraft.class_6686$class_6717.tryApply(class_6686.java:377)
	at net.minecraft.class_6686$class_6709.tryApply(class_6686.java:537)
	at net.minecraft.class_6686$class_6717.tryApply(class_6686.java:377)
	at net.minecraft.class_6686$class_6709.tryApply(class_6686.java:537)
	at net.minecraft.class_6724.method_39106(class_6724.java:182)
	at net.minecraft.class_3754.method_41538(class_3754.java:255)
	at net.minecraft.class_3754.method_12110(class_3754.java:248)
	at net.minecraft.class_2806.method_16569(class_2806.java:123)
	at net.minecraft.class_2806$class_3768.doWork(class_2806.java:341)
	at net.minecraft.class_2806.md311783$lambda$runGenerationTask$0$5(class_2806.java:1601)
	at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768)
	at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1760)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
	at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
	at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)

-- Affected level --
Details:
	All players: 1 total; [class_3222['Anoxia_Z'/379, l='ServerLevel[world]', x=21.55, y=112.00, z=-1012.78]]
	Chunk stats: 4507
	Level dimension: minecraft:the_end
	Derived: true
	Level spawn location: World: (32,81,-64), Section: (at 0,1,0 in 2,5,-4; chunk contains blocks 32,0,-64 to 47,255,-49), Region: (0,-1; contains chunks 0,-32 to 31,-1, blocks 0,0,-512 to 511,255,-1)
	Level time: 9005 game time, 9005 day time
	Level name: world
	Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false
	Level weather: Rain time: 170455 (now: false), thunder time: 160094 (now: false)
	Known server brands: fabric
	Level was modded: true
	Level storage version: 0x04ABD - Anvil
Stacktrace:
	at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:878)
	at net.minecraft.class_3176.method_3813(class_3176.java:289)
	at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:819)
	at net.minecraft.server.MinecraftServer.handler$zjn000$modifiedRunLoop(MinecraftServer.java:3380)
	at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:644)
	at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:258)
	at java.base/java.lang.Thread.run(Thread.java:833)

-- System Details --
Details:
	Minecraft Version: 1.19
	Minecraft Version ID: 1.19
	Operating System: Windows 10 (amd64) version 10.0
	Java Version: 17.0.3, Azul Systems, Inc.
	Java VM Version: OpenJDK 64-Bit Server VM (mixed mode, sharing), Azul Systems, Inc.
	Memory: 1678256640 bytes (1600 MiB) / 4294967296 bytes (4096 MiB) up to 4294967296 bytes (4096 MiB)
	CPUs: 12
	Processor Vendor: GenuineIntel
	Processor Name: Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
	Identifier: Intel64 Family 6 Model 158 Stepping 10
	Microarchitecture: Coffee Lake
	Frequency (GHz): 2.59
	Number of physical packages: 1
	Number of physical CPUs: 6
	Number of logical CPUs: 12
	Graphics card #0 name: NVIDIA GeForce GTX 1650
	Graphics card #0 vendor: NVIDIA (0x10de)
	Graphics card #0 VRAM (MB): 4095.00
	Graphics card #0 deviceId: 0x1f91
	Graphics card #0 versionInfo: DriverVersion=31.0.15.1640
	Graphics card #1 name: Intel(R) UHD Graphics 630
	Graphics card #1 vendor: Intel Corporation (0x8086)
	Graphics card #1 VRAM (MB): 1024.00
	Graphics card #1 deviceId: 0x3e9b
	Graphics card #1 versionInfo: DriverVersion=30.0.100.9805
	Memory slot #0 capacity (MB): 8192.00
	Memory slot #0 clockSpeed (GHz): 2.67
	Memory slot #0 type: DDR4
	Memory slot #1 capacity (MB): 8192.00
	Memory slot #1 clockSpeed (GHz): 2.67
	Memory slot #1 type: DDR4
	Virtual memory max (MB): 36836.55
	Virtual memory used (MB): 30694.30
	Swap memory total (MB): 20595.01
	Swap memory used (MB): 2348.02
	JVM Flags: 2 total; -Xms4G -Xmx4G
	Fabric Mods: 
		bclib: BCLib 2.0.5
		betterend: Better End 2.0.2
		c2me: Concurrent Chunk Management Engine 0.2.0+alpha.8.0
			c2me-base: Concurrent Chunk Management Engine (Base) 0.2.0+alpha.8.0
			c2me-fixes-chunkio-threading-issues: Concurrent Chunk Management Engine (Fixes/Chunk IO/Threading Issues) 0.2.0+alpha.8.0
			c2me-fixes-general-threading-issues: Concurrent Chunk Management Engine (Fixes/General/Threading Issues) 0.2.0+alpha.8.0
			c2me-fixes-worldgen-threading-issues: Concurrent Chunk Management Engine (Fixes/WorldGen/Threading Issues) 0.2.0+alpha.8.0
			c2me-fixes-worldgen-vanilla-bugs: Concurrent Chunk Management Engine (Fixes/WorldGen/Vanilla Bugs) 0.2.0+alpha.8.0
			c2me-notickvd: Concurrent Chunk Management Engine (No Tick View Distance) 0.2.0+alpha.8.0
			c2me-opts-allocs: Concurrent Chunk Management Engine (Optimizations/Memory Allocations) 0.2.0+alpha.8.0
			c2me-opts-chunk-access: Concurrent Chunk Management Engine (Optimizations/Chunk Access) 0.2.0+alpha.8.0
			c2me-opts-chunkio: Concurrent Chunk Management Engine (Optimizations/Chunk IO) 0.2.0+alpha.8.0
			c2me-opts-math: Concurrent Chunk Management Engine (Optimizations/Math) 0.2.0+alpha.8.0
			c2me-opts-scheduling: Concurrent Chunk Management Engine (Optimizations/Scheduling) 0.2.0+alpha.8.0
			c2me-opts-worldgen-general: Concurrent Chunk Management Engine (Optimizations/General WorldGen) 0.2.0+alpha.8.0
			c2me-opts-worldgen-vanilla: Concurrent Chunk Management Engine (Optimizations/Vanilla WorldGen) 0.2.0+alpha.8.0
			c2me-rewrites-chunkio: Concurrent Chunk Management Engine (Rewrites/Chunk IO) 0.2.0+alpha.8.0
			c2me-server-utils: Concurrent Chunk Management Engine (Server Utils) 0.2.0+alpha.8.0
			c2me-threading-chunkio: Concurrent Chunk Management Engine (Threading/WorldGen) 0.2.0+alpha.8.0
			c2me-threading-lighting: Concurrent Chunk Management Engine (Threading/Lighting) 0.2.0+alpha.8.0
			c2me-threading-scheduling: Concurrent Chunk Management Engine (Threading/Scheduling) 0.2.0+alpha.8.0
			c2me-threading-worldgen: Concurrent Chunk Management Engine (Threading/WorldGen) 0.2.0+alpha.8.0
			com_electronwill_night-config_core: core 3.6.5
			com_electronwill_night-config_toml: toml 3.6.5
			com_ibm_async_asyncutil: asyncutil 0.1.0
			org_threadly_threadly: threadly 7.0
		carpet: Carpet Mod 1.4.79
		carpet-tis-addition: Carpet TIS Addition 1.37.0
			conditional-mixin: conditional mixin 0.3.0
			org_yaml_snakeyaml: snakeyaml 1.30
		endrem: End Remastered 5.1.0
		fabric: Fabric API 0.56.0+1.19
			fabric-api-base: Fabric API Base 0.4.9+e62f51a3a9
			fabric-api-lookup-api-v1: Fabric API Lookup API (v1) 1.6.7+9ff28f40a9
			fabric-biome-api-v1: Fabric Biome API (v1) 9.0.13+b2a4a624a9
			fabric-command-api-v1: Fabric Command API (v1) 1.2.5+f71b366fa9
			fabric-command-api-v2: Fabric Command API (v2) 2.1.1+cda9839ba9
			fabric-commands-v0: Fabric Commands (v0) 0.2.22+df3654b3a9
			fabric-containers-v0: Fabric Containers (v0) 0.1.27+df3654b3a9
			fabric-content-registries-v0: Fabric Content Registries (v0) 3.1.0+4a3ec384a9
			fabric-convention-tags-v1: Fabric Convention Tags 1.0.8+37622d24a9
			fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.2.3+bd0a0d4aa9
			fabric-data-generation-api-v1: Fabric Data Generation API (v1) 5.0.1+2a5b9210a9
			fabric-dimensions-v1: Fabric Dimensions API (v1) 2.1.27+72da3b3da9
			fabric-entity-events-v1: Fabric Entity Events (v1) 1.4.16+9ff28f40a9
			fabric-events-interaction-v0: Fabric Events Interaction (v0) 0.4.26+9ff28f40a9
			fabric-events-lifecycle-v0: Fabric Events Lifecycle (v0) 0.2.25+df3654b3a9
			fabric-game-rule-api-v1: Fabric Game Rule API (v1) 1.0.19+18990361a9
			fabric-item-api-v1: Fabric Item API (v1) 1.5.4+767db26ea9
			fabric-item-groups-v0: Fabric Item Groups (v0) 0.3.23+9ff28f40a9
			fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 2.1.0+33fbc738a9
			fabric-loot-api-v2: Fabric Loot API (v2) 1.0.1+9e7660c6a9
			fabric-loot-tables-v1: Fabric Loot Tables (v1) 1.1.1+9e7660c6a9
			fabric-message-api-v1: Fabric Message API (v1) 1.0.1+513f4a59a9
			fabric-mining-level-api-v1: Fabric Mining Level API (v1) 2.1.8+33fbc738a9
			fabric-networking-api-v1: Fabric Networking API (v1) 1.0.27+7fe97409a9
			fabric-networking-v0: Fabric Networking (v0) 0.3.14+df3654b3a9
			fabric-object-builder-api-v1: Fabric Object Builder API (v1) 4.0.5+9ff28f40a9
			fabric-particles-v1: Fabric Particles (v1) 1.0.8+dc39553aa9
			fabric-registry-sync-v0: Fabric Registry Sync (v0) 0.9.16+92cf9a3ea9
			fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.3.12+9ff28f40a9
			fabric-rendering-fluids-v1: Fabric Rendering Fluids (v1) 3.0.5+9ff28f40a9
			fabric-resource-conditions-api-v1: Fabric Resource Conditions API (v1) 2.0.9+e62f51a3a9
			fabric-resource-loader-v0: Fabric Resource Loader (v0) 0.5.3+9e7660c6a9
			fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.2.6+9ff28f40a9
			fabric-transfer-api-v1: Fabric Transfer API (v1) 2.0.9+e62f51a3a9
			fabric-transitive-access-wideners-v1: Fabric Transitive Access Wideners (v1) 1.1.1+9e7660c6a9
		fabricloader: Fabric Loader 0.14.8
		ferritecore: FerriteCore 4.2.1
		java: OpenJDK 64-Bit Server VM 17
		lithium: Lithium 0.8.0
		minecraft: Minecraft 1.19
		starlight: Starlight 1.1.1+fabric.ae22326
	Server Running: true
	Player Count: 1 / 20; [class_3222['Anoxia_Z'/379, l='ServerLevel[world]', x=21.55, y=112.00, z=-1012.78]]
	Data Packs: vanilla, Fabric Mods
	World Generation: Stable
	Is Modded: Definitely; Server brand changed to 'fabric'
	Type: Dedicated Server (map_server.txt)

Other Mods

carpet、carpet-TIS、lithium、end-remastered、sodium、ferritecore、starlight
commented

Should be fixed in 2.0.4. Please re-open this issue if you still have problems with the new release.

commented

Could you please try with the just Release 2.0.3 Version of BetterEnd? I think that issue should be fixed.

commented

Nevermind :)
The next release of BCLib (2.0.7) should fix the issue.