I am trying to make a map and I have a command block to detect when the player is on a gold block and a chain command block to say the message in chat but it spams it until I get off the gold block, Is it possible to make so it'll only say it once? (The repeating command block command is: execute as @a at @s if block ~ ~-0.35~ gold_block run spawnpoint @s ~ ~ ~ -90) enter image description here enter image description here

  • I assume it spams because the command gets repeated? There also seems to be a discrepancy between the title and the body of your post: can you edit either?
    – Joachim
    Dec 12, 2020 at 13:53

1 Answer 1


If you set the repeating command block to Needs Redstone you can prepare it with a Redstone block next to it, you can then add another chain command block that is also set to Contitional and use setblock to replace the Redstone block with air.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .