On Minecraft, what do you do if the command is too long?

Solution 1:

That command is for version 1.8.1 according to the linked page. If you take a look at the command block wiki in the history section of 1.9 it states:

15w33a Character limit is now 32,500 instead of 32,767.

The character limit was reduced after this command was created. This command is 32,677 characters, which is over the new limit.

Even if this command would fit into a command block, there have been a lot of command changes since 1.8 which cause this command to fail. For instance, it uses the Riding tag which was replaced by the Passengers tag in 1.9.

He has reworked this command for version 1.11 which is shorter. It can be found here: https://www.ijaminecraft.com/cmd/super_lucky_blocks_1.11

However, I was unable to successfully run this command in 1.12.2.