Closed 3l0w closed 2 years ago
After some investigation i have noticed that the method ChunkColumn#writeColumn has a version argument.
So i set it to SupportedVersion.MC_1_15
and i got a new error in game:
[23:02:28] [Server thread/ERROR]: Couldn't load chunk [13, 15]
java.lang.ArrayIndexOutOfBoundsException: Index 1024 out of bounds for length 1024
at bzz.<init>(SourceFile:74) ~[minecraft-1.15.2-client.jar:?]
at cax.a(SourceFile:73) ~[minecraft-1.15.2-client.jar:?]
at wp.j(SourceFile:516) ~[minecraft-1.15.2-client.jar:?]
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) [?:?]
at ais.c(SourceFile:144) [minecraft-1.15.2-client.jar:?]
at xb$a.c(SourceFile:551) [minecraft-1.15.2-client.jar:?]
at ais.w(SourceFile:118) [minecraft-1.15.2-client.jar:?]
at xb$a.w(SourceFile:560) [minecraft-1.15.2-client.jar:?]
at xb.d(SourceFile:278) [minecraft-1.15.2-client.jar:?]
at net.minecraft.server.MinecraftServer.ba(SourceFile:731) [minecraft-1.15.2-client.jar:?]
at net.minecraft.server.MinecraftServer.w(SourceFile:719) [minecraft-1.15.2-client.jar:?]
at ais.c(SourceFile:127) [minecraft-1.15.2-client.jar:?]
at net.minecraft.server.MinecraftServer.v(SourceFile:704) [minecraft-1.15.2-client.jar:?]
at net.minecraft.server.MinecraftServer.a(SourceFile:491) [minecraft-1.15.2-client.jar:?]
at edm.a(SourceFile:90) [minecraft-1.15.2-client.jar:?]
at edm.d(SourceFile:106) [minecraft-1.15.2-client.jar:?]
at net.minecraft.server.MinecraftServer.run(SourceFile:628) [minecraft-1.15.2-client.jar:?]
But Hephaistos has no problem to import
Minecraft version: 1.15.2 Java version : openjdk 17.0.3 2022-04-19 Hephaistos version: 2.4.8
I try to use the lib to fix a map that i receive, but the map contains tile entities with the name "Banner" but minecraft only accept tile entity id in lowercase.
So i made a script with java to fix the map but each time i open it with my game, minecraft find that the data is missing.
Here is the full code i use: