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

randomTickSpeed, spawnRadius, maxEntityCramming and maxCommandChainLength accept non-integer value

    XMLWordPrintable

    Details

    • Confirmation Status:
      Confirmed

      Description

      The bug

      You can set any value for gamerules like randomTickSpeed, spawnRadius or maxEntityCramming which store numbers, but the command feedback is always "Game rule [GAME_RULE_NAME] has been updated to [VALUE]", even if the provided value is not a number. The expected behavior is that an error message appears just like it is for the gamerules which store boolean values when trying to set a non-boolean value.

      How to reproduce

      Use the following command

      /gamerule randomTickSpeed text
      

      → The feedback "Game rule randomTickSpeed has been updated to text" appears

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              pianoplayer123 yuval gat
            • Votes:
              4 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                CHK: