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

Crash when using malformed block states or biome ids for superflat preset


    • Icon: Bug Bug
    • Resolution: Fixed
    • Minecraft 17w48a
    • Minecraft 17w47b, Minecraft 18w01a, Minecraft 18w02a, Minecraft 18w06a, Minecraft 18w16a, Minecraft 18w20c, Minecraft 18w22b, Minecraft 1.13-pre3, Minecraft 1.13-pre5, Minecraft 1.13, Minecraft 18w30a, Minecraft 18w31a, Minecraft 18w32a, Minecraft 1.13.1, Minecraft 1.13.2-pre2, Minecraft 1.13.2, Minecraft 18w43b, Minecraft 18w43c, Minecraft 19w11b, Minecraft 19w12b, 1.14.4, 19w41a
    • Confirmed
    • Crash

      The bug

      Using malformed block states or biome ids for the superflat presets crashes the game.

      Crash report

      Description: mouseClicked event handler
      n: Non [a-z0-9/._-] character in path of location: minecraft:dirt,minecraft:grass_block
      	at qq.<init>(SourceFile:38)
      	at qq.<init>(SourceFile:43)
      	at cef.b(SourceFile:372)
      	at cxo.a(SourceFile:63)
      	at cyf.b(SourceFile:167)
      	at cve.onPress(SourceFile:20)
      	at cve.mouseClicked(SourceFile:45)
      	at cvz.mouseClicked(SourceFile:45)
      	at cub.b(SourceFile:86)
      	at cyi.wrapScreenError(SourceFile:450)
      	at cub.a(SourceFile:86)
      	at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:36)
      	at org.lwjgl.system.JNI.invokeV(Native Method)
      	at org.lwjgl.glfw.GLFW.glfwWaitEventsTimeout(GLFW.java:3129)
      	at csu.c(SourceFile:292)
      	at cua.b(SourceFile:1044)
      	at cua.d(SourceFile:993)
      	at cua.b(SourceFile:412)
      	at net.minecraft.client.main.Main.main(SourceFile:154)

      How to reproduce

      Try to use the following superflat preset


            grum [Mojang] Grum (Erik Broes)
            marcono1234 Marcono1234
            12 Vote for this issue
            9 Start watching this issue