https://github.com/trigaten/minecraft_minigame_setup
https://github.com/trigaten/minecraft_minigame_setup
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/trigaten/minecraft_minigame_setup
- Owner: trigaten
- Created: 2021-08-05T01:32:59.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-08-07T02:52:26.000Z (about 4 years ago)
- Last Synced: 2025-02-05T15:43:56.356Z (8 months ago)
- Size: 4.88 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# minecraft_minigame_setup
# init
## initialize scoreboard objectives for keeping track of rounds and other data
### keep track of round
/scoreboard objectives add round dummy "round"### keep track of time count down between rounds
/scoreboard objectives add count_down dummy "count_down"### keep track of player healths (for display only purposes)
/scoreboard objectives add health health "health"
### make the player healths display below their names
/scoreboard objectives setdisplay belowName health
### keep track of zombies left to make
/scoreboard objectives add zombie_count dummy "zombie_count"
### setblock command that starts round one
/setblock 16 15 52 minecraft:redstone_block destroy
/scoreboard objectives add boss_count dummy "boss_count"
track life
/scoreboard objectives add isDead deathCount "isDead"# infinite
### continually decrement the time-between-rounds counter unless it is < 1
/execute if score d count_down matches 1.. run scoreboard players remove d count_down 1
# start chain
/scoreboard players reset d round# start new round chain
/title @p title [{"text":"Round ", "color":"red"}, {"score":{"name":"d","objective":"round"},"color":"red", "italic":true}]