Mojira Archive
MC-146201

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

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

Unresolved

[Mod] violine1101

2019-03-19, 03:10 PM

2024-12-25, 05:12 PM

5

3

Confirmed

UI

Minecraft 19w11b - 1.21.4Minecraft 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

-