Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-196478

Trying to use custom noise settings in 1.16.2_pre_1 causes the game to crash upon trying to load the world

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 1.16.2 Pre-release 1
    • None
    • Unconfirmed
    • Crash

      In a data pack that uses custom noise settings ( namespace:something ) instead of something like minecraft:overworld, any world with that data pack loaded instantly crashes upon opening it.

      This only happens if the world uses noise settings in any namespace other than minecraft, even if they are unchanged in every other way.

      STEPS TO RECREATE:

      1.) Create a data pack in which one or more dimensions uses noise settings from any namespace other than minecraft:<something>. The actual noise settings don't matter - just copy and paste the vanilla ones.

      2.) When trying to load that world, that world will instantly crash.

      The error message is: 

      • The game crashed whilst starting integrated server
        Error: java.lang.UnsupportedOperationException: Trying to add tag of type 10 to list of 8

      This is the copied-and-pasted data from the log:

       

      • Reported exception thrown! u: Starting integrated server at don.a(SourceFile:440) at dju.a(SourceFile:92) at dju.c(SourceFile:162) at dju$$Lambda$2992/869896271.run(Unknown Source) at anw.execute(SourceFile:94) at dju.b(SourceFile:162) at dju$$Lambda$2339/988289875.invoke(Unknown Source) at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:36) at org.lwjgl.system.JNI.invokeV(Native Method) at org.lwjgl.glfw.GLFW.glfwPollEvents(GLFW.java:3101) at com.mojang.blaze3d.systems.RenderSystem.flipFrame(SourceFile:109) at det.e(SourceFile:308) at djt.e(SourceFile:1040) at djt.e(SourceFile:653) at net.minecraft.client.main.Main.main(SourceFile:215) Caused by: java.lang.UnsupportedOperationException: Trying to add tag of type 10 to list of 8 at mi.c(SourceFile:254) at mi.add(SourceFile:19) at java.util.AbstractList.add(AbstractList.java:108) at mn.a(SourceFile:169) at mn$$Lambda$4027/160933279.accept(Unknown Source) at com.google.common.collect.ImmutableList.forEach(ImmutableList.java:408) at mn.a(SourceFile:169) at mn.a(SourceFile:196) at mn.mergeToList(SourceFile:26) at com.mojang.serialization.ListBuilder$Builder.lambda$build$3(ListBuilder.java:74) at com.mojang.serialization.ListBuilder$Builder$$Lambda$4025/1409732255.apply(Unknown Source) at com.mojang.serialization.DataResult.lambda$flatMap$10(DataResult.java:138) at com.mojang.serialization.DataResult$$Lambda$648/1956642247.apply(Unknown Source) at com.mojang.datafixers.util.Either$Left.map(Either.java:38) at com.mojang.serialization.DataResult.flatMap(DataResult.java:136) at com.mojang.serialization.ListBuilder$Builder.build(ListBuilder.java:74) at com.mojang.serialization.codecs.ListCodec.encode(ListCodec.java:34) at com.mojang.serialization.codecs.ListCodec.encode(ListCodec.java:19) at com.mojang.serialization.Codec$2.encode(Codec.java:76) at com.mojang.serialization.Encoder.encodeStart(Encoder.java:14) at com.mojang.serialization.codecs.ListCodec.encode(ListCodec.java:31) at com.mojang.serialization.codecs.ListCodec.encode(ListCodec.java:19) at com.mojang.serialization.Encoder.encodeStart(Encoder.java:14) at com.mojang.serialization.codecs.FieldEncoder.encode(FieldEncoder.java:24) at com.mojang.serialization.MapCodec$1.encode(MapCodec.java:39) at com.mojang.serialization.codecs.RecordCodecBuilder$Instance$8.encode(RecordCodecBuilder.java:378) at com.mojang.serialization.codecs.RecordCodecBuilder$2.encode(RecordCodecBuilder.java:112) at com.mojang.serialization.codecs.RecordCodecBuilder$Instance$8.encode(RecordCodecBuilder.java:377) at com.mojang.serialization.codecs.RecordCodecBuilder$2.encode(RecordCodecBuilder.java:112) at com.mojang.serialization.MapCodec$MapCodecCodec.encode(MapCodec.java:96) at vg.a(SourceFile:35) at ve.a(SourceFile:27) at ve.encode(SourceFile:11) at com.mojang.serialization.Encoder.encodeStart(Encoder.java:14) at com.mojang.serialization.codecs.FieldEncoder.encode(FieldEncoder.java:24) at com.mojang.serialization.MapCodec$1.encode(MapCodec.java:39) at com.mojang.serialization.codecs.RecordCodecBuilder$Instance$4.encode(RecordCodecBuilder.java:223) at com.mojang.serialization.codecs.RecordCodecBuilder$2.encode(RecordCodecBuilder.java:112) at com.mojang.serialization.MapCodec$MapCodecCodec.encode(MapCodec.java:96) at com.mojang.serialization.Encoder.encodeStart(Encoder.java:14) at com.mojang.serialization.codecs.ListCodec.encode(ListCodec.java:31) at com.mojang.serialization.codecs.ListCodec.encode(ListCodec.java:19) at com.mojang.serialization.Encoder.encodeStart(Encoder.java:14) at com.mojang.serialization.codecs.FieldEncoder.encode(FieldEncoder.java:24) at com.mojang.serialization.MapCodec$1.encode(MapCodec.java:39) at com.mojang.serialization.codecs.RecordCodecBuilder$Instance$6.encode(RecordCodecBuilder.java:296) at com.mojang.serialization.codecs.RecordCodecBuilder$Instance$6.encode(RecordCodecBuilder.java:298) at com.mojang.serialization.codecs.RecordCodecBuilder$2.encode(RecordCodecBuilder.java:112) at com.mojang.serialization.codecs.EitherMapCodec.lambda$encode$1(EitherMapCodec.java:37) at com.mojang.serialization.codecs.EitherMapCodec$$Lambda$4022/2063267330.apply(Unknown Source) at com.mojang.datafixers.util.Either$Right.map(Either.java:99) at com.mojang.serialization.codecs.EitherMapCodec.encode(EitherMapCodec.java:35) at com.mojang.serialization.codecs.EitherMapCodec.encode(EitherMapCodec.java:15) at com.mojang.serialization.MapEncoder$1.encode(MapEncoder.java:26) at com.mojang.serialization.MapCodec$1.encode(MapCodec.java:39) at com.mojang.serialization.codecs.KeyDispatchCodec.encode(KeyDispatchCodec.java:92) at com.mojang.serialization.MapCodec$MapCodecCodec.encode(MapCodec.java:96) at com.mojang.serialization.Encoder.encodeStart(Encoder.java:14) at com.mojang.serialization.codecs.FieldEncoder.encode(FieldEncoder.java:24) at com.mojang.serialization.MapCodec$1.encode(MapCodec.java:39) at com.mojang.serialization.codecs.RecordCodecBuilder$Instance$6.encode(RecordCodecBuilder.java:295) at com.mojang.serialization.codecs.RecordCodecBuilder$2.encode(RecordCodecBuilder.java:112) at com.mojang.serialization.codecs.KeyDispatchCodec.encode(KeyDispatchCodec.java:92) at com.mojang.serialization.MapCodec$MapCodecCodec.encode(MapCodec.java:96) at com.mojang.serialization.Encoder.encodeStart(Encoder.java:14) at com.mojang.serialization.codecs.FieldEncoder.encode(FieldEncoder.java:24) at com.mojang.serialization.MapCodec$1.encode(MapCodec.java:39) at com.mojang.serialization.codecs.RecordCodecBuilder$Instance$4.encode(RecordCodecBuilder.java:223) at com.mojang.serialization.codecs.RecordCodecBuilder$2.encode(RecordCodecBuilder.java:112) at com.mojang.serialization.MapCodec$MapCodecCodec.encode(MapCodec.java:96) at com.mojang.serialization.Encoder.encodeStart(Encoder.java:14) at com.mojang.serialization.codecs.BaseMapCodec.encode(BaseMapCodec.java:52) at com.mojang.serialization.codecs.UnboundedMapCodec.encode(UnboundedMapCodec.java:43) at com.mojang.serialization.codecs.UnboundedMapCodec.encode(UnboundedMapCodec.java:17) at com.mojang.serialization.Encoder$1.encode(Encoder.java:25) at com.mojang.serialization.Codec$2.encode(Codec.java:76) at vd.a(SourceFile:28) at vd.encode(SourceFile:11) at com.mojang.serialization.Encoder$1.encode(Encoder.java:25) at com.mojang.serialization.Codec$2.encode(Codec.java:76) at com.mojang.serialization.Encoder.encodeStart(Encoder.java:14) at com.mojang.serialization.codecs.FieldEncoder.encode(FieldEncoder.java:24) at com.mojang.serialization.MapCodec$1.encode(MapCodec.java:39) at com.mojang.serialization.codecs.RecordCodecBuilder$Instance$6.encode(RecordCodecBuilder.java:296) at com.mojang.serialization.codecs.RecordCodecBuilder$2.encode(RecordCodecBuilder.java:112) at com.mojang.serialization.MapCodec$MapCodecCodec.encode(MapCodec.java:96) at com.mojang.serialization.Encoder$1.encode(Encoder.java:25) at com.mojang.serialization.Codec$2.encode(Codec.java:76) at com.mojang.serialization.Encoder.encodeStart(Encoder.java:14) at cyf.a(SourceFile:250) at cyf.a(SourceFile:231) at cya$a.a(SourceFile:339) at cya$a.a(SourceFile:333) at djt.a(SourceFile:1782) at djt.a(SourceFile:1767) at djt$$Lambda$3984/1785414966.run(Unknown Source) at djt.a(SourceFile:1858) at djt$$Lambda$3985/773076906.proceed(Unknown Source) at dni.b(SourceFile:40) at dni$$Lambda$3993/181046446.onPress(Unknown Source) at dld.b(SourceFile:33) at dkx.a(SourceFile:16) at dlb.a(SourceFile:149) at dmb.a(SourceFile:27) at dju.b(SourceFile:92) at dju$$Lambda$2993/749676590.run(Unknown Source) at don.a(SourceFile:435) ... 14 more
      • 15:39:44.313
      • Process crashed with exit code -1

            Unassigned Unassigned
            SailorDoge Random Guyson
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: