Is there a way to give a command a time delay? [duplicate]

Is there a way to give a command a time delay? [duplicate] - Cheerful crop African American female owner giving treat to Labrador Retriever while teaching commands in park

Is there a way to give a command, such as /say or /tellraw a time delay?

For example I want my command to say something after ten seconds, but I don't really want a bunch of repeaters everywhere. Is there a way to do this with command blocks or alternative methods?






Pictures about "Is there a way to give a command a time delay? [duplicate]"

Is there a way to give a command a time delay? [duplicate] - Faceless woman waiting for metro cabin in subway
Is there a way to give a command a time delay? [duplicate] - Dog giving paw to anonymous person
Is there a way to give a command a time delay? [duplicate] - Pedestrian crosswalk button placed near roadway in city in evening time



How do you wait 10 seconds in CMD?

Syntax TIMEOUT delay [/nobreak] Key delay Delay in seconds (between -1 and 100000) to wait before continuing. The value -1 causes the computer to wait indefinitely for a keystroke (like the PAUSE command) /nobreak Ignore user key strokes.

How do you make a command delay?

To get a repeating command block, players must use the /give command like so: /give @p minecraft:repeating_command_block <amount> . Players can also change a normal command block into a repeating command block by selecting the option in the command block GUI.

How do you make a command block repeat a certain amount of time?

Replace {delay} with the delay you want in ticks, plus one. For example, if you want a delay of 5 seconds, you would put 101 there since 5sec * 20 tick/sec + 1 = 101 . Replace {entity} with the selector for the entity that you want to run the command.



Learning Minecraft Command Block Programming, Part 7 - Time delays




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

Images: Samson Katt, Aleksandr Burzinskij, Leon Natan, Erik Mclean