Minecraft 1.19: How To Add a Delay To Your Command Blocks
Ойындар
Minecraft 1.19: How To Add a Delay To Your Command Blocks
Subscribe for more command block tutorials!!!
The command:
scoreboard objectives add timer dummy
Repeat Command Block:
scoreboard players add timer timer 1
Chain Command Block - unconditional and always active
execute if score timer timer matches 50 run say Subscribe!!!
execute if score timer timer matches 70 run say To
execute if score timer timer matches 100 run say Vivtorsing!!!
Chain Command Block but conditional and always active
scoreboard players set timer timer 0
Become A Member - / @vivtorsing
My Discord - / discord
Thanks for watching #minecraft
Пікірлер: 91
Omg, I can’t begin to thank you enough. I’ve been trying to set a timer up like this for months and nothing worked (not even /schedule). Thank you so damn much, I can finally make a server work properly.
@steve_cat5504
Жыл бұрын
Same here but, I have not been searching for as long
Ok, Im doing minecraft maps and this helped me a lot. Thank you! 😊
Thanks, I've been looking for this for a long time
Thank you a ton!!! I'm gonna use this so much
Thank you!
*Laughs in bedrock*
@Nexus89ld
6 ай бұрын
Slaps in Java
@pressstart-NOW
6 ай бұрын
@@Nexus89ld Blasts in Pi Edition.
@Nexus89ld
6 ай бұрын
@@pressstart-NOW shoots in mobile
@that1eggg
5 ай бұрын
/kill @@pressstart-NOW
@cozyetboy0072
5 ай бұрын
@@Nexus89ldbombing in nintendo edition
You remembered me when using cmmd blocks, but nice explanation, now I can try a sound repeater in my server
This was so damn helpful bro thank you!
ayyy everyone else uses redstone clocks, which don't work for one command block creations, so this really helped!
you seem to be a nice guy :) keep up the work
@Vivtorsing
2 жыл бұрын
Thanks, will do!
@steve_cat5504
Жыл бұрын
Helped me too
THX YOU!!!
Thank you for tutorial 😁
perfect you helped me so much to complete my own bedwar server
THANKS YOUuuu ❤❤
TYSM BRO U DA BEST
Thank u man
thanks
i'm trying to make it so the command blocks first execute a command, then wait the amount of ticks and *then* execute a different command at the end. but if i add a normal or chain command block, i can't have the block feeding into a repeating block since it will only search for other chain blocks.
I was trying to make time advance in my world in real 24 hour time, my command wasn't working until i substituted ">=" for "matches" not sure why that made a difference, but thank you for the fresh info!
@Vivtorsing
Жыл бұрын
Your welcome!
This is easily the solution to my npc dialogue problems
thank you
@Vivtorsing
2 ай бұрын
You're welcome
this was really usefull
SO.HELPFUL.FOR.ME.TO.MAKE.POWER.UP!
Thank you, i used this to make automatic fireworks at night on my server, here's everything i used in java 1.19.4 Red summon firework_rocket ~ ~2 ~ {LifeTime:45,FireworksItem:{id:firework_rocket,Count:1,tag:{Fireworks:{Flight:3,Explosions:[{Type:1,Flicker:1,Trail:1,Colors:[I;11743532,8073150,14188952,12801229],FadeColors:[I;11743532,8073150,14188952,12801229]}]}}}} Yellow run summon firework_rocket ~ ~2 ~ {LifeTime:45,FireworksItem:{id:firework_rocket,Count:1,tag:{Fireworks:{Flight:3,Explosions:[{Type:1,Flicker:1,Trail:1,Colors:[I;14188952,14602026,15435844],FadeColors:[I;15790320]}]}}}} Green execute if score timer timer matches 290 run summon firework_rocket ~ ~2 ~ {LifeTime:45,FireworksItem:{id:firework_rocket,Count:1,tag:{Fireworks:{Flight:3,Explosions:[{Type:1,Flicker:1,Trail:1,Colors:[I;3887386,4312372,15790320],FadeColors:[I;4312372,14602026,15790320]}]}}}} Blue summon firework_rocket ~ ~2 ~ {LifeTime:45,FireworksItem:{id:firework_rocket,Count:1,tag:{Fireworks:{Flight:3,Explosions:[{Type:1,Flicker:1,Trail:1,Colors:[I;2437522,2651799,6719955],FadeColors:[I;2651799,6719955,15790320]}]}}}} Purple summon firework_rocket ~ ~2 ~ {LifeTime:45,FireworksItem:{id:firework_rocket,Count:1,tag:{Fireworks:{Flight:3,Explosions:[{Type:1,Flicker:1,Trail:1,Colors:[I;8073150,14188952,12801229],FadeColors:[I;8073150,14188952,12801229,15790320]}]}}}}
can i do that so it doesnt repeat? im doing a hide n seek map and basically i want to make so u press a button, hiders teleport, and seekers need to wait 60 seconds
Making a new server based on this, thanks so much!
@PawsIt
6 ай бұрын
Its based off giving players different effects at different intervals and giving incentive to not die and to kill other players before they have too many effects.
@Vivtorsing
6 ай бұрын
No problem!
If I want a one off timer and not one that repeats can I just leave out the last command block?
bro how do you put it only that if i click a button after the seconds i put the command block behind it activates
if anyone is using this with /ban or /pardon, do the exact same thing, but instead of putting it infront of the scoreboard reset, but it behind, chain conditional always active
I did the exact same thing in my 1.12.2 server and all it says in repeat is [@: Set score of timer for player timer to ] It repeats it on and on... But I don't see a Subscribe!!! message.
to reset it you can just do /scoreboard players reset @p
realizing bedrock has "delay in ticks" setting: b r u h why gotta be harder on java lol
GUYS!!!! IF YOU ARE MODYFING THE COMMAND MAKE SURE AFTER U MODIFY DO scoreboard players set timer timer 0
Hello there, I got a bit of a problem that I got no clue on what I could do to fix it... Basically I got this time set to play sounds at different times set on specific coords to play at etc, but if I'm not close enough the counter/timer just keeps go up till I set it back to zero & it works again (not intuitive at all.. :().. Any thoughts?
@beansbeans96
Жыл бұрын
MAKE SURE YOUR command BLOCK IS POINTING AT THE RIGHT DIRECTION I JUST HAD THE SAME ISSUE
@leonav1
Жыл бұрын
Chunk not loaded?
HOLY SHIT YOU ARE A FUCKING LIFE SAVER 😭
For some reason the third command block doesnt reset the timer to 0
I use fill command in thi but did not work for long box
using this to take backups of my server lol
unknown scoreboard objective ‘timer’. help
you dont need the scoreboard objectives add timer dummy command block bc mine works without the scoreboard objectives add timer dummy command block
ps A command block takes 1 game tick to do its thing its not instant (I was trying to make harmless tnt)
How do I stop it, like automaticly after some time the ticks stop?
@Kamen_Demonz_Kazael
10 ай бұрын
Make the repeating command block need redstone. before the timer reset command block, place another conditional chain CB with setblock (coordinate to activate Repeating CB) air Then place the timer CB. Every command sequence should be activated first, then redstone is turned off by replacing redstone with air. after that the timer will reset to 0, and you need to place the redstone block again behind the repeating timer counter CB
It works,but I see it in chat every millisecond spamming it changes.Is there a way I can hide it? prefferably also from console?
@Vivtorsing
4 ай бұрын
There is a gamerule that is called commandblockoutput and you set that to false. Hopefully I did not spell it wrong lol
@Real_Ryy
4 ай бұрын
@@Vivtorsingty i found it like 5 mins after commenting and dw u spelt it right
how do I stop it from looping?
@Kamen_Demonz_Kazael
10 ай бұрын
Give a condition requirement for it to loop. Like put another repeating command block with [ testfor ] before the first command block. Then turn the first command block to conditional and chain
mine says "Unknown scoreboard objective 'timer'" how do i fix this (on the first block
@beenbored
Жыл бұрын
never mind i didnt see the last thing that was needed for it to work
@beenbored
Жыл бұрын
now im having trouble getting it to stop when at 1200 ticks (1 minute) and run the connected commands
@coolcat5134
Жыл бұрын
@@beenbored It says the same thing on mine too ,what did you do to fix it cuz I'm still having trouble
@beenbored
Жыл бұрын
@@coolcat5134 I just remade all the command blocks and make sure to do the thing at the end of the video and set them to what he sets them too
the timer dont resets to 0 for me?
@kirilkomashko9704
Жыл бұрын
Same here.
this didn’t work, everytime I run it it’s instant
nvm i did something wrong
I mean you could just make a hopper clock
@Xided_
4 ай бұрын
How do you reset a hopper clock automatically?
@redstonebro4965
3 ай бұрын
@@Xided_ well you could use /clone
it doesnt work
@jama_FR
8 ай бұрын
soory
How can we ensure that players only order once?
@Vivtorsing
3 ай бұрын
If your talking about like a shop or something, you have your shop check a scoreboard objective where if they bought something it adds it to their score and then they can no longer order.
@lasrat17
3 ай бұрын
no sorry i translated badly the good sentence is : How can we ensure that the command is executed only once by the players?@@Vivtorsing
@lasrat17
3 ай бұрын
like here, it's a loop, i don't want it to be a loop. I want that when a player press a button or something, the command is executed only once
@Vivtorsing
3 ай бұрын
There are multiple ways of doing this. One way that I do is have a repeating command block check for the player pressing the button then have a comparator pointing out from the repeating command block to a single command block that runs the command. This will only run once until the player presses the button again. It's might not be the best solution out there but that's how I do like 90% of them lol.
@lasrat17
3 ай бұрын
Ok thanks, but does it work with the system shown in this video ? Like with the scoreboard and stuff. Which command do you put in the repeating command block for the player pressing the button?@@Vivtorsing
You need another 20 before the zero
why is his pfp a girl if hes a boy?
So this is the "streamlined" new era of command blocks? in all my block years, I never had to debug a goddamn _repeater_ or type more code every time I wanted a delay. whatever, thanks for the info i guess