358: Mob death checking for Tower Defence. Updated. [Minecraft Map Making]

Subscribers:
3,860
Published on ● Video Link: https://www.youtube.com/watch?v=AaGYps_A-vU



Game:
Duration: 15:29
140 views
6


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


2024-07-02367: Item Display you can pick up. [Minecraft Map Making]
2024-07-02Channel Update: [001]
2024-06-30365: Hidden wall safe. [Minecraft Map Making]
2024-06-30366: Smoke Bomb. Updated to 1.21. [Minecraft Map Making]
2024-06-29364: Experimental mini farm for 1.21. [Minecraft Map Making]
2024-06-28363: Can the player see the sky at daytime? [Minecraft Map Making]
2024-06-27362: Table you can place and remove items from. [Minecraft Map Making]
2024-06-26361: Sword in a stone which can be pulled out. [Minecraft Map Making]
2024-06-25360: Interactive custom ceiling lights. [Minecraft Map Making]
2024-06-24359: Timed commands using a predicate. [Minecraft Map Making]
2024-06-23358: Mob death checking for Tower Defence. Updated. [Minecraft Map Making]
2024-06-22357: Rechargeable Gas mask with limited uses. [Minecraft Map Making]
2024-06-21356: Simple Locked door experiment. [Minecraft Map Making]
2024-06-20355: Lightable torches Updated. Added lifetime, light with arrows. [Minecraft Map Making]
2024-06-19354: Countdown timer with ticking sound. [Minecraft Map Making]
2024-06-18353: Modifying sidebar look for an effect selector. [Minecraft Map Making]
2024-06-17352: Floor crafting in 1.20.6. [Minecraft Map Making]
2024-06-16351: Checking mob deaths for a tower defence game. [Minecraft Map Making]
2024-06-15350: Is player following checkpoint path? Race lap counter. [Minecraft Map Making]
2024-06-14349: Did a player throw this item? Experiments. [Minecraft Map Making]
2024-06-13348: Torches that players can light and put out. [Minecraft Map Making]



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



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.