Minecraft command block execute when button goes up?
//ads -- adsterra.com -- native banner
?>
I want to connect a button to a command block, and execute a toggle command when the button goes "off"
In Javascript terms, I want to execute a command "onMouseUp"
Command blocks only seem to execute when they are turned on. How do you make a command block execute a callback operation when the block is turned off?
Best Answer
Place a redstone torch between the button and the command block.
Pictures about "Minecraft command block execute when button goes up?"
How do you activate a command block with a button?
Activate the Command Block So you would activate the command block by toggling the lever. To activate the command block: If the redstone device is a lever, you need to toggle the lever. If the redstone device is a button, you need to push the button.How do you use the execute command in Minecraft?
How to Enter the CommandAdvanced Commands #1 | detect if a button has been pressed
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Ono Kosuki, Marc Schulte, Pixabay, Pavel Danilyuk