Question Chunk Relocation

  • After careful consideration and due to limited usage, we’ve made the decision to discontinue the PaperMC forums. Moving forward, we recommend using Hangar for plugin uploads, and for all other community discussions and support, please join us on Discord.

liquidwater

New member
Jun 16, 2022
1
0
1
I'm having a problem with a custom world I've created and am trying to use on a server. In both Vanilla and Forge when generating chunks I get the error:

[11:50:55] [Server thread/ERROR] [minecraft/ChunkSerializer]: Chunk file at [543, -347] is in the wrong location; relocating. (Expected [543, -347], got [0, 0])

and

[14:08:33] [Server thread/WARN]: Failed to parse chunk [33, -310] position info
java.lang.ArrayIndexOutOfBoundsException: Index 0 out of bounds for length 0
at net.minecraft.world.level.chunk.storage.EntityStorage.readChunkPos(EntityStorage.java:72) ~[paper-1.19.jar:git-Paper-10]
at net.minecraft.world.level.chunk.storage.EntityStorage.lambda$loadEntities$0(EntityStorage.java:54) ~[paper-1.19.jar:git-Paper-10]
at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:646) ~[?:?]
at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482) ~[?:?]
at net.minecraft.util.thread.ProcessorMailbox.pollTask(ProcessorMailbox.java:87) ~[?:?]
at net.minecraft.util.thread.ProcessorMailbox.pollUntil(ProcessorMailbox.java:141) ~[?:?]
at net.minecraft.util.thread.ProcessorMailbox.run(ProcessorMailbox.java:96) ~[?:?]
at net.minecraft.server.TickTask.run(TickTask.java:18) ~[paper-1.19.jar:git-Paper-10]
at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:153) ~[?:?]
at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24) ~[?:?]
at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1358) ~[paper-1.19.jar:git-Paper-10]
at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:183) ~[paper-1.19.jar:git-Paper-10]
at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:126) ~[?:?]
at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1335) ~[paper-1.19.jar:git-Paper-10]
at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1328) ~[paper-1.19.jar:git-Paper-10]
at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:136) ~[?:?]
at net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:1306) ~[paper-1.19.jar:git-Paper-10]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1191) ~[paper-1.19.jar:git-Paper-10]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:302) ~[paper-1.19.jar:git-Paper-10]
at java.lang.Thread.run(Thread.java:833) ~[?:?]

This happens for EVERY single chunk. They are all listed at 0,0 and they are all relocated to the correct position. Re-entering chunks that have been relocated doesn't send the error a second time. However when switching the world to paper, rather than relocating chunks it instead regenerates them with this message.

[14:18:25] [Paper RegionFile IO Thread/WARN]: Data for local chunk (28,8) could not be recovered in regionfile /home/container/./Aldara5/region/r.18.-12.mca, it will be regenerated

Is there a way to have paper relocate rather than regenerate? Or is there some other way to fix this issue? A lot of time has gone into making this map and I'm reluctant to give up on it.
 
Last edited: