mojira.dev
MC-105851

Sign Events deleted when unloaded

When a sign with an event (such as clickEvent, which is the one I had problems with) gets unloaded the event gets deleted.

Comments 4

Please provide the command you used to create the sign.

Sorry Skylinerw, I don't know how to reply with JIRA

Here,
setblock -576 55 1154 wall_sign 4 replace {Text2:"{\"text\":\"\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"setblock -564 54 1149 redstone_block\"}}"}

A sign must contain all 4 Text1/2/3/4 tags, and all 4 must contain a valid JSON object. Example with your command:

setblock -576 55 1154 wall_sign 4 replace {Text1:"[\"\"]",Text2:"{\"text\":\"\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"setblock -564 54 1149 redstone_block\"}}",Text3:"[\"\"]",Text4:"[\"\"]"}

LEGOlord208

(Unassigned)

Unconfirmed

Minecraft 1.10.2

Retrieved