358: Mob death checking for Tower Defence. Updated. [Minecraft Map Making]
Ep358: Updating the death checker to 1.19.4 so that we don't get problems when the mobs are too close together.
00:00 Intro
01:00 Setup
02:35 Summon
05:00 Controller - Main
12:15 Controller - Move
Version 1.19.4
Epsiode 351 - Version 1.19: • 351: Checking mob deaths for a tower ...
Requested by: Torin
Commands, builds and ideas for people making their own Minecraft maps.
Check out my collabs on Coppit's channel: / coppitj
Join the CoppitCraft server that I play on and the Discord where I hang out.
Server IP: 51.81.246.145:25588
Discord: / discord
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" and "less than" with the appropriate angled bracket.
Commands used:
Setup:
IUN: scoreboard objectives add timer dummy
CUA: scoreboard objectives add points dummy
CUA: scoreboard objectives add death.mob dummy
Summon Husk:
IUN: summon husk ~2 ~ ~ {Tags:["my_mob"], Passengers:[{id:"minecraft:marker",Tags:["death_detector"],data:{points:7}}]}
Controller:
RUA: scoreboard players add #death_check timer 1
CUA: execute if score #death_check timer matches 20.. store success score #death_check timer as @e[type=marker,tag=death_detector] store success score @s death.mob on vehicle unless data entity @s {DeathTime:0s}
CUA: execute as @e[type=marker, tag=death_detector, scores={death.mob=1}] run say Death!
CUA: execute as @e[type=marker, tag=death_detector, scores={death.mob=1}] store result score @s points run data get entity @s data.points
CUA: execute as @e[type=marker, tag=death_detector, scores={death.mob=1}] run scoreboard players operation .global points += @s points
CUA: kill @e[type=marker, tag=death_detector, scores={death.mob=1}]
Controller - Move:
RUA: execute as @e[tag=my_mob] at @s run tp @s ~ ~ ~0.1
CCA: execute as @e[tag=my_mob] at @s if block ~ ~-0.2 ~ red_wool on passengers run kill @s
CCA: execute as @e[tag=my_mob] at @s if block ~ ~-0.2 ~ red_wool run kill @s
Other Videos By Infernal Device
Other Statistics
Tower Defence Statistics For Infernal Device
At present, Infernal Device has 246 views spread across 2 videos for Tower Defence, with his channel publishing less than an hour of Tower Defence content. This makes up less than 0.30% of the total overall content on Infernal Device's YouTube channel.