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

Crash on reaching Command Block character limit

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • Minecraft 14w34c, Minecraft 14w34d, Minecraft 1.8, Minecraft 1.8.1, Minecraft 1.8.2-pre1, Minecraft 1.8.3, Minecraft 1.8.7, Minecraft 1.8.8, Minecraft 15w35c, Minecraft 15w47c, Minecraft 1.9, Minecraft 1.9.1 Pre-Release 1, Minecraft 1.9.1 Pre-Release 3, Minecraft 1.9.2, Minecraft 1.9.3 Pre-Release 2, Minecraft 1.9.4, Minecraft 1.10.2, Minecraft 16w38a, Minecraft 1.11.2
    • Confirmed

      When I was testing how stacking strings would work in a Command Block I came to the issue that my game crashed as I pasted in a huge command (Attachment: StringStackingTest_1.txt | 32.9KB) and hit enter...

      The reason was, I reached the command block character limit. As I tried it again I saw that it didn't even display the whole command, and as I hit enter it crashed again...

      Crash Report File: crash-2014-08-20_18.48.58-client.txt

      BUT: The main problem here is not, that the game crashes on reaching the character limit, the main problem is the character limit itself!
      The limit is already reached by stacking 14 strings, which needs a command that contains 32,738 backslashes ( \ ).
      Stacking 13 strings only needs 16,356 backslashes ( \ ) (Attachment: StringStackingTest_2.txt | 16.8KB).

      I do know in terms of programming it is hard to give no limitation on the command length, but it would give us more freedom and possibilities at things like "single command block creation"...

      I don't say it is important to remove the limitation, but... You know... Why are minecraft worlds endless? Is that "important"?... Think about that...

      If you did, thank you for reading the whole report!


      Additional info by marcono1234 can be found in this comment.


      Description: Updating screen events
      
      java.lang.IllegalArgumentException: Payload may not be larger than 32767 bytes
      	at im.<init>(SourceFile:33)
      	at ayq.a(SourceFile:84)
      	at axu.a(SourceFile:350)
      	at ayq.a(SourceFile:111)
      	at axu.k(SourceFile:413)
      	at axu.p(SourceFile:390)
      	at ave.s(SourceFile:1497)
      	at ave.av(SourceFile:888)
      	at ave.a(SourceFile:325)
      	at net.minecraft.client.main.Main.main(SourceFile:124)
      

            Unassigned Unassigned
            tobsam tobsam
            Votes:
            12 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: