mojira.dev
MC-44872

/clear in command block has a limit on characters.

When running a command such as:

clear @a 54 1 0 {display:{Name:"Backpack",Lore:[Put in 9th slot to use.]}}

The command block will only run the command up to [put
Anything after that will not work and the previous output claims their is an unbalance of brackets. (Which there's not)

Comments 2

Your issue is that you need to put the lore in quotes

If you want to do this in 1.16.3, use /clear @a chest{display:{Name:'

{"text":"Backpack"}

',Lore:['
{"text":"Put in 9th slot to use."}']}} 1.

Anthony Jemmer

(Unassigned)

Unconfirmed

clear, command_block, limit

Minecraft 14w02c

Retrieved