Setblock clock with scoreboard doesn't work in Minecraft

Setblock clock with scoreboard doesn't work in Minecraft - Woman Sitting at Work

I've been trying some things with scoreboard lately and I always get to the point where I need to use the following commands.

/scoreboard players set @a Holding 0
/scoreboard players set @a Holding 1 {DataTag}
/execute @e[score_Holding_min=1] ~ ~ ~ /summon LightningBolt ~ ~ ~

People tell me to connect these to the same setblock clock but in order. I do that this way.

But nothing happens. The problem seems that the Holding score is set back to 0 too fast for the execute command to work. Does anyone know how to make this setup work?



Best Answer

I have already found a solution myself. This is the working setup:

Take note that the Holding 0 block is at the end and that no redstone is on top of it. This worked for me. After reading some comments, it seems that the location of the redstone blocks was the problem. The order in which the commands are executed goes from low to high, so from a low X to a higher X. The same goes for the Y and Z coordinates.




Pictures about "Setblock clock with scoreboard doesn't work in Minecraft"

Setblock clock with scoreboard doesn't work in Minecraft - London New York Tokyo and Moscow Clocks
Setblock clock with scoreboard doesn't work in Minecraft - Round Silver-colored Chronograph Watch
Setblock clock with scoreboard doesn't work in Minecraft - Flat Lay Photography of Unfold Book Beside Macbook



How do you make a scoreboard in Minecraft with a timer?

Scoreboard Command
  • To add an objective: /scoreboard objectives add <objective> <criteria> [displayName]
  • To remove an objective: /scoreboard objectives remove <objective>
  • To list all objectives: /scoreboard objectives list.
  • To set how the objectives are displayed: /scoreboard objectives setdisplay <slot> [objective]


  • How do you activate scoreboard in Minecraft?

    How to Enter the Command
  • Open the Chat Window. The easiest way to run a command in Minecraft is within the chat window.
  • Type the Command. In this example, we will replace a block with birch planks using the following command: /setblock ~1 ~0 ~1 planks 2.




  • /setblock Clock Lag - Please Help if You Want Hangman!




    Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.

    Images: Ayazhan, Pixabay, Mat Brown, Michaela