Advertisement
Recabilly

Clickable Signs in Minecraft

Jul 29th, 2014
30,381
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.39 KB | None | 0 0
  1. Paste the following into a command block to create a clickable sign, fiddle with the commands yourself to try new things =]
  2.  
  3. Say something when clicked:
  4. /setblock ~ ~1 ~ minecraft:standing_sign 8 replace { Text1:"{ text:\"Click.\", clickEvent:{ action:run_command, value:\"/say Clicked.\" } }"}
  5.  
  6. Adjust a score when clicked:
  7. /setblock ~ ~1 ~ minecraft:standing_sign 8 replace { Text1:"{ text:\"Click Me\", clickEvent:{ action:run_command, value:\"/scoreboard players add @p signs 1\" } }",Text2:"Add score"}
  8.  
  9. Place a Redstone block when clicked:
  10. /setblock ~ ~1 ~ minecraft:standing_sign 8 replace { Text1:"{ text:\"Click Me\", clickEvent:{ action:run_command, value:\"/setblock 152 7 20 minecraft:redstone_block\" } }",Text2:"Power Redstone"}
  11.  
  12. Join Red Team:
  13. /setblock ~ ~1 ~-1 minecraft:wall_sign 0 replace { Text1:"{ text:\"Join\", clickEvent:{ action:run_command, value:\"/scoreboard teams join Red @p\" } }",Text2:"Red Team"}
  14.  
  15. Leave team:
  16. /setblock ~ ~1 ~-1 minecraft:wall_sign 0 replace { Text1:"{ text:\" \", clickEvent:{ action:run_command, value:\"/scoreboard teams leave @p\" } }",Text2:"Leave Team"}
  17.  
  18. Join Blue team:
  19. /setblock ~ ~1 ~-1 minecraft:wall_sign 0 replace { Text1:"{ text:\"Join\", clickEvent:{ action:run_command, value:\"/scoreboard teams join Blue @p\" } }",Text2:"Blue Team"}
  20.  
  21. If you want to know more about JSON for chat, books, and signs please visit this page
  22. http://goo.gl/KggvyK
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement