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

Long structure names (over 64 characters) do not fit in the Structure Block GUI


    • Icon: Bug Bug
    • Resolution: Fixed
    • 22w11a
    • Minecraft 1.10.2, Minecraft 1.12.1, Minecraft 18w16a, 1.15.2, 20w06a, 20w16a, 20w18a, 20w19a, 1.16.1, 20w29a, 1.16.2, 1.16.3, 1.16.5, 21w06a
    • Confirmed
    • Data Packs, UI
    • Normal

      The structure block GUI does not support structure names over 64 characters, including directories, despite such names being supported by the game.

      Structures with long names can be loaded from disk, but cannot be saved to disk. This is because saving a structure to disk requires manual GUI access, which causes the structure name to be truncated to 64 characters.

      Details follow.

      The structure name field in both the SAVE and LOAD mode GUIs is limited to only 64 characters. We can use /blockdata to change the without having to access the GUI, which allows for names over 64 characters. However, the name will be truncated back down to 64 characters if we update the structure block via the GUI.

      This appears to be an oversight because loading structures with a long name works just fine. We can test this by using /blockdata as mentioned (just be careful not to cause the structure name to be truncated) and then using redstone (such as a button) to load the structure.

      On the other hand, we cannot save structures with long names to disk because in order to save a structure to disk we must manually press the save button in the GUI... which consequently causes the structure name to be truncated.

      Overall this behaviour is inconsistent and makes dealing with long-named/deeply-nested structures troublesome.

            slicedlime [Mojang] slicedlime
            Arcensoth Arcensoth
            14 Vote for this issue
            10 Start watching this issue