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

Number arguments in command have all int limitation

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: Minecraft 14w25a, Minecraft 14w26b, Minecraft 14w28a, Minecraft 14w29b, Minecraft 14w30c, Minecraft 14w31a, Minecraft 1.8-pre2, Minecraft 1.8.3, Minecraft 1.8.4, Minecraft 15w37a, Minecraft 1.11
    • Fix Version/s: Minecraft 18w05a
    • Labels:
      None
    • Confirmation Status:
      Confirmed

      Description

      Every command you enter has only the int limitation (number to 2147483647 (= 2^31-1) included). This might be first of all problematic if commands which use values of the data type long (up to 2^63-1) get added. But it causes some problems as well with commands that use the short data type (up to 32767 included).

      This is for example the case with the Damage tag which is used for items and creates some strange bugs.

      • Do for example
        /give @p stone 1 1143425434

        This is probably not such a big bug, but when doing it like this:

      • Example Coal Ore (also works with cauldron and all blocks which have naturally no data values other than 0):
        /give @p coal_ore 1 1143425434

      Could relate to: MC-30484
      Relates to: MC-64754

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                marcono1234 [Mod] Marcono1234
              • Votes:
                1 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  CHK: