289: Simple mob wave system for an arena. [Minecraft Map Making]

Subscribers:
3,570
Published on ● Video Link: https://www.youtube.com/watch?v=S2z3vgV39oQ



Countdown Timer
Game:
Duration: 42:14
187 views
15


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


2024-04-29298: Checking banner patterns with commands. [Minecraft Map Making]
2024-04-28297: Recipe giving and click detection with knowledge books. [Minecraft Map Making]
2024-04-27296: Phase shifting through blocks. [Minecraft Map Making]
2024-04-26CoppitCraft Castle 047: Working on the front gate.
2024-04-26295: Playing with leads. [Minecraft Map Making]
2024-04-25294: Improved Mario coin block with tools for easy creation. [Minecraft Map Making]
2024-04-24293: Stop mobs entering or leaving an area. [Minecraft Map Making]
2024-04-23292: Controllable 3 * 3 moving platform. [Minecraft Map Making]
2024-04-22291: Stargate experiment. [Minecraft Map Making]
2024-04-20290: Tool Book: Item Frame properties. [Minecraft Map Making]
2024-04-19289: Simple mob wave system for an arena. [Minecraft Map Making]
2024-04-19288: Check if the player stops sneaking. [Minecraft Map Making]
2024-04-17287: Stop mobs attacking you with a Scroll of Friendship. [Minecraft Map Making]
2024-04-16286: Mario coin block experiment. [Minecraft Map Making]
2024-04-14285: Scroll of taming. Make those pets love you. [Minecraft Map Making]
2024-04-12284: Better chairs and custom tools to place them easily. [Minecraft Map Making]
2024-04-11283: Drop item to temporarily remove nearby mobs AI. [Minecraft Map Making]
2024-04-10CoppitCraft Castle 046: House exteriors and the main bridge.
2024-04-09282: Updated patrolling guards. [Minecraft Map Making]
2024-04-08281: Patrolling guards that execute commands when they spot you. [Minecraft Map Making]
2024-04-07CoppitCraft Castle Egg Hunt: Getting all the eggs in the Easter Event.



Tags:
minecraft
adventure map
map making
commands
command blocks
1.18
custom commands
redstone
map ideas
map suggesstions
custom maps
1.19



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.