mojira.dev
MC-105174

Command block won't take 32767 characters

I found a command on IJAMinecraft which has just around 32000 characters, but when I paste it in, it won't take the full command! It's not a copy/paste error, because I try typing another character in and it won't show and a character counter (WhatsmyIP.org/string-encoding-decoding or something) says its under 32767 which is the limit of command blocks.
REPRODUCTION:
Copy text that is around 32767 characters long, and paste it into a command block.
Sorry if this works as expected or its just me (NOT using modded minecraft)

Comments 1

The character limit is 32,500 via the interface in order to bypass a crash caused by exceeding the packet data limit, not 32,767. If the command is over 32,500, then it won't work. If you're copying from a Youtube description, chances are you're copying unexpected invisible characters that add onto the total.

TheMuffinPony

(Unassigned)

Unconfirmed

Minecraft 1.10.2

Retrieved