Stuck In a command block induced death loop [duplicate]
![Stuck In a command block induced death loop [duplicate] - Red and Green Plant on White Wooden Table Stuck In a command block induced death loop [duplicate] - Red and Green Plant on White Wooden Table](/assets/images/stuck_in_a_command_block_induced_death_loop_duplicate_0.jpeg)
I made a new world called "Fun With Redstone".
I had a "genius" idea to make a zombie killing mini-game, so I put in the super fast redstone clock /kill @e[Type=Zombie]
and shortly after, realized my blunder.
My world is now stuck in a death loop where every time I respawn I just get killed again.
Can anyone help me to get out of that loop? Maybe there are hidden files or something? I don't wanna reset my whole world, since there are other projects there.
Best Answer
Use MCEdit to delete the command block or to break the redstone. Alternatively if you are fast enough you may be able to run a command before you die.
Pictures about "Stuck In a command block induced death loop [duplicate]"
![Stuck In a command block induced death loop [duplicate] - Free stock photo of arch, architecture, art Stuck In a command block induced death loop [duplicate] - Free stock photo of arch, architecture, art](/assets/images/stuck_in_a_command_block_induced_death_loop_duplicate_1.jpeg)
![Stuck In a command block induced death loop [duplicate] - Grayscale Photo of People in a City Stuck In a command block induced death loop [duplicate] - Grayscale Photo of People in a City](/assets/images/stuck_in_a_command_block_induced_death_loop_duplicate_2.jpeg)
![Stuck In a command block induced death loop [duplicate] - Remnants on Desert Stuck In a command block induced death loop [duplicate] - Remnants on Desert](/assets/images/stuck_in_a_command_block_induced_death_loop_duplicate_3.jpeg)
How do you get a command block off repeat?
There is a way to fix it!How do you stop an infinite kill loop in Minecraft?
A repeat command block executes its command once every one game tick (or more\u200c [BEonly]) until no longer activated.Obtaining Command Blocks In Vanilla Survival On Prototech
More answers regarding stuck In a command block induced death loop [duplicate]
Answer 2
You can fix this without mods or external editors. A feature of the standalone Minecraft server is that it has a configuration option to disable command blocks. We can exploit this to save your game.
Back up your save. (Always prudent.)
Get and install the server somewhere on your local machine. (Follow the directions on the Minecraft Wiki if you've never done this before.)
Run the server once to make sure it's working, and that you can connect to it. Then stop the server.
Delete the contents of the server's
world
folder and replace it with a copy of the contents of your affected save folder.Edit the server's
server.properties
file. Change or add the line to say:enable-command-block=false
Run the server and connect. Go find your errant command block and fix it or disable its clock. Wait a minute to make sure an auto-save happens, or just issue the
save-all
command in the server console. Stop the server again.Copy the contents of the server's
world
file into your singleplayer saves directory. (If you want to be super-cautious, copy this into a new save folder.)Play singleplayer and confirm that you don't die instantly anymore!
Answer 3
If it is by any chance on a server, go to your server properties folder and disable command blocks. After that, get back on your world and destroy the command block that is keeping you in the loop. Once finished, close your server and turn command blocks back on. Once you finished, it should be back to normal.
Answer 4
I got an way to fix it without anything like world edit.
1.Launch the Minecraft launcher and make a new profile
2.Name it
3.Set the profile's version to 1.8.9
4.You wont be able to be killed but go to the spot where the command block is. (You cant see it but I believe it seems like a black spot)
- Blow it up with TNT
6.Go back to your other profile
7.The command block has the repeat on but it erased the command so delete the command block.
Answer 5
Here's an little trick for ya:
Copy this:
/Gamemode 3
Go to your world and quickly press Ctrl + V
and Enter. Now, when you are right above the command block, copy this:
/Gamemode 0
Then go to settings, controls and set the "destroy block" (or something) control from button 1 (left-click) to Enter. Now press Ctrl + V
and press Enter twice ASAP. Ta-da!
Having trouble with the three keys?
Use an AutoTyper program and press the type key. Now it's reduced to two keys to press in an tick. And yes, pressing three keys in a tick is possible. You might want to use some hacks if you are still having trouble with two keys. (AutoRespawn or something...) Also, if this is multiplayer, simply turn command blocks off in the menu thing.
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Karolina Grabowska, Karolina Grabowska, Ranta, Mostafa.ft shots