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

Number arguments in command have all int limitation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Minecraft 18w05a
    • 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
    • None
    • Confirmed

      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

            Unassigned Unassigned
            marcono1234 Marcono1234
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: