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

Typing /placefeature crashes client when connected to a server

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 22w05a
    • 22w03a
    • Confirmed
    • Commands, Crash
    • Very Important

      The bug

      When /placefeature is typed while connected to a server, it crashes the game. The crash is experienced client-side only; the server is unaffected. This may be caused by the client not having direct access to the server's file system.

      How to reproduce

      1. Start a server
      2. Join the server
      3. Type /placefeature in chat, followed by a space
        Crash

      Stack trace

      Description: charTyped event handler
      
      java.lang.IllegalStateException: Missing registry: ResourceKey[minecraft:root / minecraft:worldgen/configured_feature]
      	at gy.f(SourceFile:56)
      	at java.base/java.util.Optional.orElseThrow(Optional.java:403)
      	at gy.d(SourceFile:56)
      	at fw.c(SourceFile:28)
      	at com.mojang.brigadier.tree.ArgumentCommandNode.listSuggestions(ArgumentCommandNode.java:71)
      	at com.mojang.brigadier.CommandDispatcher.getCompletionSuggestions(CommandDispatcher.java:598)
      	at dzj.a(SourceFile:184)
      	at ebt.b(SourceFile:80)
      	at dzo.d(SourceFile:152)
      	at dzo.b(SourceFile:147)
      	at dzo.a(SourceFile:358)
      	at ead.a(SourceFile:74)
      	at dxs.a(SourceFile:458)
      	at ecx.a(SourceFile:492)
      	at dxs.a(SourceFile:458)
      	at dxs.c(SourceFile:473)
      	at aum.execute(SourceFile:103)
      	at dxs.b(SourceFile:473)
      	at org.lwjgl.glfw.GLFWCharModsCallbackI.callback(GLFWCharModsCallbackI.java:39)
      	at org.lwjgl.system.JNI.invokeV(Native Method)
      	at org.lwjgl.glfw.GLFW.glfwPollEvents(GLFW.java:3050)
      	at com.mojang.blaze3d.systems.RenderSystem.flipFrame(SourceFile:197)
      	at dru.e(SourceFile:310)
      	at dxu.f(SourceFile:1142)
      	at dxu.e(SourceFile:733)
      	at net.minecraft.client.main.Main.main(SourceFile:236)

        1. bug in 22w03a.wmv
          1.73 MB
          legoshowtv
        2. crash-2022-01-19_23.37.44-client.txt
          5 kB
          [Mod] markderickson
        3. deobf_crash-2022-01-19_23.37.44-client.txt
          10 kB
          [Bot] Arisa
        4. MC-248195.png
          12 kB
          [Mod] Avoma

            slicedlime [Mojang] slicedlime
            Legoshowtv1 legoshowtv
            Votes:
            8 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: