Carpet Sky Additions

Carpet Sky Additions

122k Downloads

Game crash when loading chunks near strongholds

ysiad2001 opened this issue · 1 comments

commented

Issue on SkyBlock 2.0.1 Minecraft 1.16.1

Steps to Reproduce:

  1. Open a skyblock world with seed 4603566371101676834
  2. /locate stronghold, will get -280 -1624
  3. Go there by flying, the game crashes when crossing a chunk border. The crash report is attached at the end.

Something else Unexpected:

  1. When /teleport to that location, the game sometimes crash, but sometimes show other unexpected behaviour: unable to interact with the world, unable to see the portal frame, unable to save and quit.
  2. When I open a default world with the same seed, the /locate stronghold gives a different result. Not sure if this is intended.

P.S. This is the first time I do an issue report, sorry for any inconvenience if I do something wrong.

Crash Report

---- Minecraft Crash Report ----
// Hey, that tickles! Hehehe!

Time: 21-2-23 下午10:28
Description: Exception in server tick loop

java.util.concurrent.CompletionException: net.minecraft.class_148: Exception generating new chunk
at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273)
at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280)
at java.util.concurrent.CompletableFuture.uniCompose(CompletableFuture.java:961)
at java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:926)
at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:442)
at net.minecraft.class_3900.method_17634(class_3900.java:58)
at net.minecraft.class_3900$$Lambda$4633/2076037909.run(Unknown Source)
at net.minecraft.class_3846.method_16907(class_3846.java:94)
at net.minecraft.class_3846.method_16900(class_3846.java:137)
at net.minecraft.class_3846.run(class_3846.java:105)
at java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1402)
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1689)
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
Caused by: net.minecraft.class_148: Exception generating new chunk
at net.minecraft.class_3898.method_17225(class_3898.java:579)
at net.minecraft.class_3898$$Lambda$4668/1091089732.apply(Unknown Source)
at com.mojang.datafixers.util.Either$Left.map(Either.java:38)
at net.minecraft.class_3898.method_17224(class_3898.java:562)
at net.minecraft.class_3898$$Lambda$4665/1883850882.apply(Unknown Source)
at java.util.concurrent.CompletableFuture.uniCompose(CompletableFuture.java:952)
... 12 more
Caused by: java.lang.RuntimeException: We are asking a region for a chunk out of bound | -15 -101
at net.minecraft.class_3233.method_8402(class_3233.java:122)
at net.minecraft.class_4538.method_22342(class_4538.java:128)
at net.minecraft.class_3233.method_8392(class_3233.java:95)
at net.minecraft.class_4538.method_22350(class_4538.java:120)
at net.minecraft.class_3233.method_30092(class_3233.java:225)
at net.minecraft.class_1945.method_8652(class_1945.java:15)
at skyblock.SkyblockChunkGenerator.placeRelativeBlock(SkyblockChunkGenerator.java:157)
at skyblock.SkyblockChunkGenerator.generateStrongholdPortal(SkyblockChunkGenerator.java:186)
at skyblock.SkyblockChunkGenerator.lambda$generateFeatures$1(SkyblockChunkGenerator.java:145)
at skyblock.SkyblockChunkGenerator$$Lambda$4732/1421576843.accept(Unknown Source)
at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
at it.unimi.dsi.fastutil.longs.LongIterator$$Lambda$4733/1065418042.accept(Unknown Source)
at java.util.PrimitiveIterator$OfLong.forEachRemaining(PrimitiveIterator.java:189)
at it.unimi.dsi.fastutil.longs.LongIterator.forEachRemaining(LongIterator.java:53)
at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:512)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:502)
at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418)
at skyblock.SkyblockChunkGenerator.method_12102(SkyblockChunkGenerator.java:140)
at net.minecraft.class_2806.method_12151(class_2806.java:89)
at net.minecraft.class_2806$$Lambda$1747/972155388.doWork(Unknown Source)
at net.minecraft.class_2806.method_12154(class_2806.java:219)
at net.minecraft.class_3898.method_17225(class_3898.java:568)
... 17 more

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

-- System Details --
Details:
Minecraft Version: 1.16.1
Minecraft Version ID: 1.16.1
Operating System: Windows 10 (amd64) version 10.0
Java Version: 1.8.0_51, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 614290528 bytes (585 MB) / 2147483648 bytes (2048 MB) up to 2147483648 bytes (2048 MB)
CPUs: 8
JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
Fabric Mods:
carpet: Carpet Mod in Fabric 1.4.0
fabric: Fabric API 0.18.0+build.387-1.16.1
fabric-api-base: Fabric API Base 0.1.3+12a8474c02
fabric-biomes-v1: Fabric Biomes (v1) 0.2.7+059ea86602
fabric-blockrenderlayer-v1: Fabric BlockRenderLayer Registration (v1) 1.1.4+c6a8ea8902
fabric-command-api-v1: Fabric Command API (v1) 1.0.8+5ce5339802
fabric-commands-v0: Fabric Commands (v0) 0.2.0+52d3083602
fabric-containers-v0: Fabric Containers (v0) 0.1.8+045df74f02
fabric-content-registries-v0: Fabric Content Registries (v0) 0.1.9+059ea86602
fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.1.2+b7f9825d02
fabric-dimensions-v1: fabric-dimensions-v1 1.0.0+a71b305302
fabric-events-interaction-v0: Fabric Events Interaction (v0) 0.4.0+e540c58402
fabric-events-lifecycle-v0: Fabric Events Lifecycle (v0) 0.2.0+16acbe5b02
fabric-game-rule-api-v1: Fabric Game Rule API (v1) 1.0.0+fe81e12502
fabric-item-api-v1: Fabric Item API (v1) 1.0.0+16acbe5b02
fabric-item-groups-v0: Fabric Item Groups (v0) 0.2.0+438f963602
fabric-key-binding-api-v1: Fabric Key Binding API (v1) 1.0.1+f404f3be02
fabric-keybindings-v0: Fabric Key Bindings (v0) 0.2.0+3fa9f7c502
fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 1.2.0+e83e061c02
fabric-loot-tables-v1: Fabric Loot Tables (v1) 1.0.0+386eb69e02
fabric-mining-levels-v0: Fabric Mining Levels (v0) 0.1.2+b764ce9902
fabric-models-v0: Fabric Models (v0) 0.1.0+dfdb52d602
fabric-networking-blockentity-v0: Fabric Networking Block Entity (v0) 0.2.5+b50ffc7b02
fabric-networking-v0: Fabric Networking (v0) 0.1.10+e00ecb5f02
fabric-object-builder-api-v1: Fabric Object Builder API (v1) 1.5.7+2242e77202
fabric-object-builders-v0: Fabric Object Builders (v0) 0.6.1+a2d21ddd02
fabric-particles-v1: fabric-particles-v1 0.2.1+0a6f2a7002
fabric-registry-sync-v0: Fabric Registry Sync (v0) 0.3.8+7dba2d6c02
fabric-renderer-api-v1: Fabric Renderer API (v1) 0.2.13+eae12eb802
fabric-renderer-indigo: Fabric Renderer - Indigo 0.3.4+34d6c87102
fabric-renderer-registries-v1: Fabric Renderer Registries (v1) 2.1.0+be551d3c02
fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.1.3+b7f9825d02
fabric-rendering-fluids-v1: Fabric Rendering Fluids (v1) 0.1.8+b7084faa02
fabric-rendering-v0: Fabric Rendering (v0) 1.1.0+5341049002
fabric-rendering-v1: Fabric Rendering (v1) 1.1.2+346247d702
fabric-resource-loader-v0: Fabric Resource Loader (v0) 0.2.6+f41e209802
fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.1.0+97324d1102
fabric-tag-extensions-v0: Fabric Tag Extensions (v0) 0.2.7+a4c57d8e02
fabric-textures-v0: Fabric Textures (v0) 1.0.4+eae12eb802
fabric-tool-attribute-api-v1: Fabric Tool Attribute API (v1) 1.2.1+91fca5cd02
fabricloader: Fabric Loader 0.10.8
itemscroller: Item Scroller 0.15.0-dev.20200630.022843
litematica: Litematica 0.0.0-dev.20200711.162756
malilib: MaLiLib 0.10.0-dev.21+arne.1
minecraft: Minecraft 1.16.1
minihud: MiniHUD 0.19.0-dev.20200701.005153
skyblock: SkyBlock 2.0.1
sodium: Sodium 0.1.0
tweakeroo: Tweakeroo 0.10.0-dev.20200630.023405
Player Count: 1 / 8; [class_3222['Ysiad2001'/2, l='ServerLevel[New World]', x=-164.55, y=65.20, z=-1592.58]]
Data Packs: vanilla (incompatible), fabric/fabric-tool-attribute-api-v1
Type: Integrated Server (map_client.txt)
Is Modded: Definitely; Client brand changed to 'fabric'

commented

I've published a release that should fix this. Your issue report was great. Thanks for reporting.