Command Block Tutorial #109: Explosive Mine Commands in Minecraft (1.17+) (4th of July Edition)
In this video I will show you how to make a special explosive device that can basically kill most mobs in one-blow, and with a little 4th of July twist towards the end of the video.
Commands:
4th of July Version: https://docs.google.com/document/d/1oVcQhXoGTEz-Fcpn9AgdLc6yrC40nwe1tO-18MzUTKQ/edit?usp=sharing
To get the snowball(the mine): /give @p minecraft:snowball{Enchantments:[{id:infinity,lvl:1,}],display:{Name:"{\"text\":\"Explosive Mine\"}"}}
1. Repeater Command Block: /execute if entity @a[nbt={SelectedItem:{id:"minecraft:snowball",tag:{display:{Name:'{"text":"Explosive Mine"}'}}}}] run execute as @e[type=snowball] at @s run summon minecraft:area_effect_cloud ~ ~ ~ {Duration:2s,Tags:["tnt_mine"]}
2. Repeater Command Block: /execute if entity @a[nbt={SelectedItem:{id:"minecraft:snowball",tag:{display:{Name:'{"text":"Explosive Mine"}'}}}}] run execute as @e[type=minecraft:area_effect_cloud,tag=tnt_mine] at @s unless entity @e[type=minecraft:snowball,distance=..3] run summon zombie ~ ~-1.05 ~ {IsBaby:1,PersistenceRequired:1,Silent:1,NoAI:1,CustomName:"\"Explosive Mine\"",ActiveEffects:[{Id:14,Amplifier:0,Duration:999999}],ArmorItems:[{},{},{},{id:"minecraft:player_head",Count:1b,tag:{SkullOwner:{Id:[I;-232073411,648233913,-1343691242,669547674],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNjEzMWEzNmU3MGZmYWE3Y2E3ZTY3MmFlNmFjMjBiN2ZjMWU0NTdjNDNhOGUxMDY5ZTdiMTRlY2RiODU3NiJ9fX0="}]}}}}]}
3. Repeater Command Block: /execute at @e[type=minecraft:zombie,name="Explosive Mine"] run execute if entity @e[name=!"Explosive Mine",distance=0..1] run summon tnt ~ ~ ~ {ExplosivePower:20}
4. Repeater Command Block: /execute at @e[type=minecraft:zombie,name="Explosive Mine"] run execute if entity @e[name=!"Explosive Mine",distance=0..1] run execute if entity @e[type=!minecraft:snowball,distance=0..1] run effect give @e[name="Explosive Mine"] minecraft:instant_health 1 5 true
5. Repeater Command Block: /kill @e[type=minecraft:item,nbt={Item:{id:"minecraft:rotten_flesh"}}]
6. Repeater Command Block: /execute at @e[type=minecraft:zombie,name="Explosive Mine"] run execute if entity @e[name=!"Explosive Mine",distance=0..1] run effect give @e[name=!"Explosive Mine",distance=0..1] minecraft:instant_damage 1 6
7. Repeater Command Block: /execute at @e[type=minecraft:zombie,name="Explosive Mine"] run execute if entity @e[name=!"Explosive Mine",distance=0..1] run effect give @e[name=!"Explosive Mine",type=minecraft:zombie,distance=0..1] minecraft:instant_health 1 6
8. Repeater Command Block: /execute at @e[type=minecraft:zombie,name="Explosive Mine"] run execute if entity @e[name=!"Explosive Mine",distance=0..1] run effect give @e[name=!"Explosive Mine",type=minecraft:skeleton,distance=0..1] minecraft:instant_health 1 6
9. Repeater Command Block: /execute at @e[type=minecraft:zombie,name="Explosive Mine"] run execute if entity @e[name=!"Explosive Mine",distance=0..1] run effect give @e[name=!"Explosive Mine",type=minecraft:drowned,distance=0..1] minecraft:instant_health 1 6
10. Repeater Command Block: /execute at @e[type=minecraft:zombie,name="Explosive Mine"] run execute if entity @e[name=!"Explosive Mine",distance=0..1] run effect give @e[name=!"Explosive Mine",type=minecraft:wither_skeleton,distance=0..1] minecraft:instant_health 1 6
11. Repeater Command Block: /execute at @e[type=minecraft:zombie,name="Explosive Mine"] run execute if entity @e[name=!"Explosive Mine",distance=0..1] run effect give @e[name=!"Explosive Mine",type=minecraft:zombie_villager,distance=0..1] minecraft:instant_health 1 6
12. Repeater Command Block: /execute at @e[type=minecraft:zombie,name="Explosive Mine"] run execute if entity @e[name=!"Explosive Mine",distance=0..1] run effect give @e[name=!"Explosive Mine",type=minecraft:husk,distance=0..1] minecraft:instant_health 1 6
13. Repeater Command Block: /execute at @e[type=minecraft:zombie,name="Explosive Mine"] run execute if entity @e[name=!"Explosive Mine",distance=0..1] run effect give @e[name=!"Explosive Mine",type=minecraft:stray,distance=0..1] minecraft:instant_health 1 6
14. Repeater Command Block: /execute at @e[type=minecraft:zombie,name="Explosive Mine"] run execute if entity @e[name=!"Explosive Mine",distance=0..1] run effect give @e[name=!"Explosive Mine",type=minecraft:zombified_piglin,distance=0..1] minecraft:instant_health 1 6
15. Repeater Command Block: /execute at @e[type=minecraft:zombie,name="Explosive Mine"] run execute if entity @e[name=!"Explosive Mine",distance=0..1] run effect give @e[name=!"Explosive Mine",type=minecraft:zoglin,distance=0..1] minecraft:instant_health 1 6
Music:
1. Gaming Sound FX:
* Monkeys Spinning Monkeys (Kevin MacLeod) - Gaming Background Music (HD):
https://www.youtube.com/watch?v=pr42a...
Other Videos By RedstoneKnightX
Other Statistics
Minecraft Statistics For RedstoneKnightX
RedstoneKnightX presently has 1,527,317 views for Minecraft across 384 videos, with His channel uploaded over 2 days worth of Minecraft videos. This is 85.45% of the total watchable video on RedstoneKnightX's YouTube channel.