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

Day can overflow over 2147483647 or 32 bit integer limit

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • 1.17
    • None
    • Windows 10, java 16
    • Unconfirmed
    • (Unassigned)

      I was playing on a server to test a lot of things, one of those is can minecraft read numbers over 2147483647 or the 32 bit integer limit of minecraft or the max int value in minecraft, surprisingly, minecraft doesn't care for values over 2147483647 if its a day value, i dont know anything else that will work with the over 2147483647 value, as shown in the picture the number is more than the 32 bit int limit of (2147483647).

      Note: comment if this is a bug, oversight or intentional feature, and find the "Day" value in the F3 screen provided, and this was done a multiplayer server

      How to reproduce
      1. Create a command block that adds 2147483647 days to the main time
      2. Wait until the day counter goes over 2147483647
       The game doesn't do anything about it, not crash or a system error.

            Unassigned Unassigned
            SIMPMC Aiden Shea Sinlao
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: