Minecarts cause chunks to be corrupted/reset when loading worlds from before 1.5 (13w02a)
May relate to MC-134115 due to 1.13 changes being the current suspect.
The bug
In 13w02a, changes were made to the minecart entity ID. World saves from this version onwards can be safely upgraded to the current version (1.18.2). However, worlds from 13w01b or earlier (back to 12w07a) will cause any chunk that contains a minecart to be completely reset.
How to reproduce
This is as simple as creating a world in 13w01b or earlier, placing a minecart, and then loading that world in the latest version.
Example case
The following is a link to a world save last played in Java Edition 1.4.7 (the file size is rather large so it may be worth making a dedicated world yourself):
http://www.mediafire.com/file/pp1h388kzu2n7p7/Dataless822s_Survival_World_v1.0.zip/file
When loaded up and played in version 1.4.7, it plays completely fine. However, when loaded in the latest supported version, several chunks in the world fail to load, and are replaced with newly generated chunks. In pre-13w02a, the game log also produces errors indicating this:
Couldn't load chunk [-19, 14] java.lang.ClassCastException: class com.mojang.serialization.DataResult cannot be cast to class com.mojang.datafixers.util.Pair (com.mojang.serialization.DataResult and com.mojang.datafixers.util.Pair are in unnamed module of loader 'app') at com.mojang.datafixers.optics.Proj2.view(Proj2.java:7) at com.mojang.datafixers.optics.Lens.lambda$null$0(Lens.java:48) at com.mojang.datafixers.optics.Affine$Instance.lambda$null$0(Affine.java:45) at com.mojang.datafixers.optics.Optics$5.preview(Optics.java:117) at com.mojang.datafixers.types.templates.TaggedChoice$TaggedChoiceType$2.capPreview(TaggedChoice.java:283) at com.mojang.datafixers.types.templates.TaggedChoice$TaggedChoiceType$2.preview(TaggedChoice.java:278) at com.mojang.datafixers.types.templates.TaggedChoice$TaggedChoiceType$2.preview(TaggedChoice.java:271) at com.mojang.datafixers.optics.Affine.lambda$null$2(Affine.java:34) at com.mojang.datafixers.optics.Traversal$Instance$1.lambda$wander$0(Traversal.java:34) at com.mojang.datafixers.util.Pair$Instance.traverse(Pair.java:90) at com.mojang.datafixers.optics.profunctors.TraversalP$1.lambda$wander$0(TraversalP.java:50) at com.mojang.datafixers.optics.Traversal$Instance$1.lambda$wander$0(Traversal.java:34) at com.mojang.datafixers.optics.Traversal$Instance$1.lambda$wander$0(Traversal.java:34) at com.mojang.datafixers.Typed.updateCap(Typed.java:164) at com.mojang.datafixers.Typed.update(Typed.java:138) at com.mojang.datafixers.Typed.update(Typed.java:133) at akb.a(SourceFile:18) at com.mojang.datafixers.DataFix.lambda$null$3(DataFix.java:86) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.util.Either.lambda$mapRight$1(Either.java:166) at com.mojang.datafixers.util.Either$Right.map(Either.java:99) at com.mojang.datafixers.util.Either.mapRight(Either.java:166) at com.mojang.datafixers.FunctionType$Instance.lambda$right$6(FunctionType.java:104) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.util.Either.lambda$mapRight$1(Either.java:166) at com.mojang.datafixers.util.Either$Right.map(Either.java:99) at com.mojang.datafixers.util.Either.mapRight(Either.java:166) at com.mojang.datafixers.FunctionType$Instance.lambda$right$6(FunctionType.java:104) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.util.Either.lambda$mapRight$1(Either.java:166) at com.mojang.datafixers.util.Either$Right.map(Either.java:99) at com.mojang.datafixers.util.Either.mapRight(Either.java:166) at com.mojang.datafixers.FunctionType$Instance.lambda$right$6(FunctionType.java:104) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.util.Either.lambda$mapRight$1(Either.java:166) at com.mojang.datafixers.util.Either$Right.map(Either.java:99) at com.mojang.datafixers.util.Either.mapRight(Either.java:166) at com.mojang.datafixers.FunctionType$Instance.lambda$right$6(FunctionType.java:104) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.util.Either.lambda$mapRight$1(Either.java:166) at com.mojang.datafixers.util.Either$Right.map(Either.java:99) at com.mojang.datafixers.util.Either.mapRight(Either.java:166) at com.mojang.datafixers.FunctionType$Instance.lambda$right$6(FunctionType.java:104) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Fold.lambda$null$2(Fold.java:48) at com.mojang.datafixers.FunctionType$Instance.lambda$first$1(FunctionType.java:81) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.FunctionType$Instance.lambda$first$1(FunctionType.java:81) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.util.Either.lambda$mapRight$1(Either.java:166) at com.mojang.datafixers.util.Either$Right.map(Either.java:99) at com.mojang.datafixers.util.Either.mapRight(Either.java:166) at com.mojang.datafixers.FunctionType$Instance.lambda$right$6(FunctionType.java:104) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.util.Either.lambda$mapRight$1(Either.java:166) at com.mojang.datafixers.util.Either$Right.map(Either.java:99) at com.mojang.datafixers.util.Either.mapRight(Either.java:166) at com.mojang.datafixers.FunctionType$Instance.lambda$right$6(FunctionType.java:104) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Fold.lambda$null$2(Fold.java:48) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.FunctionType$Instance.lambda$null$3(FunctionType.java:93) at com.mojang.datafixers.optics.ListTraversal.lambda$wander$0(ListTraversal.java:19) at com.mojang.datafixers.FunctionType$Instance.lambda$wander$4(FunctionType.java:94) at com.mojang.datafixers.util.Either.lambda$mapRight$1(Either.java:166) at com.mojang.datafixers.util.Either$Right.map(Either.java:99) at com.mojang.datafixers.util.Either.mapRight(Either.java:166) at com.mojang.datafixers.FunctionType$Instance.lambda$right$6(FunctionType.java:104) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.FunctionType$Instance.lambda$first$1(FunctionType.java:81) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.FunctionType$Instance.lambda$first$1(FunctionType.java:81) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.FunctionType$Instance.lambda$first$1(FunctionType.java:81) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.types.Type.capWrite(Type.java:167) at com.mojang.datafixers.types.Type.lambda$readAndWrite$9(Type.java:159) at com.mojang.serialization.DataResult.lambda$flatMap$10(DataResult.java:138) at com.mojang.datafixers.util.Either$Left.map(Either.java:38) at com.mojang.serialization.DataResult.flatMap(DataResult.java:136) at com.mojang.datafixers.types.Type.readAndWrite(Type.java:158) at com.mojang.datafixers.DataFixerUpper.update(DataFixerUpper.java:84) at nm.a(SourceFile:488) at cnk.a(SourceFile:37) at abe.i(SourceFile:831) at abe.l(SourceFile:508) at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1764) at aqv.c(SourceFile:151) at abp$a.c(SourceFile:528) at aqv.z(SourceFile:125) at abp$a.z(SourceFile:537) at abp.d(SourceFile:280) at net.minecraft.server.MinecraftServer.bf(SourceFile:776) at net.minecraft.server.MinecraftServer.z(SourceFile:764) at aqv.c(SourceFile:134) at net.minecraft.server.MinecraftServer.y(SourceFile:749) at net.minecraft.server.MinecraftServer.b(SourceFile:521) at net.minecraft.server.MinecraftServer.e_(SourceFile:353) at faq.e(SourceFile:71) at net.minecraft.server.MinecraftServer.x(SourceFile:670) at net.minecraft.server.MinecraftServer.a(SourceFile:270) at java.base/java.lang.Thread.run(Thread.java:831)
Indeed, chunk [-19, 14] is in fact corrupted:
Expected results
Upgrading world would work regardless of whether a given chunk contains a minecart or not. Upgrading worlds (especially pure vanilla Survival worlds) should be as safe of a process as possible and cause no unexpected damage unrelated to intended game mechanic changes.
Actual results
The chunks containing a minecart are just completely reset. No attempt is made to even keep the terrain and delete the entity, the whole chunk is just gone.
Workarounds
This can be avoided by loading the world in a slightly later version (probably 13w02a to 17w46a but I can't be sure of it; 1.6.4 definitely works though) before the latest version, as this should convert the minecarts over to the new format which the current version can understand.
Created Issue:
Loading a world from 1.4.7 causes certain chunks to be corrupted and reset if a minecart exists anywhere in that chunk
May relate to
MC-134115due to 1.13 changes being the current suspect.The following is a link to a world save last played in Java Edition 1.4.7:
http://www.mediafire.com/file/pp1h388kzu2n7p7/Dataless822s_Survival_World_v1.0.zip/fileWhen loaded up and played in version 1.4.7, it plays completely fine. However, when played on newer versions (likely 1.13 and up judging by the game logs, due to referencing datafixers; first experienced on 1.16.5 optifine but also does affect 1.17.1 vanilla, the latest supported version), several chunks in the world fail to load, and are replaced with newly generated chunks. The chunks in question appear to correlate with chunks which contain a minecart or related such entity within.
I cannot seem to find any other reports of this.
Example outputCouldn't load chunk [-19, 14] java.lang.ClassCastException: class com.mojang.serialization.DataResult cannot be cast to class com.mojang.datafixers.util.Pair (com.mojang.serialization.DataResult and com.mojang.datafixers.util.Pair are in unnamed module of loader 'app') at com.mojang.datafixers.optics.Proj2.view(Proj2.java:7) at com.mojang.datafixers.optics.Lens.lambda$null$0(Lens.java:48) at com.mojang.datafixers.optics.Affine$Instance.lambda$null$0(Affine.java:45) at com.mojang.datafixers.optics.Optics$5.preview(Optics.java:117) at com.mojang.datafixers.types.templates.TaggedChoice$TaggedChoiceType$2.capPreview(TaggedChoice.java:283) at com.mojang.datafixers.types.templates.TaggedChoice$TaggedChoiceType$2.preview(TaggedChoice.java:278) at com.mojang.datafixers.types.templates.TaggedChoice$TaggedChoiceType$2.preview(TaggedChoice.java:271) at com.mojang.datafixers.optics.Affine.lambda$null$2(Affine.java:34) at com.mojang.datafixers.optics.Traversal$Instance$1.lambda$wander$0(Traversal.java:34) at com.mojang.datafixers.util.Pair$Instance.traverse(Pair.java:90) at com.mojang.datafixers.optics.profunctors.TraversalP$1.lambda$wander$0(TraversalP.java:50) at com.mojang.datafixers.optics.Traversal$Instance$1.lambda$wander$0(Traversal.java:34) at com.mojang.datafixers.optics.Traversal$Instance$1.lambda$wander$0(Traversal.java:34) at com.mojang.datafixers.Typed.updateCap(Typed.java:164) at com.mojang.datafixers.Typed.update(Typed.java:138) at com.mojang.datafixers.Typed.update(Typed.java:133) at akb.a(SourceFile:18) at com.mojang.datafixers.DataFix.lambda$null$3(DataFix.java:86) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.util.Either.lambda$mapRight$1(Either.java:166) at com.mojang.datafixers.util.Either$Right.map(Either.java:99) at com.mojang.datafixers.util.Either.mapRight(Either.java:166) at com.mojang.datafixers.FunctionType$Instance.lambda$right$6(FunctionType.java:104) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.util.Either.lambda$mapRight$1(Either.java:166) at com.mojang.datafixers.util.Either$Right.map(Either.java:99) at com.mojang.datafixers.util.Either.mapRight(Either.java:166) at com.mojang.datafixers.FunctionType$Instance.lambda$right$6(FunctionType.java:104) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.util.Either.lambda$mapRight$1(Either.java:166) at com.mojang.datafixers.util.Either$Right.map(Either.java:99) at com.mojang.datafixers.util.Either.mapRight(Either.java:166) at com.mojang.datafixers.FunctionType$Instance.lambda$right$6(FunctionType.java:104) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.util.Either.lambda$mapRight$1(Either.java:166) at com.mojang.datafixers.util.Either$Right.map(Either.java:99) at com.mojang.datafixers.util.Either.mapRight(Either.java:166) at com.mojang.datafixers.FunctionType$Instance.lambda$right$6(FunctionType.java:104) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.util.Either.lambda$mapRight$1(Either.java:166) at com.mojang.datafixers.util.Either$Right.map(Either.java:99) at com.mojang.datafixers.util.Either.mapRight(Either.java:166) at com.mojang.datafixers.FunctionType$Instance.lambda$right$6(FunctionType.java:104) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Fold.lambda$null$2(Fold.java:48) at com.mojang.datafixers.FunctionType$Instance.lambda$first$1(FunctionType.java:81) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.FunctionType$Instance.lambda$first$1(FunctionType.java:81) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.util.Either.lambda$mapRight$1(Either.java:166) at com.mojang.datafixers.util.Either$Right.map(Either.java:99) at com.mojang.datafixers.util.Either.mapRight(Either.java:166) at com.mojang.datafixers.FunctionType$Instance.lambda$right$6(FunctionType.java:104) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.util.Either.lambda$mapRight$1(Either.java:166) at com.mojang.datafixers.util.Either$Right.map(Either.java:99) at com.mojang.datafixers.util.Either.mapRight(Either.java:166) at com.mojang.datafixers.FunctionType$Instance.lambda$right$6(FunctionType.java:104) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Fold.lambda$null$2(Fold.java:48) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.FunctionType$Instance.lambda$null$3(FunctionType.java:93) at com.mojang.datafixers.optics.ListTraversal.lambda$wander$0(ListTraversal.java:19) at com.mojang.datafixers.FunctionType$Instance.lambda$wander$4(FunctionType.java:94) at com.mojang.datafixers.util.Either.lambda$mapRight$1(Either.java:166) at com.mojang.datafixers.util.Either$Right.map(Either.java:99) at com.mojang.datafixers.util.Either.mapRight(Either.java:166) at com.mojang.datafixers.FunctionType$Instance.lambda$right$6(FunctionType.java:104) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.FunctionType$Instance.lambda$first$1(FunctionType.java:81) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.FunctionType$Instance.lambda$first$1(FunctionType.java:81) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.FunctionType$Instance.lambda$first$1(FunctionType.java:81) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.types.Type.capWrite(Type.java:167) at com.mojang.datafixers.types.Type.lambda$readAndWrite$9(Type.java:159) at com.mojang.serialization.DataResult.lambda$flatMap$10(DataResult.java:138) at com.mojang.datafixers.util.Either$Left.map(Either.java:38) at com.mojang.serialization.DataResult.flatMap(DataResult.java:136) at com.mojang.datafixers.types.Type.readAndWrite(Type.java:158) at com.mojang.datafixers.DataFixerUpper.update(DataFixerUpper.java:84) at nm.a(SourceFile:488) at cnk.a(SourceFile:37) at abe.i(SourceFile:831) at abe.l(SourceFile:508) at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1764) at aqv.c(SourceFile:151) at abp$a.c(SourceFile:528) at aqv.z(SourceFile:125) at abp$a.z(SourceFile:537) at abp.d(SourceFile:280) at net.minecraft.server.MinecraftServer.bf(SourceFile:776) at net.minecraft.server.MinecraftServer.z(SourceFile:764) at aqv.c(SourceFile:134) at net.minecraft.server.MinecraftServer.y(SourceFile:749) at net.minecraft.server.MinecraftServer.b(SourceFile:521) at net.minecraft.server.MinecraftServer.e_(SourceFile:353) at faq.e(SourceFile:71) at net.minecraft.server.MinecraftServer.x(SourceFile:670) at net.minecraft.server.MinecraftServer.a(SourceFile:270) at java.base/java.lang.Thread.run(Thread.java:831)A screenshot showing the chunk in question is also attached.
May relate to
MC-134115due to 1.13 changes being the current suspect.The following is a link to a world save last played in Java Edition 1.4.7:
http://www.mediafire.com/file/pp1h388kzu2n7p7/Dataless822s_Survival_World_v1.0.zip/fileWhen loaded up and played in version 1.4.7, it plays completely fine. However, when played on newer versions (likely 1.13 and up judging by the game logs, due to referencing datafixers; first experienced on 1.16.5 optifine but also does affect 1.17.1 vanilla, the latest supported version), several chunks in the world fail to load, and are replaced with newly generated chunks. The chunks in question appear to correlate with chunks which contain a minecart or related such entity within.
I cannot seem to find any other reports of this.
Example outputCouldn't load chunk [-19, 14] java.lang.ClassCastException: class com.mojang.serialization.DataResult cannot be cast to class com.mojang.datafixers.util.Pair (com.mojang.serialization.DataResult and com.mojang.datafixers.util.Pair are in unnamed module of loader 'app') at com.mojang.datafixers.optics.Proj2.view(Proj2.java:7) at com.mojang.datafixers.optics.Lens.lambda$null$0(Lens.java:48) at com.mojang.datafixers.optics.Affine$Instance.lambda$null$0(Affine.java:45) at com.mojang.datafixers.optics.Optics$5.preview(Optics.java:117) at com.mojang.datafixers.types.templates.TaggedChoice$TaggedChoiceType$2.capPreview(TaggedChoice.java:283) at com.mojang.datafixers.types.templates.TaggedChoice$TaggedChoiceType$2.preview(TaggedChoice.java:278) at com.mojang.datafixers.types.templates.TaggedChoice$TaggedChoiceType$2.preview(TaggedChoice.java:271) at com.mojang.datafixers.optics.Affine.lambda$null$2(Affine.java:34) at com.mojang.datafixers.optics.Traversal$Instance$1.lambda$wander$0(Traversal.java:34) at com.mojang.datafixers.util.Pair$Instance.traverse(Pair.java:90) at com.mojang.datafixers.optics.profunctors.TraversalP$1.lambda$wander$0(TraversalP.java:50) at com.mojang.datafixers.optics.Traversal$Instance$1.lambda$wander$0(Traversal.java:34) at com.mojang.datafixers.optics.Traversal$Instance$1.lambda$wander$0(Traversal.java:34) at com.mojang.datafixers.Typed.updateCap(Typed.java:164) at com.mojang.datafixers.Typed.update(Typed.java:138) at com.mojang.datafixers.Typed.update(Typed.java:133) at akb.a(SourceFile:18) at com.mojang.datafixers.DataFix.lambda$null$3(DataFix.java:86) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.util.Either.lambda$mapRight$1(Either.java:166) at com.mojang.datafixers.util.Either$Right.map(Either.java:99) at com.mojang.datafixers.util.Either.mapRight(Either.java:166) at com.mojang.datafixers.FunctionType$Instance.lambda$right$6(FunctionType.java:104) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.util.Either.lambda$mapRight$1(Either.java:166) at com.mojang.datafixers.util.Either$Right.map(Either.java:99) at com.mojang.datafixers.util.Either.mapRight(Either.java:166) at com.mojang.datafixers.FunctionType$Instance.lambda$right$6(FunctionType.java:104) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.util.Either.lambda$mapRight$1(Either.java:166) at com.mojang.datafixers.util.Either$Right.map(Either.java:99) at com.mojang.datafixers.util.Either.mapRight(Either.java:166) at com.mojang.datafixers.FunctionType$Instance.lambda$right$6(FunctionType.java:104) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.util.Either.lambda$mapRight$1(Either.java:166) at com.mojang.datafixers.util.Either$Right.map(Either.java:99) at com.mojang.datafixers.util.Either.mapRight(Either.java:166) at com.mojang.datafixers.FunctionType$Instance.lambda$right$6(FunctionType.java:104) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.util.Either.lambda$mapRight$1(Either.java:166) at com.mojang.datafixers.util.Either$Right.map(Either.java:99) at com.mojang.datafixers.util.Either.mapRight(Either.java:166) at com.mojang.datafixers.FunctionType$Instance.lambda$right$6(FunctionType.java:104) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Fold.lambda$null$2(Fold.java:48) at com.mojang.datafixers.FunctionType$Instance.lambda$first$1(FunctionType.java:81) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.FunctionType$Instance.lambda$first$1(FunctionType.java:81) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.util.Either.lambda$mapRight$1(Either.java:166) at com.mojang.datafixers.util.Either$Right.map(Either.java:99) at com.mojang.datafixers.util.Either.mapRight(Either.java:166) at com.mojang.datafixers.FunctionType$Instance.lambda$right$6(FunctionType.java:104) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.util.Either.lambda$mapRight$1(Either.java:166) at com.mojang.datafixers.util.Either$Right.map(Either.java:99) at com.mojang.datafixers.util.Either.mapRight(Either.java:166) at com.mojang.datafixers.FunctionType$Instance.lambda$right$6(FunctionType.java:104) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Fold.lambda$null$2(Fold.java:48) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.FunctionType$Instance.lambda$null$3(FunctionType.java:93) at com.mojang.datafixers.optics.ListTraversal.lambda$wander$0(ListTraversal.java:19) at com.mojang.datafixers.FunctionType$Instance.lambda$wander$4(FunctionType.java:94) at com.mojang.datafixers.util.Either.lambda$mapRight$1(Either.java:166) at com.mojang.datafixers.util.Either$Right.map(Either.java:99) at com.mojang.datafixers.util.Either.mapRight(Either.java:166) at com.mojang.datafixers.FunctionType$Instance.lambda$right$6(FunctionType.java:104) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.FunctionType$Instance.lambda$first$1(FunctionType.java:81) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.FunctionType$Instance.lambda$first$1(FunctionType.java:81) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.FunctionType$Instance.lambda$first$1(FunctionType.java:81) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.types.Type.capWrite(Type.java:167) at com.mojang.datafixers.types.Type.lambda$readAndWrite$9(Type.java:159) at com.mojang.serialization.DataResult.lambda$flatMap$10(DataResult.java:138) at com.mojang.datafixers.util.Either$Left.map(Either.java:38) at com.mojang.serialization.DataResult.flatMap(DataResult.java:136) at com.mojang.datafixers.types.Type.readAndWrite(Type.java:158) at com.mojang.datafixers.DataFixerUpper.update(DataFixerUpper.java:84) at nm.a(SourceFile:488) at cnk.a(SourceFile:37) at abe.i(SourceFile:831) at abe.l(SourceFile:508) at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1764) at aqv.c(SourceFile:151) at abp$a.c(SourceFile:528) at aqv.z(SourceFile:125) at abp$a.z(SourceFile:537) at abp.d(SourceFile:280) at net.minecraft.server.MinecraftServer.bf(SourceFile:776) at net.minecraft.server.MinecraftServer.z(SourceFile:764) at aqv.c(SourceFile:134) at net.minecraft.server.MinecraftServer.y(SourceFile:749) at net.minecraft.server.MinecraftServer.b(SourceFile:521) at net.minecraft.server.MinecraftServer.e_(SourceFile:353) at faq.e(SourceFile:71) at net.minecraft.server.MinecraftServer.x(SourceFile:670) at net.minecraft.server.MinecraftServer.a(SourceFile:270) at java.base/java.lang.Thread.run(Thread.java:831)A screenshot showing the chunk in question is also attached.
May relate to
MC-134115due to 1.13 changes being the current suspect.The following is a link to a world save last played in Java Edition 1.4.7:
http://www.mediafire.com/file/pp1h388kzu2n7p7/Dataless822s_Survival_World_v1.0.zip/fileWhen loaded up and played in version 1.4.7, it plays completely fine. However, when played on newer versions (likely 1.13 and up judging by the game logs, due to referencing datafixers; first experienced on 1.16.5 optifine but also does affect 1.17.1 vanilla, the latest supported version), several chunks in the world fail to load, and are replaced with newly generated chunks. The chunks in question appear to correlate with chunks which contain a minecart or related such entity within.
I cannot seem to find any other reports of this.
Example outputCouldn't load chunk [-19, 14] java.lang.ClassCastException: class com.mojang.serialization.DataResult cannot be cast to class com.mojang.datafixers.util.Pair (com.mojang.serialization.DataResult and com.mojang.datafixers.util.Pair are in unnamed module of loader 'app') at com.mojang.datafixers.optics.Proj2.view(Proj2.java:7) at com.mojang.datafixers.optics.Lens.lambda$null$0(Lens.java:48) at com.mojang.datafixers.optics.Affine$Instance.lambda$null$0(Affine.java:45) at com.mojang.datafixers.optics.Optics$5.preview(Optics.java:117) at com.mojang.datafixers.types.templates.TaggedChoice$TaggedChoiceType$2.capPreview(TaggedChoice.java:283) at com.mojang.datafixers.types.templates.TaggedChoice$TaggedChoiceType$2.preview(TaggedChoice.java:278) at com.mojang.datafixers.types.templates.TaggedChoice$TaggedChoiceType$2.preview(TaggedChoice.java:271) at com.mojang.datafixers.optics.Affine.lambda$null$2(Affine.java:34) at com.mojang.datafixers.optics.Traversal$Instance$1.lambda$wander$0(Traversal.java:34) at com.mojang.datafixers.util.Pair$Instance.traverse(Pair.java:90) at com.mojang.datafixers.optics.profunctors.TraversalP$1.lambda$wander$0(TraversalP.java:50) at com.mojang.datafixers.optics.Traversal$Instance$1.lambda$wander$0(Traversal.java:34) at com.mojang.datafixers.optics.Traversal$Instance$1.lambda$wander$0(Traversal.java:34) at com.mojang.datafixers.Typed.updateCap(Typed.java:164) at com.mojang.datafixers.Typed.update(Typed.java:138) at com.mojang.datafixers.Typed.update(Typed.java:133) at akb.a(SourceFile:18) at com.mojang.datafixers.DataFix.lambda$null$3(DataFix.java:86) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.util.Either.lambda$mapRight$1(Either.java:166) at com.mojang.datafixers.util.Either$Right.map(Either.java:99) at com.mojang.datafixers.util.Either.mapRight(Either.java:166) at com.mojang.datafixers.FunctionType$Instance.lambda$right$6(FunctionType.java:104) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.util.Either.lambda$mapRight$1(Either.java:166) at com.mojang.datafixers.util.Either$Right.map(Either.java:99) at com.mojang.datafixers.util.Either.mapRight(Either.java:166) at com.mojang.datafixers.FunctionType$Instance.lambda$right$6(FunctionType.java:104) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.util.Either.lambda$mapRight$1(Either.java:166) at com.mojang.datafixers.util.Either$Right.map(Either.java:99) at com.mojang.datafixers.util.Either.mapRight(Either.java:166) at com.mojang.datafixers.FunctionType$Instance.lambda$right$6(FunctionType.java:104) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.util.Either.lambda$mapRight$1(Either.java:166) at com.mojang.datafixers.util.Either$Right.map(Either.java:99) at com.mojang.datafixers.util.Either.mapRight(Either.java:166) at com.mojang.datafixers.FunctionType$Instance.lambda$right$6(FunctionType.java:104) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.util.Either.lambda$mapRight$1(Either.java:166) at com.mojang.datafixers.util.Either$Right.map(Either.java:99) at com.mojang.datafixers.util.Either.mapRight(Either.java:166) at com.mojang.datafixers.FunctionType$Instance.lambda$right$6(FunctionType.java:104) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Fold.lambda$null$2(Fold.java:48) at com.mojang.datafixers.FunctionType$Instance.lambda$first$1(FunctionType.java:81) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.FunctionType$Instance.lambda$first$1(FunctionType.java:81) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.util.Either.lambda$mapRight$1(Either.java:166) at com.mojang.datafixers.util.Either$Right.map(Either.java:99) at com.mojang.datafixers.util.Either.mapRight(Either.java:166) at com.mojang.datafixers.FunctionType$Instance.lambda$right$6(FunctionType.java:104) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.util.Either.lambda$mapRight$1(Either.java:166) at com.mojang.datafixers.util.Either$Right.map(Either.java:99) at com.mojang.datafixers.util.Either.mapRight(Either.java:166) at com.mojang.datafixers.FunctionType$Instance.lambda$right$6(FunctionType.java:104) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Fold.lambda$null$2(Fold.java:48) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.FunctionType$Instance.lambda$null$3(FunctionType.java:93) at com.mojang.datafixers.optics.ListTraversal.lambda$wander$0(ListTraversal.java:19) at com.mojang.datafixers.FunctionType$Instance.lambda$wander$4(FunctionType.java:94) at com.mojang.datafixers.util.Either.lambda$mapRight$1(Either.java:166) at com.mojang.datafixers.util.Either$Right.map(Either.java:99) at com.mojang.datafixers.util.Either.mapRight(Either.java:166) at com.mojang.datafixers.FunctionType$Instance.lambda$right$6(FunctionType.java:104) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.FunctionType$Instance.lambda$first$1(FunctionType.java:81) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.FunctionType$Instance.lambda$first$1(FunctionType.java:81) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.FunctionType$Instance.lambda$first$1(FunctionType.java:81) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.types.Type.capWrite(Type.java:167) at com.mojang.datafixers.types.Type.lambda$readAndWrite$9(Type.java:159) at com.mojang.serialization.DataResult.lambda$flatMap$10(DataResult.java:138) at com.mojang.datafixers.util.Either$Left.map(Either.java:38) at com.mojang.serialization.DataResult.flatMap(DataResult.java:136) at com.mojang.datafixers.types.Type.readAndWrite(Type.java:158) at com.mojang.datafixers.DataFixerUpper.update(DataFixerUpper.java:84) at nm.a(SourceFile:488) at cnk.a(SourceFile:37) at abe.i(SourceFile:831) at abe.l(SourceFile:508) at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1764) at aqv.c(SourceFile:151) at abp$a.c(SourceFile:528) at aqv.z(SourceFile:125) at abp$a.z(SourceFile:537) at abp.d(SourceFile:280) at net.minecraft.server.MinecraftServer.bf(SourceFile:776) at net.minecraft.server.MinecraftServer.z(SourceFile:764) at aqv.c(SourceFile:134) at net.minecraft.server.MinecraftServer.y(SourceFile:749) at net.minecraft.server.MinecraftServer.b(SourceFile:521) at net.minecraft.server.MinecraftServer.e_(SourceFile:353) at faq.e(SourceFile:71) at net.minecraft.server.MinecraftServer.x(SourceFile:670) at net.minecraft.server.MinecraftServer.a(SourceFile:270) at java.base/java.lang.Thread.run(Thread.java:831)
May relate to
MC-134115due to 1.13 changes being the current suspect.The following is a link to a world save last played in Java Edition 1.4.7:
http://www.mediafire.com/file/pp1h388kzu2n7p7/Dataless822s_Survival_World_v1.0.zip/fileWhen loaded up and played in version 1.4.7, it plays completely fine. However, when played on newer versions (likely 1.13 and up judging by the game logs, due to referencing datafixers; first experienced on 1.16.5 optifine but also does affect 1.17.1 vanilla, the latest supported version), several chunks in the world fail to load, and are replaced with newly generated chunks. The chunks in question appear to correlate with chunks which contain a minecart or related such entity within.
I cannot seem to find any other reports of this.
Example outputCouldn't load chunk [-19, 14] java.lang.ClassCastException: class com.mojang.serialization.DataResult cannot be cast to class com.mojang.datafixers.util.Pair (com.mojang.serialization.DataResult and com.mojang.datafixers.util.Pair are in unnamed module of loader 'app') at com.mojang.datafixers.optics.Proj2.view(Proj2.java:7) at com.mojang.datafixers.optics.Lens.lambda$null$0(Lens.java:48) at com.mojang.datafixers.optics.Affine$Instance.lambda$null$0(Affine.java:45) at com.mojang.datafixers.optics.Optics$5.preview(Optics.java:117) at com.mojang.datafixers.types.templates.TaggedChoice$TaggedChoiceType$2.capPreview(TaggedChoice.java:283) at com.mojang.datafixers.types.templates.TaggedChoice$TaggedChoiceType$2.preview(TaggedChoice.java:278) at com.mojang.datafixers.types.templates.TaggedChoice$TaggedChoiceType$2.preview(TaggedChoice.java:271) at com.mojang.datafixers.optics.Affine.lambda$null$2(Affine.java:34) at com.mojang.datafixers.optics.Traversal$Instance$1.lambda$wander$0(Traversal.java:34) at com.mojang.datafixers.util.Pair$Instance.traverse(Pair.java:90) at com.mojang.datafixers.optics.profunctors.TraversalP$1.lambda$wander$0(TraversalP.java:50) at com.mojang.datafixers.optics.Traversal$Instance$1.lambda$wander$0(Traversal.java:34) at com.mojang.datafixers.optics.Traversal$Instance$1.lambda$wander$0(Traversal.java:34) at com.mojang.datafixers.Typed.updateCap(Typed.java:164) at com.mojang.datafixers.Typed.update(Typed.java:138) at com.mojang.datafixers.Typed.update(Typed.java:133) at akb.a(SourceFile:18) at com.mojang.datafixers.DataFix.lambda$null$3(DataFix.java:86) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.util.Either.lambda$mapRight$1(Either.java:166) at com.mojang.datafixers.util.Either$Right.map(Either.java:99) at com.mojang.datafixers.util.Either.mapRight(Either.java:166) at com.mojang.datafixers.FunctionType$Instance.lambda$right$6(FunctionType.java:104) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.util.Either.lambda$mapRight$1(Either.java:166) at com.mojang.datafixers.util.Either$Right.map(Either.java:99) at com.mojang.datafixers.util.Either.mapRight(Either.java:166) at com.mojang.datafixers.FunctionType$Instance.lambda$right$6(FunctionType.java:104) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.util.Either.lambda$mapRight$1(Either.java:166) at com.mojang.datafixers.util.Either$Right.map(Either.java:99) at com.mojang.datafixers.util.Either.mapRight(Either.java:166) at com.mojang.datafixers.FunctionType$Instance.lambda$right$6(FunctionType.java:104) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.util.Either.lambda$mapRight$1(Either.java:166) at com.mojang.datafixers.util.Either$Right.map(Either.java:99) at com.mojang.datafixers.util.Either.mapRight(Either.java:166) at com.mojang.datafixers.FunctionType$Instance.lambda$right$6(FunctionType.java:104) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.util.Either.lambda$mapRight$1(Either.java:166) at com.mojang.datafixers.util.Either$Right.map(Either.java:99) at com.mojang.datafixers.util.Either.mapRight(Either.java:166) at com.mojang.datafixers.FunctionType$Instance.lambda$right$6(FunctionType.java:104) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Fold.lambda$null$2(Fold.java:48) at com.mojang.datafixers.FunctionType$Instance.lambda$first$1(FunctionType.java:81) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.FunctionType$Instance.lambda$first$1(FunctionType.java:81) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.util.Either.lambda$mapRight$1(Either.java:166) at com.mojang.datafixers.util.Either$Right.map(Either.java:99) at com.mojang.datafixers.util.Either.mapRight(Either.java:166) at com.mojang.datafixers.FunctionType$Instance.lambda$right$6(FunctionType.java:104) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.util.Either.lambda$mapRight$1(Either.java:166) at com.mojang.datafixers.util.Either$Right.map(Either.java:99) at com.mojang.datafixers.util.Either.mapRight(Either.java:166) at com.mojang.datafixers.FunctionType$Instance.lambda$right$6(FunctionType.java:104) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Fold.lambda$null$2(Fold.java:48) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.FunctionType$Instance.lambda$null$3(FunctionType.java:93) at com.mojang.datafixers.optics.ListTraversal.lambda$wander$0(ListTraversal.java:19) at com.mojang.datafixers.FunctionType$Instance.lambda$wander$4(FunctionType.java:94) at com.mojang.datafixers.util.Either.lambda$mapRight$1(Either.java:166) at com.mojang.datafixers.util.Either$Right.map(Either.java:99) at com.mojang.datafixers.util.Either.mapRight(Either.java:166) at com.mojang.datafixers.FunctionType$Instance.lambda$right$6(FunctionType.java:104) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.FunctionType$Instance.lambda$first$1(FunctionType.java:81) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.FunctionType$Instance.lambda$first$1(FunctionType.java:81) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.FunctionType$Instance.lambda$first$1(FunctionType.java:81) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.types.Type.capWrite(Type.java:167) at com.mojang.datafixers.types.Type.lambda$readAndWrite$9(Type.java:159) at com.mojang.serialization.DataResult.lambda$flatMap$10(DataResult.java:138) at com.mojang.datafixers.util.Either$Left.map(Either.java:38) at com.mojang.serialization.DataResult.flatMap(DataResult.java:136) at com.mojang.datafixers.types.Type.readAndWrite(Type.java:158) at com.mojang.datafixers.DataFixerUpper.update(DataFixerUpper.java:84) at nm.a(SourceFile:488) at cnk.a(SourceFile:37) at abe.i(SourceFile:831) at abe.l(SourceFile:508) at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1764) at aqv.c(SourceFile:151) at abp$a.c(SourceFile:528) at aqv.z(SourceFile:125) at abp$a.z(SourceFile:537) at abp.d(SourceFile:280) at net.minecraft.server.MinecraftServer.bf(SourceFile:776) at net.minecraft.server.MinecraftServer.z(SourceFile:764) at aqv.c(SourceFile:134) at net.minecraft.server.MinecraftServer.y(SourceFile:749) at net.minecraft.server.MinecraftServer.b(SourceFile:521) at net.minecraft.server.MinecraftServer.e_(SourceFile:353) at faq.e(SourceFile:71) at net.minecraft.server.MinecraftServer.x(SourceFile:670) at net.minecraft.server.MinecraftServer.a(SourceFile:270) at java.base/java.lang.Thread.run(Thread.java:831)
May relate to
MC-134115due to 1.13 changes being the current suspect.The following is a link to a world save last played in Java Edition 1.4.7:
http://www.mediafire.com/file/pp1h388kzu2n7p7/Dataless822s_Survival_World_v1.0.zip/fileWhen loaded up and played in version 1.4.7, it plays completely fine. However, when played on newer versions (likely 1.13 and up judging by the game logs, due to referencing datafixers; first experienced on 1.16.5 optifine but also does affect 1.17.1 vanilla, the latest supported version), several chunks in the world fail to load, and are replaced with newly generated chunks. The chunks in question appear to correlate with chunks which contain a minecart or related such entity within.
I cannot seem to find any other reports of this.
Example outputCouldn't load chunk [-19, 14] java.lang.ClassCastException: class com.mojang.serialization.DataResult cannot be cast to class com.mojang.datafixers.util.Pair (com.mojang.serialization.DataResult and com.mojang.datafixers.util.Pair are in unnamed module of loader 'app') at com.mojang.datafixers.optics.Proj2.view(Proj2.java:7) at com.mojang.datafixers.optics.Lens.lambda$null$0(Lens.java:48) at com.mojang.datafixers.optics.Affine$Instance.lambda$null$0(Affine.java:45) at com.mojang.datafixers.optics.Optics$5.preview(Optics.java:117) at com.mojang.datafixers.types.templates.TaggedChoice$TaggedChoiceType$2.capPreview(TaggedChoice.java:283) at com.mojang.datafixers.types.templates.TaggedChoice$TaggedChoiceType$2.preview(TaggedChoice.java:278) at com.mojang.datafixers.types.templates.TaggedChoice$TaggedChoiceType$2.preview(TaggedChoice.java:271) at com.mojang.datafixers.optics.Affine.lambda$null$2(Affine.java:34) at com.mojang.datafixers.optics.Traversal$Instance$1.lambda$wander$0(Traversal.java:34) at com.mojang.datafixers.util.Pair$Instance.traverse(Pair.java:90) at com.mojang.datafixers.optics.profunctors.TraversalP$1.lambda$wander$0(TraversalP.java:50) at com.mojang.datafixers.optics.Traversal$Instance$1.lambda$wander$0(Traversal.java:34) at com.mojang.datafixers.optics.Traversal$Instance$1.lambda$wander$0(Traversal.java:34) at com.mojang.datafixers.Typed.updateCap(Typed.java:164) at com.mojang.datafixers.Typed.update(Typed.java:138) at com.mojang.datafixers.Typed.update(Typed.java:133) at akb.a(SourceFile:18) at com.mojang.datafixers.DataFix.lambda$null$3(DataFix.java:86) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.util.Either.lambda$mapRight$1(Either.java:166) at com.mojang.datafixers.util.Either$Right.map(Either.java:99) at com.mojang.datafixers.util.Either.mapRight(Either.java:166) at com.mojang.datafixers.FunctionType$Instance.lambda$right$6(FunctionType.java:104) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.util.Either.lambda$mapRight$1(Either.java:166) at com.mojang.datafixers.util.Either$Right.map(Either.java:99) at com.mojang.datafixers.util.Either.mapRight(Either.java:166) at com.mojang.datafixers.FunctionType$Instance.lambda$right$6(FunctionType.java:104) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.util.Either.lambda$mapRight$1(Either.java:166) at com.mojang.datafixers.util.Either$Right.map(Either.java:99) at com.mojang.datafixers.util.Either.mapRight(Either.java:166) at com.mojang.datafixers.FunctionType$Instance.lambda$right$6(FunctionType.java:104) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.util.Either.lambda$mapRight$1(Either.java:166) at com.mojang.datafixers.util.Either$Right.map(Either.java:99) at com.mojang.datafixers.util.Either.mapRight(Either.java:166) at com.mojang.datafixers.FunctionType$Instance.lambda$right$6(FunctionType.java:104) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.util.Either.lambda$mapRight$1(Either.java:166) at com.mojang.datafixers.util.Either$Right.map(Either.java:99) at com.mojang.datafixers.util.Either.mapRight(Either.java:166) at com.mojang.datafixers.FunctionType$Instance.lambda$right$6(FunctionType.java:104) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Fold.lambda$null$2(Fold.java:48) at com.mojang.datafixers.FunctionType$Instance.lambda$first$1(FunctionType.java:81) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.FunctionType$Instance.lambda$first$1(FunctionType.java:81) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.util.Either.lambda$mapRight$1(Either.java:166) at com.mojang.datafixers.util.Either$Right.map(Either.java:99) at com.mojang.datafixers.util.Either.mapRight(Either.java:166) at com.mojang.datafixers.FunctionType$Instance.lambda$right$6(FunctionType.java:104) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.util.Either.lambda$mapRight$1(Either.java:166) at com.mojang.datafixers.util.Either$Right.map(Either.java:99) at com.mojang.datafixers.util.Either.mapRight(Either.java:166) at com.mojang.datafixers.FunctionType$Instance.lambda$right$6(FunctionType.java:104) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Fold.lambda$null$2(Fold.java:48) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.FunctionType$Instance.lambda$null$3(FunctionType.java:93) at com.mojang.datafixers.optics.ListTraversal.lambda$wander$0(ListTraversal.java:19) at com.mojang.datafixers.FunctionType$Instance.lambda$wander$4(FunctionType.java:94) at com.mojang.datafixers.util.Either.lambda$mapRight$1(Either.java:166) at com.mojang.datafixers.util.Either$Right.map(Either.java:99) at com.mojang.datafixers.util.Either.mapRight(Either.java:166) at com.mojang.datafixers.FunctionType$Instance.lambda$right$6(FunctionType.java:104) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.FunctionType$Instance.lambda$first$1(FunctionType.java:81) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.FunctionType$Instance.lambda$first$1(FunctionType.java:81) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.FunctionType$Instance.lambda$first$1(FunctionType.java:81) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.types.Type.capWrite(Type.java:167) at com.mojang.datafixers.types.Type.lambda$readAndWrite$9(Type.java:159) at com.mojang.serialization.DataResult.lambda$flatMap$10(DataResult.java:138) at com.mojang.datafixers.util.Either$Left.map(Either.java:38) at com.mojang.serialization.DataResult.flatMap(DataResult.java:136) at com.mojang.datafixers.types.Type.readAndWrite(Type.java:158) at com.mojang.datafixers.DataFixerUpper.update(DataFixerUpper.java:84) at nm.a(SourceFile:488) at cnk.a(SourceFile:37) at abe.i(SourceFile:831) at abe.l(SourceFile:508) at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1764) at aqv.c(SourceFile:151) at abp$a.c(SourceFile:528) at aqv.z(SourceFile:125) at abp$a.z(SourceFile:537) at abp.d(SourceFile:280) at net.minecraft.server.MinecraftServer.bf(SourceFile:776) at net.minecraft.server.MinecraftServer.z(SourceFile:764) at aqv.c(SourceFile:134) at net.minecraft.server.MinecraftServer.y(SourceFile:749) at net.minecraft.server.MinecraftServer.b(SourceFile:521) at net.minecraft.server.MinecraftServer.e_(SourceFile:353) at faq.e(SourceFile:71) at net.minecraft.server.MinecraftServer.x(SourceFile:670) at net.minecraft.server.MinecraftServer.a(SourceFile:270) at java.base/java.lang.Thread.run(Thread.java:831)
Loadinga world from1.4.7 causes certain chunks to be corrupted and reset if a minecart exists anywhere in that chunkLoading sufficiently old worlds (1.2.5-1.4.7?) causes certain chunks to be corrupted and reset if a minecart exists anywhere in that chunk
Loadingsufficiently old worlds (1.2.5-1.4.7?)causes certain chunks to be corrupted and reset if a minecart exists anywhere in that chunkLoading worlds from before 1.5 causes certain chunks to be corrupted and reset if a minecart exists anywhere in that chunk
Loading worlds from before 1.5 causes certainchunks to be corruptedandresetif a minecart exists anywhere in that chunkMinecarts cause chunks to be corrupted/reset when loading worlds from before 1.5 (13w02a)
May relate to
MC-134115due to 1.13 changes being the current suspect.The following is a link to a world save last played in Java Edition 1.4.7:
http://www.mediafire.com/file/pp1h388kzu2n7p7/Dataless822s_Survival_World_v1.0.zip/fileWhen loaded up and played in version 1.4.7, it plays completely fine. However, when
played on newer versions (likely 1.13 and up judging by the game logs, due to referencing datafixers; first experienced on 1.16.5 optifine but also does affect 1.17.1 vanilla,the latest supported version), several chunks in the world fail to load, and are replaced with newly generated chunks. Thechunks in question appear to correlate with chunks which contain a minecart or related such entity within.I cannot seem to find any other reports of this.
Example outputCouldn't load chunk [-19, 14] java.lang.ClassCastException: class com.mojang.serialization.DataResult cannot be cast to class com.mojang.datafixers.util.Pair (com.mojang.serialization.DataResult and com.mojang.datafixers.util.Pair are in unnamed module of loader 'app') at com.mojang.datafixers.optics.Proj2.view(Proj2.java:7) at com.mojang.datafixers.optics.Lens.lambda$null$0(Lens.java:48) at com.mojang.datafixers.optics.Affine$Instance.lambda$null$0(Affine.java:45) at com.mojang.datafixers.optics.Optics$5.preview(Optics.java:117) at com.mojang.datafixers.types.templates.TaggedChoice$TaggedChoiceType$2.capPreview(TaggedChoice.java:283) at com.mojang.datafixers.types.templates.TaggedChoice$TaggedChoiceType$2.preview(TaggedChoice.java:278) at com.mojang.datafixers.types.templates.TaggedChoice$TaggedChoiceType$2.preview(TaggedChoice.java:271) at com.mojang.datafixers.optics.Affine.lambda$null$2(Affine.java:34) at com.mojang.datafixers.optics.Traversal$Instance$1.lambda$wander$0(Traversal.java:34) at com.mojang.datafixers.util.Pair$Instance.traverse(Pair.java:90) at com.mojang.datafixers.optics.profunctors.TraversalP$1.lambda$wander$0(TraversalP.java:50) at com.mojang.datafixers.optics.Traversal$Instance$1.lambda$wander$0(Traversal.java:34) at com.mojang.datafixers.optics.Traversal$Instance$1.lambda$wander$0(Traversal.java:34) at com.mojang.datafixers.Typed.updateCap(Typed.java:164) at com.mojang.datafixers.Typed.update(Typed.java:138) at com.mojang.datafixers.Typed.update(Typed.java:133) at akb.a(SourceFile:18) at com.mojang.datafixers.DataFix.lambda$null$3(DataFix.java:86) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.util.Either.lambda$mapRight$1(Either.java:166) at com.mojang.datafixers.util.Either$Right.map(Either.java:99) at com.mojang.datafixers.util.Either.mapRight(Either.java:166) at com.mojang.datafixers.FunctionType$Instance.lambda$right$6(FunctionType.java:104) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.util.Either.lambda$mapRight$1(Either.java:166) at com.mojang.datafixers.util.Either$Right.map(Either.java:99) at com.mojang.datafixers.util.Either.mapRight(Either.java:166) at com.mojang.datafixers.FunctionType$Instance.lambda$right$6(FunctionType.java:104) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.util.Either.lambda$mapRight$1(Either.java:166) at com.mojang.datafixers.util.Either$Right.map(Either.java:99) at com.mojang.datafixers.util.Either.mapRight(Either.java:166) at com.mojang.datafixers.FunctionType$Instance.lambda$right$6(FunctionType.java:104) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.util.Either.lambda$mapRight$1(Either.java:166) at com.mojang.datafixers.util.Either$Right.map(Either.java:99) at com.mojang.datafixers.util.Either.mapRight(Either.java:166) at com.mojang.datafixers.FunctionType$Instance.lambda$right$6(FunctionType.java:104) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.util.Either.lambda$mapRight$1(Either.java:166) at com.mojang.datafixers.util.Either$Right.map(Either.java:99) at com.mojang.datafixers.util.Either.mapRight(Either.java:166) at com.mojang.datafixers.FunctionType$Instance.lambda$right$6(FunctionType.java:104) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Fold.lambda$null$2(Fold.java:48) at com.mojang.datafixers.FunctionType$Instance.lambda$first$1(FunctionType.java:81) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.FunctionType$Instance.lambda$first$1(FunctionType.java:81) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.util.Either.lambda$mapRight$1(Either.java:166) at com.mojang.datafixers.util.Either$Right.map(Either.java:99) at com.mojang.datafixers.util.Either.mapRight(Either.java:166) at com.mojang.datafixers.FunctionType$Instance.lambda$right$6(FunctionType.java:104) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.util.Either.lambda$mapRight$1(Either.java:166) at com.mojang.datafixers.util.Either$Right.map(Either.java:99) at com.mojang.datafixers.util.Either.mapRight(Either.java:166) at com.mojang.datafixers.FunctionType$Instance.lambda$right$6(FunctionType.java:104) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Fold.lambda$null$2(Fold.java:48) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.FunctionType$Instance.lambda$null$3(FunctionType.java:93) at com.mojang.datafixers.optics.ListTraversal.lambda$wander$0(ListTraversal.java:19) at com.mojang.datafixers.FunctionType$Instance.lambda$wander$4(FunctionType.java:94) at com.mojang.datafixers.util.Either.lambda$mapRight$1(Either.java:166) at com.mojang.datafixers.util.Either$Right.map(Either.java:99) at com.mojang.datafixers.util.Either.mapRight(Either.java:166) at com.mojang.datafixers.FunctionType$Instance.lambda$right$6(FunctionType.java:104) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.FunctionType$Instance.lambda$first$1(FunctionType.java:81) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.FunctionType$Instance.lambda$first$1(FunctionType.java:81) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.FunctionType$Instance.lambda$first$1(FunctionType.java:81) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.types.Type.capWrite(Type.java:167) at com.mojang.datafixers.types.Type.lambda$readAndWrite$9(Type.java:159) at com.mojang.serialization.DataResult.lambda$flatMap$10(DataResult.java:138) at com.mojang.datafixers.util.Either$Left.map(Either.java:38) at com.mojang.serialization.DataResult.flatMap(DataResult.java:136) at com.mojang.datafixers.types.Type.readAndWrite(Type.java:158) at com.mojang.datafixers.DataFixerUpper.update(DataFixerUpper.java:84) at nm.a(SourceFile:488) at cnk.a(SourceFile:37) at abe.i(SourceFile:831) at abe.l(SourceFile:508) at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1764) at aqv.c(SourceFile:151) at abp$a.c(SourceFile:528) at aqv.z(SourceFile:125) at abp$a.z(SourceFile:537) at abp.d(SourceFile:280) at net.minecraft.server.MinecraftServer.bf(SourceFile:776) at net.minecraft.server.MinecraftServer.z(SourceFile:764) at aqv.c(SourceFile:134) at net.minecraft.server.MinecraftServer.y(SourceFile:749) at net.minecraft.server.MinecraftServer.b(SourceFile:521) at net.minecraft.server.MinecraftServer.e_(SourceFile:353) at faq.e(SourceFile:71) at net.minecraft.server.MinecraftServer.x(SourceFile:670) at net.minecraft.server.MinecraftServer.a(SourceFile:270) at java.base/java.lang.Thread.run(Thread.java:831)May relate to
MC-134115due to 1.13 changes being the current suspect.The bug
In 13w02a, changes were made to the minecart entity ID. World saves from this version onwards can be safely upgraded to the current version (1.18.2). However, worlds from 13w01b or earlier (back to 12w07a) will cause any chunk that contains a minecart to be completely reset.
How to reproduce
This is as simple as creating a world in 13w01b or earlier, placing a minecart, and then loading that world in the latest version.
Example case
The following is a link to a world save last played in Java Edition 1.4.7 (the file size is rather large so it may be worth making a dedicated world yourself):
http://www.mediafire.com/file/pp1h388kzu2n7p7/Dataless822s_Survival_World_v1.0.zip/fileWhen loaded up and played in version 1.4.7, it plays completely fine. However, when loaded in the latest supported version, several chunks in the world fail to load, and are replaced with newly generated chunks. The game log also produces errors indicating this:
Example outputCouldn't load chunk [-19, 14] java.lang.ClassCastException: class com.mojang.serialization.DataResult cannot be cast to class com.mojang.datafixers.util.Pair (com.mojang.serialization.DataResult and com.mojang.datafixers.util.Pair are in unnamed module of loader 'app') at com.mojang.datafixers.optics.Proj2.view(Proj2.java:7) at com.mojang.datafixers.optics.Lens.lambda$null$0(Lens.java:48) at com.mojang.datafixers.optics.Affine$Instance.lambda$null$0(Affine.java:45) at com.mojang.datafixers.optics.Optics$5.preview(Optics.java:117) at com.mojang.datafixers.types.templates.TaggedChoice$TaggedChoiceType$2.capPreview(TaggedChoice.java:283) at com.mojang.datafixers.types.templates.TaggedChoice$TaggedChoiceType$2.preview(TaggedChoice.java:278) at com.mojang.datafixers.types.templates.TaggedChoice$TaggedChoiceType$2.preview(TaggedChoice.java:271) at com.mojang.datafixers.optics.Affine.lambda$null$2(Affine.java:34) at com.mojang.datafixers.optics.Traversal$Instance$1.lambda$wander$0(Traversal.java:34) at com.mojang.datafixers.util.Pair$Instance.traverse(Pair.java:90) at com.mojang.datafixers.optics.profunctors.TraversalP$1.lambda$wander$0(TraversalP.java:50) at com.mojang.datafixers.optics.Traversal$Instance$1.lambda$wander$0(Traversal.java:34) at com.mojang.datafixers.optics.Traversal$Instance$1.lambda$wander$0(Traversal.java:34) at com.mojang.datafixers.Typed.updateCap(Typed.java:164) at com.mojang.datafixers.Typed.update(Typed.java:138) at com.mojang.datafixers.Typed.update(Typed.java:133) at akb.a(SourceFile:18) at com.mojang.datafixers.DataFix.lambda$null$3(DataFix.java:86) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.util.Either.lambda$mapRight$1(Either.java:166) at com.mojang.datafixers.util.Either$Right.map(Either.java:99) at com.mojang.datafixers.util.Either.mapRight(Either.java:166) at com.mojang.datafixers.FunctionType$Instance.lambda$right$6(FunctionType.java:104) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.util.Either.lambda$mapRight$1(Either.java:166) at com.mojang.datafixers.util.Either$Right.map(Either.java:99) at com.mojang.datafixers.util.Either.mapRight(Either.java:166) at com.mojang.datafixers.FunctionType$Instance.lambda$right$6(FunctionType.java:104) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.util.Either.lambda$mapRight$1(Either.java:166) at com.mojang.datafixers.util.Either$Right.map(Either.java:99) at com.mojang.datafixers.util.Either.mapRight(Either.java:166) at com.mojang.datafixers.FunctionType$Instance.lambda$right$6(FunctionType.java:104) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.util.Either.lambda$mapRight$1(Either.java:166) at com.mojang.datafixers.util.Either$Right.map(Either.java:99) at com.mojang.datafixers.util.Either.mapRight(Either.java:166) at com.mojang.datafixers.FunctionType$Instance.lambda$right$6(FunctionType.java:104) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.util.Either.lambda$mapRight$1(Either.java:166) at com.mojang.datafixers.util.Either$Right.map(Either.java:99) at com.mojang.datafixers.util.Either.mapRight(Either.java:166) at com.mojang.datafixers.FunctionType$Instance.lambda$right$6(FunctionType.java:104) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Fold.lambda$null$2(Fold.java:48) at com.mojang.datafixers.FunctionType$Instance.lambda$first$1(FunctionType.java:81) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.FunctionType$Instance.lambda$first$1(FunctionType.java:81) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.util.Either.lambda$mapRight$1(Either.java:166) at com.mojang.datafixers.util.Either$Right.map(Either.java:99) at com.mojang.datafixers.util.Either.mapRight(Either.java:166) at com.mojang.datafixers.FunctionType$Instance.lambda$right$6(FunctionType.java:104) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.util.Either.lambda$mapRight$1(Either.java:166) at com.mojang.datafixers.util.Either$Right.map(Either.java:99) at com.mojang.datafixers.util.Either.mapRight(Either.java:166) at com.mojang.datafixers.FunctionType$Instance.lambda$right$6(FunctionType.java:104) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Fold.lambda$null$2(Fold.java:48) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.FunctionType$Instance.lambda$null$3(FunctionType.java:93) at com.mojang.datafixers.optics.ListTraversal.lambda$wander$0(ListTraversal.java:19) at com.mojang.datafixers.FunctionType$Instance.lambda$wander$4(FunctionType.java:94) at com.mojang.datafixers.util.Either.lambda$mapRight$1(Either.java:166) at com.mojang.datafixers.util.Either$Right.map(Either.java:99) at com.mojang.datafixers.util.Either.mapRight(Either.java:166) at com.mojang.datafixers.FunctionType$Instance.lambda$right$6(FunctionType.java:104) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.FunctionType$Instance.lambda$first$1(FunctionType.java:81) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.FunctionType$Instance.lambda$first$1(FunctionType.java:81) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.FunctionType$Instance.lambda$first$1(FunctionType.java:81) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.types.Type.capWrite(Type.java:167) at com.mojang.datafixers.types.Type.lambda$readAndWrite$9(Type.java:159) at com.mojang.serialization.DataResult.lambda$flatMap$10(DataResult.java:138) at com.mojang.datafixers.util.Either$Left.map(Either.java:38) at com.mojang.serialization.DataResult.flatMap(DataResult.java:136) at com.mojang.datafixers.types.Type.readAndWrite(Type.java:158) at com.mojang.datafixers.DataFixerUpper.update(DataFixerUpper.java:84) at nm.a(SourceFile:488) at cnk.a(SourceFile:37) at abe.i(SourceFile:831) at abe.l(SourceFile:508) at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1764) at aqv.c(SourceFile:151) at abp$a.c(SourceFile:528) at aqv.z(SourceFile:125) at abp$a.z(SourceFile:537) at abp.d(SourceFile:280) at net.minecraft.server.MinecraftServer.bf(SourceFile:776) at net.minecraft.server.MinecraftServer.z(SourceFile:764) at aqv.c(SourceFile:134) at net.minecraft.server.MinecraftServer.y(SourceFile:749) at net.minecraft.server.MinecraftServer.b(SourceFile:521) at net.minecraft.server.MinecraftServer.e_(SourceFile:353) at faq.e(SourceFile:71) at net.minecraft.server.MinecraftServer.x(SourceFile:670) at net.minecraft.server.MinecraftServer.a(SourceFile:270) at java.base/java.lang.Thread.run(Thread.java:831)Indeed, chunk [-19, 14] is in fact corrupted:
![]()
![]()
Expected results
Upgrading world would work regardless of whether a given chunk contains a minecart or not. Upgrading worlds (especially pure vanilla Survival worlds) should be as safe of a process as possible and cause no unexpected damage unrelated to intended game mechanic changes.
Actual results
The chunks containing a minecart are just completely reset. No attempt is made to even keep the terrain and delete the entity, the whole chunk is just gone.
Workarounds
This can be avoided by loading the world in a slightly later version (probably 13w02a to 17w46a but I can't be sure of it; 1.6.4 definitely works though) before the latest version, as this should convert the minecarts over to the new format which the current version can understand.
relates to
MC-269915
May relate to
MC-134115due to 1.13 changes being the current suspect.The bug
In 13w02a, changes were made to the minecart entity ID. World saves from this version onwards can be safely upgraded to the current version (1.18.2). However, worlds from 13w01b or earlier (back to 12w07a) will cause any chunk that contains a minecart to be completely reset.
How to reproduce
This is as simple as creating a world in 13w01b or earlier, placing a minecart, and then loading that world in the latest version.
Example case
The following is a link to a world save last played in Java Edition 1.4.7 (the file size is rather large so it may be worth making a dedicated world yourself):
http://www.mediafire.com/file/pp1h388kzu2n7p7/Dataless822s_Survival_World_v1.0.zip/fileWhen loaded up and played in version 1.4.7, it plays completely fine. However, when loaded in the latest supported version, several chunks in the world fail to load, and are replaced with newly generated chunks.
The game log also produces errors indicating this:Example outputCouldn't load chunk [-19, 14] java.lang.ClassCastException: class com.mojang.serialization.DataResult cannot be cast to class com.mojang.datafixers.util.Pair (com.mojang.serialization.DataResult and com.mojang.datafixers.util.Pair are in unnamed module of loader 'app') at com.mojang.datafixers.optics.Proj2.view(Proj2.java:7) at com.mojang.datafixers.optics.Lens.lambda$null$0(Lens.java:48) at com.mojang.datafixers.optics.Affine$Instance.lambda$null$0(Affine.java:45) at com.mojang.datafixers.optics.Optics$5.preview(Optics.java:117) at com.mojang.datafixers.types.templates.TaggedChoice$TaggedChoiceType$2.capPreview(TaggedChoice.java:283) at com.mojang.datafixers.types.templates.TaggedChoice$TaggedChoiceType$2.preview(TaggedChoice.java:278) at com.mojang.datafixers.types.templates.TaggedChoice$TaggedChoiceType$2.preview(TaggedChoice.java:271) at com.mojang.datafixers.optics.Affine.lambda$null$2(Affine.java:34) at com.mojang.datafixers.optics.Traversal$Instance$1.lambda$wander$0(Traversal.java:34) at com.mojang.datafixers.util.Pair$Instance.traverse(Pair.java:90) at com.mojang.datafixers.optics.profunctors.TraversalP$1.lambda$wander$0(TraversalP.java:50) at com.mojang.datafixers.optics.Traversal$Instance$1.lambda$wander$0(Traversal.java:34) at com.mojang.datafixers.optics.Traversal$Instance$1.lambda$wander$0(Traversal.java:34) at com.mojang.datafixers.Typed.updateCap(Typed.java:164) at com.mojang.datafixers.Typed.update(Typed.java:138) at com.mojang.datafixers.Typed.update(Typed.java:133) at akb.a(SourceFile:18) at com.mojang.datafixers.DataFix.lambda$null$3(DataFix.java:86) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.util.Either.lambda$mapRight$1(Either.java:166) at com.mojang.datafixers.util.Either$Right.map(Either.java:99) at com.mojang.datafixers.util.Either.mapRight(Either.java:166) at com.mojang.datafixers.FunctionType$Instance.lambda$right$6(FunctionType.java:104) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.util.Either.lambda$mapRight$1(Either.java:166) at com.mojang.datafixers.util.Either$Right.map(Either.java:99) at com.mojang.datafixers.util.Either.mapRight(Either.java:166) at com.mojang.datafixers.FunctionType$Instance.lambda$right$6(FunctionType.java:104) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.util.Either.lambda$mapRight$1(Either.java:166) at com.mojang.datafixers.util.Either$Right.map(Either.java:99) at com.mojang.datafixers.util.Either.mapRight(Either.java:166) at com.mojang.datafixers.FunctionType$Instance.lambda$right$6(FunctionType.java:104) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.util.Either.lambda$mapRight$1(Either.java:166) at com.mojang.datafixers.util.Either$Right.map(Either.java:99) at com.mojang.datafixers.util.Either.mapRight(Either.java:166) at com.mojang.datafixers.FunctionType$Instance.lambda$right$6(FunctionType.java:104) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.util.Either.lambda$mapRight$1(Either.java:166) at com.mojang.datafixers.util.Either$Right.map(Either.java:99) at com.mojang.datafixers.util.Either.mapRight(Either.java:166) at com.mojang.datafixers.FunctionType$Instance.lambda$right$6(FunctionType.java:104) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Fold.lambda$null$2(Fold.java:48) at com.mojang.datafixers.FunctionType$Instance.lambda$first$1(FunctionType.java:81) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.FunctionType$Instance.lambda$first$1(FunctionType.java:81) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.util.Either.lambda$mapRight$1(Either.java:166) at com.mojang.datafixers.util.Either$Right.map(Either.java:99) at com.mojang.datafixers.util.Either.mapRight(Either.java:166) at com.mojang.datafixers.FunctionType$Instance.lambda$right$6(FunctionType.java:104) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.util.Either.lambda$mapRight$1(Either.java:166) at com.mojang.datafixers.util.Either$Right.map(Either.java:99) at com.mojang.datafixers.util.Either.mapRight(Either.java:166) at com.mojang.datafixers.FunctionType$Instance.lambda$right$6(FunctionType.java:104) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Fold.lambda$null$2(Fold.java:48) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.FunctionType$Instance.lambda$null$3(FunctionType.java:93) at com.mojang.datafixers.optics.ListTraversal.lambda$wander$0(ListTraversal.java:19) at com.mojang.datafixers.FunctionType$Instance.lambda$wander$4(FunctionType.java:94) at com.mojang.datafixers.util.Either.lambda$mapRight$1(Either.java:166) at com.mojang.datafixers.util.Either$Right.map(Either.java:99) at com.mojang.datafixers.util.Either.mapRight(Either.java:166) at com.mojang.datafixers.FunctionType$Instance.lambda$right$6(FunctionType.java:104) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.FunctionType$Instance.lambda$first$1(FunctionType.java:81) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.FunctionType$Instance.lambda$first$1(FunctionType.java:81) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.FunctionType$Instance.lambda$first$1(FunctionType.java:81) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.types.Type.capWrite(Type.java:167) at com.mojang.datafixers.types.Type.lambda$readAndWrite$9(Type.java:159) at com.mojang.serialization.DataResult.lambda$flatMap$10(DataResult.java:138) at com.mojang.datafixers.util.Either$Left.map(Either.java:38) at com.mojang.serialization.DataResult.flatMap(DataResult.java:136) at com.mojang.datafixers.types.Type.readAndWrite(Type.java:158) at com.mojang.datafixers.DataFixerUpper.update(DataFixerUpper.java:84) at nm.a(SourceFile:488) at cnk.a(SourceFile:37) at abe.i(SourceFile:831) at abe.l(SourceFile:508) at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1764) at aqv.c(SourceFile:151) at abp$a.c(SourceFile:528) at aqv.z(SourceFile:125) at abp$a.z(SourceFile:537) at abp.d(SourceFile:280) at net.minecraft.server.MinecraftServer.bf(SourceFile:776) at net.minecraft.server.MinecraftServer.z(SourceFile:764) at aqv.c(SourceFile:134) at net.minecraft.server.MinecraftServer.y(SourceFile:749) at net.minecraft.server.MinecraftServer.b(SourceFile:521) at net.minecraft.server.MinecraftServer.e_(SourceFile:353) at faq.e(SourceFile:71) at net.minecraft.server.MinecraftServer.x(SourceFile:670) at net.minecraft.server.MinecraftServer.a(SourceFile:270) at java.base/java.lang.Thread.run(Thread.java:831)Indeed, chunk [-19, 14] is in fact corrupted:
![]()
![]()
Expected results
Upgrading world would work regardless of whether a given chunk contains a minecart or not. Upgrading worlds (especially pure vanilla Survival worlds) should be as safe of a process as possible and cause no unexpected damage unrelated to intended game mechanic changes.
Actual results
The chunks containing a minecart are just completely reset. No attempt is made to even keep the terrain and delete the entity, the whole chunk is just gone.
Workarounds
This can be avoided by loading the world in a slightly later version (probably 13w02a to 17w46a but I can't be sure of it; 1.6.4 definitely works though) before the latest version, as this should convert the minecarts over to the new format which the current version can understand.
May relate to
MC-134115due to 1.13 changes being the current suspect.The bug
In 13w02a, changes were made to the minecart entity ID. World saves from this version onwards can be safely upgraded to the current version (1.18.2). However, worlds from 13w01b or earlier (back to 12w07a) will cause any chunk that contains a minecart to be completely reset.
How to reproduce
This is as simple as creating a world in 13w01b or earlier, placing a minecart, and then loading that world in the latest version.
Example case
The following is a link to a world save last played in Java Edition 1.4.7 (the file size is rather large so it may be worth making a dedicated world yourself):
http://www.mediafire.com/file/pp1h388kzu2n7p7/Dataless822s_Survival_World_v1.0.zip/fileWhen loaded up and played in version 1.4.7, it plays completely fine. However, when loaded in the latest supported version, several chunks in the world fail to load, and are replaced with newly generated chunks. In pre-13w02a, the game log also produces errors indicating this:
Example outputCouldn't load chunk [-19, 14] java.lang.ClassCastException: class com.mojang.serialization.DataResult cannot be cast to class com.mojang.datafixers.util.Pair (com.mojang.serialization.DataResult and com.mojang.datafixers.util.Pair are in unnamed module of loader 'app') at com.mojang.datafixers.optics.Proj2.view(Proj2.java:7) at com.mojang.datafixers.optics.Lens.lambda$null$0(Lens.java:48) at com.mojang.datafixers.optics.Affine$Instance.lambda$null$0(Affine.java:45) at com.mojang.datafixers.optics.Optics$5.preview(Optics.java:117) at com.mojang.datafixers.types.templates.TaggedChoice$TaggedChoiceType$2.capPreview(TaggedChoice.java:283) at com.mojang.datafixers.types.templates.TaggedChoice$TaggedChoiceType$2.preview(TaggedChoice.java:278) at com.mojang.datafixers.types.templates.TaggedChoice$TaggedChoiceType$2.preview(TaggedChoice.java:271) at com.mojang.datafixers.optics.Affine.lambda$null$2(Affine.java:34) at com.mojang.datafixers.optics.Traversal$Instance$1.lambda$wander$0(Traversal.java:34) at com.mojang.datafixers.util.Pair$Instance.traverse(Pair.java:90) at com.mojang.datafixers.optics.profunctors.TraversalP$1.lambda$wander$0(TraversalP.java:50) at com.mojang.datafixers.optics.Traversal$Instance$1.lambda$wander$0(Traversal.java:34) at com.mojang.datafixers.optics.Traversal$Instance$1.lambda$wander$0(Traversal.java:34) at com.mojang.datafixers.Typed.updateCap(Typed.java:164) at com.mojang.datafixers.Typed.update(Typed.java:138) at com.mojang.datafixers.Typed.update(Typed.java:133) at akb.a(SourceFile:18) at com.mojang.datafixers.DataFix.lambda$null$3(DataFix.java:86) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.util.Either.lambda$mapRight$1(Either.java:166) at com.mojang.datafixers.util.Either$Right.map(Either.java:99) at com.mojang.datafixers.util.Either.mapRight(Either.java:166) at com.mojang.datafixers.FunctionType$Instance.lambda$right$6(FunctionType.java:104) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.util.Either.lambda$mapRight$1(Either.java:166) at com.mojang.datafixers.util.Either$Right.map(Either.java:99) at com.mojang.datafixers.util.Either.mapRight(Either.java:166) at com.mojang.datafixers.FunctionType$Instance.lambda$right$6(FunctionType.java:104) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.util.Either.lambda$mapRight$1(Either.java:166) at com.mojang.datafixers.util.Either$Right.map(Either.java:99) at com.mojang.datafixers.util.Either.mapRight(Either.java:166) at com.mojang.datafixers.FunctionType$Instance.lambda$right$6(FunctionType.java:104) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.util.Either.lambda$mapRight$1(Either.java:166) at com.mojang.datafixers.util.Either$Right.map(Either.java:99) at com.mojang.datafixers.util.Either.mapRight(Either.java:166) at com.mojang.datafixers.FunctionType$Instance.lambda$right$6(FunctionType.java:104) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.util.Either.lambda$mapRight$1(Either.java:166) at com.mojang.datafixers.util.Either$Right.map(Either.java:99) at com.mojang.datafixers.util.Either.mapRight(Either.java:166) at com.mojang.datafixers.FunctionType$Instance.lambda$right$6(FunctionType.java:104) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Fold.lambda$null$2(Fold.java:48) at com.mojang.datafixers.FunctionType$Instance.lambda$first$1(FunctionType.java:81) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.FunctionType$Instance.lambda$first$1(FunctionType.java:81) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.util.Either.lambda$mapRight$1(Either.java:166) at com.mojang.datafixers.util.Either$Right.map(Either.java:99) at com.mojang.datafixers.util.Either.mapRight(Either.java:166) at com.mojang.datafixers.FunctionType$Instance.lambda$right$6(FunctionType.java:104) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.util.Either.lambda$mapRight$1(Either.java:166) at com.mojang.datafixers.util.Either$Right.map(Either.java:99) at com.mojang.datafixers.util.Either.mapRight(Either.java:166) at com.mojang.datafixers.FunctionType$Instance.lambda$right$6(FunctionType.java:104) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Fold.lambda$null$2(Fold.java:48) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.FunctionType$Instance.lambda$null$3(FunctionType.java:93) at com.mojang.datafixers.optics.ListTraversal.lambda$wander$0(ListTraversal.java:19) at com.mojang.datafixers.FunctionType$Instance.lambda$wander$4(FunctionType.java:94) at com.mojang.datafixers.util.Either.lambda$mapRight$1(Either.java:166) at com.mojang.datafixers.util.Either$Right.map(Either.java:99) at com.mojang.datafixers.util.Either.mapRight(Either.java:166) at com.mojang.datafixers.FunctionType$Instance.lambda$right$6(FunctionType.java:104) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.FunctionType$Instance.lambda$first$1(FunctionType.java:81) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.FunctionType$Instance.lambda$first$1(FunctionType.java:81) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.FunctionType$Instance.lambda$first$1(FunctionType.java:81) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at java.base/java.util.function.Function.lambda$compose$0(Function.java:68) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.functions.Comp.lambda$null$5(Comp.java:69) at com.mojang.datafixers.types.Type.capWrite(Type.java:167) at com.mojang.datafixers.types.Type.lambda$readAndWrite$9(Type.java:159) at com.mojang.serialization.DataResult.lambda$flatMap$10(DataResult.java:138) at com.mojang.datafixers.util.Either$Left.map(Either.java:38) at com.mojang.serialization.DataResult.flatMap(DataResult.java:136) at com.mojang.datafixers.types.Type.readAndWrite(Type.java:158) at com.mojang.datafixers.DataFixerUpper.update(DataFixerUpper.java:84) at nm.a(SourceFile:488) at cnk.a(SourceFile:37) at abe.i(SourceFile:831) at abe.l(SourceFile:508) at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1764) at aqv.c(SourceFile:151) at abp$a.c(SourceFile:528) at aqv.z(SourceFile:125) at abp$a.z(SourceFile:537) at abp.d(SourceFile:280) at net.minecraft.server.MinecraftServer.bf(SourceFile:776) at net.minecraft.server.MinecraftServer.z(SourceFile:764) at aqv.c(SourceFile:134) at net.minecraft.server.MinecraftServer.y(SourceFile:749) at net.minecraft.server.MinecraftServer.b(SourceFile:521) at net.minecraft.server.MinecraftServer.e_(SourceFile:353) at faq.e(SourceFile:71) at net.minecraft.server.MinecraftServer.x(SourceFile:670) at net.minecraft.server.MinecraftServer.a(SourceFile:270) at java.base/java.lang.Thread.run(Thread.java:831)Indeed, chunk [-19, 14] is in fact corrupted:
![]()
![]()
Expected results
Upgrading world would work regardless of whether a given chunk contains a minecart or not. Upgrading worlds (especially pure vanilla Survival worlds) should be as safe of a process as possible and cause no unexpected damage unrelated to intended game mechanic changes.
Actual results
The chunks containing a minecart are just completely reset. No attempt is made to even keep the terrain and delete the entity, the whole chunk is just gone.
Workarounds
This can be avoided by loading the world in a slightly later version (probably 13w02a to 17w46a but I can't be sure of it; 1.6.4 definitely works though) before the latest version, as this should convert the minecarts over to the new format which the current version can understand.
is duplicated by
MC-269915
relates to
MC-269915
is duplicated by
The bug
Potions in worlds which were last loaded in 1.8.9 or an earlier version will become water bottles if loaded in the latest version instead of staying the potion they were.
How to reproduce
- Create a world in a pre-1.9 version
- Obtain a potion via your desired method
- Load this world in 1.18.2 or whatever the latest major release is
- Note what the potion is
Alternatively, I've attached four world files:
- one is a base world from 1.3.2
- one is the base world loaded in 1.8.9
- one is the base world loaded in 1.12.2
- one is the base world loaded in 1.8.9 and then 1.12.2
These worlds can be used to reproduce this issue (as well as MC-249700 andMC-232104) instead of creating such a world yourself.
Expected results
The potion would... remain a potion?
Actual results
It becomes a water bottle.
Further notes
This is without a doubt related to the major refactoring done to potion formatting in 1.9.
Code analysis
Code analysis by Josiah Glosson in duplicate MC-277902.
Does this not happen if the world is upgraded to release 1.5 before upgrading to the latest version and does it still happen if upgrading to 1.4 before the latest version? If so this may be a duplicate of MC-232104.
The bug
If an item has a damage value from -32768 to -1 in 1.4.7 or earlier, and this item is upgraded to the latest 1.20.5 snapshot, that damage level will increase to 0.
In order to keep the amount of uses on these items the same, it'd be expected that the max durability for these items would be adjusted per item. Alternatively, since damage is handled as a 32-bit signed integer, negative values would also be handled, as they were previously.
Error messages are printed to the log.
How to reproduce
A world containing a chest containing several negatively damaged stone pickaxes is attached to this ticket.
- Open this world in 1.4.7
- Go into survival mode
- Break one of the stone blocks
- Open this world in the latest snapshot
- Break another one of the stone blocks with the same pickaxe, again in Survival mode
Expected results
In the latest version, the pickaxe would not obtain a durability bar, just like it didn't in 1.4.7.
Actual results
It now does.
How to fix
Either permit negative values for item damage, or make max item durability configurable via components somehow; this way, items with extra durability like these ones could have their durability component increased so that they function identically to how they did in 1.4.7 (the new max durability would be [normal durability of this item] + [abs(negative value specified for "damage")]. This way, none of the extra tool uses would disappear.
Further notes
If negative damage truly is considered unsupported, it may be advisable to use an unsigned 32-bit (or 64-bit) integer for damage instead, to remove the entire concept of negativity, and therefore double or even square the amount of possible durabilities.
This isn't even the worst issue that can be faced when upgrading a world from 1.4.7 - that award probably goes to the chunk-corrupting menace that is MC-232104.
I cannot reproduce this on 1.21.1 and 24w36a (the world upgrades fine)
This seems to give credit to the idea that this is a duplicate of MC-232104 since that also appears fixed in those versions and the chunks from this report also contained minecarts.
Can you still reproduce this?










Can confirm in 21w39a
Can confirm, just corrupted my world, fantastic!!
Confirming this issue in release versions 1.17.1 and 1.18.1, when attempting to load chunks from a 1.2.5 world that contain minecart entities.
1.17.1 log:
A world I prepared in 1.6.4 did not face this issue, meaning that this stops being a problem some time between 1.4.7 and 1.6.4. I suspect 1.5 may contain such a cutoff as it made plenty changes to minecarts.
I've tested a 1.5 world and it upgraded just as expected. I now suspect 13w02a to be the first version to upgrade correctly as it split the minecart entity into multiple entity IDs which were previously shared. Results hopefully coming soon.
Version confirmed:
The chunks are still regenerated in 1.20.2, but the errors are no longer logged (MC-265252).
I cannot reproduce this as of 24w36a. The world upgrades as normal, there are no errors in the console the specified chunk does not reset

Are you still able to reproduce this?
The upgrade behaves correctly on 1.21.1 as well. If someone could find the exact fix version that'd be neat