Minecraft.A sandstone in survival building and always when getting a sandstone builds a get?

Si
10

So my problem in Minecraft is that I build a sandstone block and then get one again! I know that somehow goes with / scoreboard.

Could someone help me?

an

1, First create the scoreboard in the chat:

/ scoreboard Objectives add 1 stat.useItem.minecraft.sandstone

2, Set a Command Block to Repeat, Unconditional, Always Active, with the following content

/ execute as @a [score_1_min = 1] give @p minecraft: sandstone

3, Set a Command Block on Chain, Conditional, Always Active with content:

/ scoreboard players reset @a [score_1_min = 1] 1

Si

MrAmazing2 OMG thank you.

an

Bitteschön ^^

I hope I have not gotten lost now, have written that out of my head without testing it. If there are problems, you are welcome to confirm.

Si

Thanks, I know a bit about scoreboards and created a named sandstone. When 2 COmmand would I believe the name somewhere in the way that does not work?

Si

I think your commands are a bit outdated. Not bad, thank you

Si

Please help me

an

You're right, it was outdated, it has been repaired.

2,

/ execute as @a [scores = {sandstone = 1.}] give @p minecraft: sandstone

3,

/ scoreboard players reset @a [scores = {sandstone = 1.}] sandstone

Si

Thanks, but it still does not work?

an

Where is the mistake?

What is in the Commandblock output?

Si

Try it out