Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---Custom Blocks Tutorial Commands---
- /scoreboard players tag @e[type=Item] add example {Item:{id:"minecraft:stone",Count:1b},OnGround:1b}
- /execute @e[type=Item,tag=example] ~ ~ ~ /summon LeashKnot ~ ~ ~ {Tags:[example]}
- /kill @e[type=Item,tag=example]
- /execute @e[tag=example] ~ ~ ~ /setblock ~ ~ ~ stone
- /execute @e[tag=example] ~ ~ ~ /summon ArmorStand ~ ~ ~ {CustomName:"Speed",CustomNameVisible:1,NoGravity:1,Invulnerable:1}
- /kill @e[tag=example]
- /execute @e[type=ArmorStand,name=Speed] ~ ~ ~ /effect @a[r=3] speed 1 1 true
- /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