I have a /blockdata command that I'm using the latest snapshot as a test, but something very confusing is happening. By standards, this command:
blockdata ~ ~1 ~ {Text1: "{ text:\"[Say Hi]\", \"color\":\"dark_blue\",\"clickEvent\":\"{ action:run_command, value:\"/say hi\" }\"}"}
Should work. However, any time I try to use a blockdata command, I get:
[00:00:00] An unknown error occurred while attempting to perform this command
Best Answer
Assuming you're playing 1.9, you must use proper JSON syntax, in that all key names and string values must be surrounded in quotes. You are missing quotes for the
text
key, theaction
key/value, and thevalue
key. You also have a stray quotation marks surrounding the brackets forclickEvent
.Fixed command: