this pretty much tells you what to do..., but still... ill still tell you...
the highlighted/bold text is what you can modify, you dont need a / if you modify only the command (the command the sign will execute when right clicked)... in these commands, the command which will execute on right click is
/tp @a ~ ~5 ~ you can modify it to whatever you like... for example /tellraw would do... just make sure that u delete everything highlighted and then replace it with your command... exactly in the same way.
WHAT YOU NEED
1) A command block (do /give @p command_block)
2)the command (use this one.. just modify the texts and stuff... :D)
hey guys
this is my second post, thank you for your support on my first ever post and command block mod
Today, i will show you how to create right clickable signs in vanilla minecraft!
so first we will start from a simple tutorial,
for a standing sign->
/setblock ~ ~1 ~ minecraft:standing_sign 0 replace {Text1:"{text:\"your text here\",clickEvent:{action:run_command,value:\"/tp ~ ~5 ~\"}}"}
for a wall sign-
/setblock ~ ~1 ~ minecraft:wall_sign 0 replace {Text1:"{text:\"your text here\",clickEvent:{action:run_command,value:\"/tp ~ ~5 ~\"}}"}
although these are /setblock, you can use to modify an existing sign... or even get a sign with a /give
for /give-
/give @p minecraft:sign 1 0 {BlockEntityTag:{Text1:"{\"text\":\"your text\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"tp @a ~ ~5 ~\"}}"},display:{Name:"sign name"}}
for /blockdata (modify existing sign)
/blockdata ~ ~1 ~ {Text1:"{\"text\":\"your text\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"tp @a ~ ~5 ~\"}}"}
NOTE: if you exceed the number of chars a sign can take per line, it wont work!
for 4 lines:
/give
/give @p minecraft:sign 1 0 {BlockEntityTag:{Text1:"{\"text\":\"text here\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"tp @a ~ ~5 ~\"}}",Text2:"{\"text\":\"text here\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"tp @a ~ ~5 ~\"}}",Text3:"{\"text\":\"text here\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"tp @a ~ ~5 ~\"}}",Text4:"{\"text\":\"text here\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"tp @a ~ ~5 ~\"}}"},display:{Name:SignName}}
/blockdata
/blockdata ~ ~1 ~ {Text1:"{\"text\":\"text here\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"tp @a ~ ~5 ~\"}}",Text2:"{\"text\":\"text here\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"tp @a ~ ~5 ~\"}}",Text3:"{\"text\":\"text here\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"tp @a ~ ~5 ~\"}}",Text4:"{\"text\":\"text here\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"tp @a ~ ~5 ~\"}}"}
this pretty much tells you what to do..., but still... ill still tell you...
the highlighted/bold text is what you can modify, you dont need a / if you modify only the command (the command the sign will execute when right clicked)... in these commands, the command which will execute on right click is
/tp @a ~ ~5 ~ you can modify it to whatever you like... for example /tellraw would do... just make sure that u delete everything highlighted and then replace it with your command... exactly in the same way.
i know, but i like doing the command way
uhm repeat yourself please, in a much explainable manner, i mean, i cant understand