Take the 2-minute tour ×
Arqade is a question and answer site for passionate videogamers on all platforms. It's 100% free, no registration required.

I was playing Minecraft and I decided to make a train so that when it hits the detector rail I teleport using a command block. I connected the command block to the detector rail and on the command block I typed in a random x y z and when I tried it I spawn in the clouds up high in the sky. When I fall back down to earth the train hits the detector rail again and I teleport back up again. How can I get out of this cycle?

share|improve this question

4 Answers 4

If your playing on a server, you can simply disable command blocks with the following configuration line in the server.properties file:

enable-command-block = false

Then destroy or modify the offending command block.

share|improve this answer
    
I thought there might also be a game rule that you could trigger, but this doesn't appear to be the case, so server properties seem like the only viable option. –  MBraedley Dec 13 '13 at 2:59
    
You have to use an External Editor in single player. –  Aaron128l Dec 16 '13 at 20:34

Quit and log back in. If you can unload the chunk that the train is in it will stop activating the command block. If it is in a block that remains loaded, such as spawn on a server, I'm not sure there's much you can do without someone else's help or using an external editor.

share|improve this answer

Your best bet is going to be using MCEdit. Load up the world in MCEdit and remove the command block in question, or the minecart that's triggering it. That way, you can safely and reliably remove only what you want to get rid of.

share|improve this answer
    
ok i might use that –  anthony97730 Dec 13 '13 at 7:28

you can do /kill to die and escape it

share|improve this answer
    
It will just teleport you again. –  Aaron128l Dec 16 '13 at 20:35
    
no if you die you go to spawn so you'll be out of the minecart. you could just destroy the minecart now because if it teleports you you won't be in the minecart and you could just destroy the command block. –  Thomas Dec 18 '13 at 2:08
    
No that's not true at all. –  Aaron128l Dec 18 '13 at 20:16
    
nevermind then pretend i didn't comment –  Thomas Jan 29 at 2:11

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.