While teleporting around the map converting chunks, the log occasionally displays errors:
15:07:18 sw Couldn't load chunk
java.lang.IllegalArgumentException: No enum constant bfz.
at java.lang.Enum.valueOf(Enum.java:238)
at bfz.valueOf(SourceFile:7)
at bvm$a.a(SourceFile:96)
at bwa.a(SourceFile:100)
at bvx.b(SourceFile:123)
at bwb.a(SourceFile:146)
at bvx.a(SourceFile:103)
at bvo.a(SourceFile:166)
at bvo.a(SourceFile:81)
at bmt.b(SourceFile:104)
at bmt.a(SourceFile:84)
at bmt.a(SourceFile:120)
at sw.g(SourceFile:92)
at sw.b(SourceFile:114)
at te.<init>(SourceFile:40)
at tf.c(SourceFile:171)
at tf.c(SourceFile:263)
at vj.d(SourceFile:349)
at tw.a(SourceFile:772)
at mp.a(SourceFile:126)
at mp$b.a(SourceFile:18)
at iv.a(SourceFile:10)
at iv$$Lambda$1873/1582035725.run(Unknown Source)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at k.a(SourceFile:174)
at net.minecraft.server.MinecraftServer.w(SourceFile:675)
at net.minecraft.server.MinecraftServer.v(SourceFile:631)
at dej.v(SourceFile:155)
at net.minecraft.server.MinecraftServer.run(SourceFile:535)
at java.lang.Thread.run(Thread.java:745)
15:07:56 tr Couldn't load protochunk
java.lang.IllegalArgumentException: No enum constant bfz.
at java.lang.Enum.valueOf(Enum.java:238)
at bfz.valueOf(SourceFile:7)
at bvm$a.a(SourceFile:96)
at bwa.a(SourceFile:100)
at bvx.b(SourceFile:123)
at bwb.a(SourceFile:146)
at bvx.a(SourceFile:103)
at bvo.a(SourceFile:166)
at bvo.a(SourceFile:81)
at bmt.b(SourceFile:104)
at bmt.a(SourceFile:84)
at bmt.b(SourceFile:136)
at tr.a(SourceFile:70)
at tr.a(SourceFile:51)
at tr$$Lambda$1628/509546797.apply(Unknown Source)
at java.util.Map.computeIfAbsent(Map.java:957)
at tr.a(SourceFile:50)
at tr.a(SourceFile:25)
at ace.c(SourceFile:89)
at sw.d(SourceFile:143)
at bsj.a(SourceFile:196)
at bsj.a(SourceFile:92)
at bsn.d(SourceFile:60)
at bnt.a(SourceFile:296)
at sw.a(SourceFile:299)
at sx.a(SourceFile:247)
at axm.a(SourceFile:149)
at sx.i_(SourceFile:197)
at net.minecraft.server.MinecraftServer.w(SourceFile:697)
at net.minecraft.server.MinecraftServer.v(SourceFile:631)
at dej.v(SourceFile:155)
at net.minecraft.server.MinecraftServer.run(SourceFile:535)
at java.lang.Thread.run(Thread.java:745)
15:08:47 sw Couldn't load chunk
java.lang.IllegalArgumentException: No enum constant bfz.
at java.lang.Enum.valueOf(Enum.java:238)
at bfz.valueOf(SourceFile:7)
at bvm$a.a(SourceFile:96)
at bwa.a(SourceFile:100)
at bvx.b(SourceFile:123)
at bwb.a(SourceFile:146)
at bvx.a(SourceFile:103)
at bvo.a(SourceFile:166)
at bvo.a(SourceFile:81)
at bmt.b(SourceFile:104)
at bmt.a(SourceFile:84)
at bmt.a(SourceFile:120)
at sw.g(SourceFile:92)
at sw.b(SourceFile:114)
at sw.c(SourceFile:120)
at te.a(SourceFile:85)
at tf.c(SourceFile:122)
at sx.i_(SourceFile:221)
at net.minecraft.server.MinecraftServer.w(SourceFile:697)
at net.minecraft.server.MinecraftServer.v(SourceFile:631)
at dej.v(SourceFile:155)
at net.minecraft.server.MinecraftServer.run(SourceFile:535)
at java.lang.Thread.run(Thread.java:745)
15:08:50 bmt Failed to save chunk
java.lang.IllegalArgumentException: No enum constant bfz.
at java.lang.Enum.valueOf(Enum.java:238)
at bfz.valueOf(SourceFile:7)
at bvm$a.a(SourceFile:96)
at bwa.a(SourceFile:100)
at bvx.b(SourceFile:123)
at bwb.a(SourceFile:146)
at bvx.a(SourceFile:103)
at bvo.a(SourceFile:166)
at bvo.a(SourceFile:81)
at bmt.b(SourceFile:104)
at bmt.a(SourceFile:220)
at tr.a(SourceFile:96)
at tr$$Lambda$1815/27351070.accept(Unknown Source)
at java.lang.Iterable.forEach(Iterable.java:75)
at tr.a(SourceFile:91)
at sw.d(SourceFile:282)
at sx.i_(SourceFile:201)
at net.minecraft.server.MinecraftServer.w(SourceFile:697)
at net.minecraft.server.MinecraftServer.v(SourceFile:631)
at dej.v(SourceFile:155)
at net.minecraft.server.MinecraftServer.run(SourceFile:535)
at java.lang.Thread.run(Thread.java:745)
How to Reproduce
Download https://www.dropbox.com/s/yqyugdf0d7j8tqk/Enum%20Constant%20Test.zip?dl=0
Exract the contained folder and put it into the world save.
Make sure the launcher log is open (or go to the logs directory afterwards)
Open the world and click "I know what I am doing"
Press the green button
Observe the Game Output Log
Linked issues
is duplicated by 1
Attachments
Comments 5
The world file is very large. I created a large 1.12.2 world save for stress testing and it is over a Gb in size (8192×8192). I intend to try preparing a cut-down world save that has the essentials.
If I cannot do this, I will provide structure files and instructions for creating the world save from scratch. The world save was created in 1.12.2 using a command block chunkloader that is described here: https://www.reddit.com/r/Minecraft/comments/8qfpk1/a_machine_for_pregenerating_chunks_in_vanilla/ No structures were built in the world except the chunkloader.
@unknown - please upload your world as a zip on a file sharing service and link it here so we can take a look at it.
I have detailed instructions and a small structure file that allows the world to be created from scratch on demand.
Version 1.12.2:
Create a new world in Creative mode with the seed 1.
Copy the structure file "g12.nbt" into the "structures" folder of the world save.
Run the following commands:
/gamerule doDaylightCycle false
/gamerule doWeatherCycle false
/gamerule commandBlockOutput false
/time set 6000
/setblock 160 100 256 minecraft:structure_block
Go to the structure block (it will be nearby in the air) and load the structure "g12" twice in quick succession. (Loading it twice is necessary to work around MC-104141. If this is not done, the piston heads will be missing on the extended pistons and the contraption will malfunction.)
Stand in mid-air above the oak log on the platform.
Press the red button on the right. Three redstone blocks will disappear, arming the contraption.
Press the green bottom on the left. This will start generating chunks by teleporting the player around the map. This will take 10 to 15 minutes to complete.
When the contraption is finished, the player will be floating above the oak log.
(If the player teleports once more, the player can be returned to the device with /teleport @p ~-256 103 ~.)
Save the game.
Version 1.13-pre6:
Make sure the launcher is configured to display the game log.
Load the save game created previously in 1.12.2.
Alter the commands in the two command blocks marked with blue concrete by changing the first part of the teleport command from "execute @p ~ ~ ~" to "execute at @p run".
(If the player teleported after the end of terrain generation, check the middle pair of hoppers for stray redstone dust and move the smaller stack to the other hopper.)
Stand in mid-air above the oak log on the platform.
Press the green bottom on the left. This will start converting chunks by teleporting the player around the map.
Watch the log - the enum errors may occur.
I setup a world file like described above and made it available for download. You only have to press the green button when in e.g. 1.13-pre6. Everything else is already done. https://www.dropbox.com/s/yqyugdf0d7j8tqk/Enum%20Constant%20Test.zip?dl=0
(Exceeds maximum file size on Mojira)
Can you zip and attach the 1.12.2 world here? (or put the zip on a file sharing service and put the link here)