I am currently working on a project and I have a few questions to ask if anyone could assist me, thanks.
1. Is it possible to create a countdown system using command blocks, something similar to this. The game starts in... 5 4 3 2 1 Start! (needs to be something that is not massive like lot's of command blocks and repeaters everywhere, so compact. Needs to be on a tick so one after the other the text runs not all at the same time. Think of it like a normal skywars game what you see when you are in the cage ready to drop down.
2. Cage drop, is it possible to have at the end of the countdown command, the coordinates for all twelve different cages, (cage 1 x y z, cage 2 x y z etc) the bottom (one you are standing on) to be set to air or break after the The game starts in... 5 4 3 2 1 Start command runs.
I have done some research but I am not an expert in this sort of thing. I don't know whether it is possible to execute this or not. If you have any information or could provide assistance to me that would be fantastic. Thank you very much!
The Meaning of Life, the Universe, and Everything.
Location:
Earth
Join Date:
11/24/2017
Posts:
98
Minecraft:
Rocker09871
Discord:
Rocker09871#9302
Member Details
you can make the countdown using a scoreboard:
first run this command: /scoreboard objectives add timer dummy
summon an armor stand with a name of "countdown": /summon armor_stand ~ ~ ~ {CustomName:"\"countdown\""}
and then you can make a repeating command block that says: scoreboard players add @e[type=minecraft:armor_stand,name=countdown] timer 1
and to reset the timer: scoreboard players set @e[type=minecraft:armor_stand,name=countdown] timer 0
then you can detect when the timer is at a certain point, 1 second is about 20 on the timer, so you can say something like this in a repeating command block:
execute if entity @e[type=minecraft:armor_stand,name=countdown,scores={timer=20}] run title @a title {"text":"5","color":"green"}
then you can create more command blocks for other points in the timer, and can run any command after 'run'
Hello fellow members!
I am currently working on a project and I have a few questions to ask if anyone could assist me, thanks.
1. Is it possible to create a countdown system using command blocks, something similar to this. The game starts in... 5 4 3 2 1 Start! (needs to be something that is not massive like lot's of command blocks and repeaters everywhere, so compact. Needs to be on a tick so one after the other the text runs not all at the same time. Think of it like a normal skywars game what you see when you are in the cage ready to drop down.
2. Cage drop, is it possible to have at the end of the countdown command, the coordinates for all twelve different cages, (cage 1 x y z, cage 2 x y z etc) the bottom (one you are standing on) to be set to air or break after the The game starts in... 5 4 3 2 1 Start command runs.
I have done some research but I am not an expert in this sort of thing. I don't know whether it is possible to execute this or not. If you have any information or could provide assistance to me that would be fantastic. Thank you very much!
you can make the countdown using a scoreboard:
first run this command: /scoreboard objectives add timer dummy
summon an armor stand with a name of "countdown": /summon armor_stand ~ ~ ~ {CustomName:"\"countdown\""}
and then you can make a repeating command block that says: scoreboard players add @e[type=minecraft:armor_stand,name=countdown] timer 1
and to reset the timer: scoreboard players set @e[type=minecraft:armor_stand,name=countdown] timer 0
then you can detect when the timer is at a certain point, 1 second is about 20 on the timer, so you can say something like this in a repeating command block:
execute if entity @e[type=minecraft:armor_stand,name=countdown,scores={timer=20}] run title @a title {"text":"5","color":"green"}
then you can create more command blocks for other points in the timer, and can run any command after 'run'
summon minecraft:armor_stand ~ ~0.5 ~ {NoBasePlate:1b,ShowArms:1b,ArmorItems:[{id:leather_boots,Count:1b,tag:{Unbreakable:1b,display:{color:11546150}}},{id:leather_leggings,Count:1b,tag:{Unbreakable:1b,display:{color:11546150}}},{id:leather_chestplate,Count:1b,tag:{Unbreakable:1b,display:{color:11546150}}},{id:player_head,Count:1b,tag:{SkullOwner:"Rocker09871",display:{Name:'{"text":"ror","color":"yellow"}'}}}],HandItems:[{id:potion,Count:1b,tag:{Enchantments:[{id:fortune,lvl:32767}],Potion:"water",display:{Name:'[{"text":"Vegan ","color":"green","bold":true,"italic":false},{"text":"Water","color":"blue","bold":true,"italic":false}]'}}},{id:potion,Count:1b,tag:{Enchantments:[{id:fortune,lvl:32767}],Potion:"water",display:{Name:'[{"text":"Vegan ","color":"green","bold":true,"italic":false},{"text":"Water","color":"blue","bold":true,"italic":false}]'}}}],Pose:{RightArm:[-30f,-20f,20f],LeftArm:[-70f,30f],Head:[30f,0f]}}