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

minecartMaxSpeed isn't capped from going into the negatives

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • 24w33a
    • None
    • Unconfirmed
    • Commands, Minecart

      If you try to modify the minecartMaxSpeed above 1000 the game will still behave as if it was 1000.
      The same safeguard isn't present with negative values however

      This allows you to encounter these things:

      • maxSpeed -999999999 will crash your game due to integer overflow
      • maxSpeed -99999999 will freeze your whole system due to high resource usage
      • maxSpeed in lower negatives (ie. -100/-10000) will give minecrafts infinite momentum when you ride them.

      Expected Behaviour

      Minecraft would ignore these illegal values.

            Unassigned Unassigned
            Ceresjanin123 Ceresjanin123
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: