Advertisement
qmagnet

Command Randomizer

May 28th, 2015
1,795
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. Repeating Randomizer
  2. ---------------------------
  3. Summon ArmorStands:
  4. /summon ArmorStand ~ ~1 ~ {Small:1b,Marker:1b,CustomName:random_output_01}
  5.  
  6. Trigger Random Command:
  7. /execute @r[type=ArmorStand,name=random_output_01] ~ ~ ~ setblock ~ ~ ~ redstone_block 0 destroy
  8.  
  9. Command Block ABOVE ArmorStands:
  10. /setblock ~ ~-1 ~ air
  11.  
  12.  
  13.  
  14.  
  15. Non-Repeating Randomizer
  16. ---------------------------
  17. Summon ArmorStands:
  18. /summon ArmorStand ~ ~1 ~ {Small:1b,Marker:1b,CustomName:random_output_02}
  19.  
  20. Trigger Random Command:
  21. /execute @r[type=ArmorStand,name=random_output_02] ~ ~ ~ setblock ~ ~ ~ redstone_block 0 destroy
  22.  
  23. Command Block ABOVE ArmorStands:
  24. /kill @e[type=ArmorStand,dx=0,dy=-2,dz=0]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement