289: Simple mob wave system for an arena. [Minecraft Map Making]
Ep289: A simple system for making waves of mobs for use in something like an arena. Easily expandable to add move waves or mobs per wave..
Version: 1.19
Requested by: Rohmeo-us5qr
Commands, builds and ideas for people making their own Minecraft maps.
Check out my collabs on Coppit's channel: https://www.youtube.com/c/CoppitJ
Join the CoppitCraft server that I play on and the Discord where I hang out.
Server IP: 51.81.246.145:25588
Discord: https://discord.gg/amU84KykEu
The following commands are prefixed with three letters which represent the settings of the command block. E.g IUN: = Impulse Unconditional Needs_Redstone. These prefixes need to be removed if copying the commands.
Since angled brackets are not allowed in YouTube descriptions you will have to replace "greater than" with the appropriate angled bracket. Ascii code: 62
Commands used:
Setup:
IUN: scoreboard objectives add enemy.count dummy
CUA: scoreboard objectives add wave.count dummy
CUA: scoreboard objectives add timer dummy
CUA: title @a times 5 10 5
Markers:
IUN: summon marker -25 56 360 {Tags:["marker.spawn"]}
CUA: ...
CUA: spreadplayers -25 360 2 2 under 57 false @e[tag=marker.spawn]
Start:
IUN: scoreboard players set #global wave.count 1
CUA: setblock -16 56 352 redstone_block replace [Countdown]
Reset:
IUN: scoreboard players reset #global wave.count
CUA: kill @e[tag=marker.wave]
CUA: summon marker -12 56 352 {Tags:["marker.wave"]}
CUA: kill @e[tag=mob.wave]
CUA: setblock -14 56 352 white_wool replace [Checker]
CUA: setblock -16 56 352 white_wool replace [Countdown]
CUA: scoreboard players reset #countdown timer
CUA: scoreboard players reset #global enemy.count
Countdown:
RUN: scoreboard players add #countdown timer 1
CUA: execute if score #countdown timer matches 1 run title @a title {"text":"3", "color":"green"}
CUA: execute if score #countdown timer matches 21 run title @a title {"text":"2", "color":"gold"}
CUA: execute if score #countdown timer matches 41 run title @a title {"text":"1", "color":"red"}
CUA: execute if score #countdown timer matches 61 at @e[tag=marker.wave] run setblock ~ ~ ~ redstone_block replace
CCA: setblock -16 56 352 white_wool [Countdown]
CCA: scoreboard players reset #countdown timer
CCA: setblock -14 56 352 redstone_block replace [Checker]
Checker:
RUN: execute store result score #global enemy.count if entity @e[tag=mob.wave]
CUA: execute if score #global enemy.count matches 0 if score #global wave.count matches 3 run setblock -8 56 352 redstone_block replace [Finish]
CUA: execute if score #global enemy.count matches 0 if score #global wave.count matches 1..2 run setblock -16 56 352 redstone_block replace [Countdown]
CUA: execute if score #global enemy.count matches 0 run setblock -14 56 352 white_wool replace [Checker]
Wave:
IUN: execute at @e[tag=marker.spawn, sort=random, limit=2] run summon spider ~ ~ ~ {Tags:["mob.wave"], DeathLootTable:"empty"}
CUA: execute as @e[tag=marker.wave] at @s run tp @s ~2 ~ ~
CUA: title @a title {"text":"Wave 2", "color":"gray"}
CUA: scoreboard players add #global wave.count 1
Finish:
IUN: setblock -16 56 352 white_wool replace [Countdown]
CUA: setblock -14 56 352 white_wool replace [Checker]
CUA: setblock -18 56 352 redstone_block replace [Reset]
CUA: say The door is open, you may proceed.
Other Videos By Infernal Device
Other Statistics
Countdown Timer Statistics For Infernal Device
At present, Infernal Device has 187 views spread across 1 video for Countdown Timer, with his channel publishing less than an hour of Countdown Timer content. This makes up less than 0.26% of the total overall content on Infernal Device's YouTube channel.