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

Typing /placefeature crashes client when connected to a server

    XMLWordPrintable

Details

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

    Description

      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)

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:
                CHK: