TransWikia.com

Is there any way to remotely disable a command block?

Arqade Asked by The_Red_Spy on February 10, 2021

I’m trying to make a cool thing in minecraft. and I need to disable a certain command block with a flick of a switch. Is there any command that I can put in a command block the will disable command blocks? I don’t want to disable all of them, just one. Anything I can do about this?

2 Answers

Try setting the command block to chain and conditional and chaining it after a repeating command block that checks if a lever is flicked, the command should look something like this: /execute if block <coordinates to the lever> minecraft:lever[powered=true]

Answered by InfectedPasta on February 10, 2021

I assume you want to disable a repeating command block, by toggling it from "always active" to "needs redstone". That can be done by setting its "auto" NBT tag to false, for example like this:

/data merge block 12 34 56 {auto:0}

Answered by Fabian Röling on February 10, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP