forum Forumsplay_arrow Minecraft fiber_manual_record Redstone

1

Command Blocks

1 emerald2 replies246 views
created 01/12/2015 12:10 pm by JimboPanda123
last reply 01/20/2015 12:38 pm
Hi,
i am making a map and want it so it you touch water, you return to your spawn point. I was wondering how you do that as i have seen it on many mini-games i have played.
Thanks
Posted by avatar
JimboPanda123
Level 40 : Master Enderdragon
21

comment Login or register to post a reply.

2 replies

01/20/2015 12:38 pm
Level 21 : Expert Nerd
Davekillerish
or set a scoreboard for distance swam
lets call it GAB
testfor @p[score_GAB_min=1]
Another command block
tp @p[score_GAB_min=1] X Y Z
Another Command Block
scoreboard players set @a[score_GAB_min=1] GAB 0
01/12/2015 12:56 pm
Level 19 : Journeyman Network
Imadbush
/execute @a ~ ~ ~ detect ~ ~ ~ water 0 tp @p x y x

Planet Minecraft

Browse

Site

© 2010 - 2019
planetminecraft.com

Welcome