Advertisement
Jragon014

Custom Blocks Tutorial

Jul 21st, 2016
10,286
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. ---Custom Blocks Tutorial Commands---
  2.  
  3. /scoreboard players tag @e[type=Item] add example {Item:{id:"minecraft:stone",Count:1b},OnGround:1b}
  4.  
  5. /execute @e[type=Item,tag=example] ~ ~ ~ /summon LeashKnot ~ ~ ~ {Tags:[example]}
  6.  
  7. /kill @e[type=Item,tag=example]
  8.  
  9. /execute @e[tag=example] ~ ~ ~ /setblock ~ ~ ~ stone
  10.  
  11. /execute @e[tag=example] ~ ~ ~ /summon ArmorStand ~ ~ ~ {CustomName:"Speed",CustomNameVisible:1,NoGravity:1,Invulnerable:1}
  12.  
  13. /kill @e[tag=example]
  14.  
  15.  
  16.  
  17. /execute @e[type=ArmorStand,name=Speed] ~ ~ ~ /effect @a[r=3] speed 1 1 true
  18.  
  19. /execute @e[type=ArmorStand,name=Speed] ~ ~ ~ detect ~ ~ ~ air 0 /kill @e[name=Speed,dx=0]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement