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

Number text fields in the structure block GUI don't restrict input to numbers only

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Minecraft 19w11b, Minecraft 1.14 Pre-Release 1, 1.15.1, 1.15.2, 20w18a, 20w46a, 1.16.5, 21w05b, 21w06a, 21w07a, 21w08b, 1.17.1, 1.18.1, 1.18.2, 22w16b, 1.19.4, 23w18a, 1.20.1, 1.21.4
    • None
    • Confirmed
    • UI

      The bug

      The following text fields in the structure block GUI are supposed to only accept numbers:

      • Relative Position (X, Y, Z)
      • Structure Size (X, Y, Z)
      • Structure Integrity
      • Structure Seed

      However, you're able to input any text in these fields, not only numbers. On saving the structure block, the text inputted into these fields will not be saved and convert to a number (usually 0).

      To reproduce

      1. Open structure block GUI
      2. Switch to Save or Load mode
      3. Put random words into any of the mentioned fields
      4. That is possible

            Unassigned Unassigned
            violine1101 [Mod] violine1101
            Votes:
            5 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              CHK: