mojira.dev
MC-57332

Number arguments in command have all int limitation

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

Linked issues

Comments

Bobby Jones

Tested and confirmed. But it dosen't have to be 1143425434, it can be any data value, as long as it dosen't have that data value.

wobst.michael

Is this still an issue in the most recent versions (currently that is 1.11) of Minecraft? If so, please update the affected versions and help us keeping this ticket updated from time to time. If you are the owner/reporter of this ticket, you can modify the affected version(s) yourself.

tryashtar

Most command arguments in 1.13 are properly typed. Any discrepancies can be reported separately 🙂

marcono1234

(Unassigned)

Confirmed

Minecraft 14w25a, Minecraft 14w26b, Minecraft 14w28a, Minecraft 14w29b, Minecraft 14w30c, ..., Minecraft 1.8-pre2, Minecraft 1.8.3, Minecraft 1.8.4, Minecraft 15w37a, Minecraft 1.11

Minecraft 18w05a

Retrieved