Command Block Tutorial #99: Magnetic Grenade Commands in Minecraft (1.16+)
In this video I will showcase a special item that allows you teleport mobs in a certain radius of the item to where the item was thrown to, which works just like a magnet attracting metal.
Commands:
* To get the Magnetic Grenade: /give @p minecraft:snowball{Enchantments:[{id:infinity,lvl:1,}],display:{Name:"{\"text\":\"Magnetic Grenade\"}"}}
1. Repeater Command Block: /execute if entity @a[nbt={SelectedItem:{id:"minecraft:snowball",tag:{display:{Name:'{"text":"Magnetic Grenade"}'}}}}] run execute as @e[type=snowball] at @s run summon minecraft:area_effect_cloud ~ ~ ~ {Duration:2s,Tags:["magnetic_puller"]}
2. Repeater Command Block: /execute if entity @a[nbt={SelectedItem:{id:"minecraft:snowball",tag:{display:{Name:'{"text":"Magnetic Grenade"}'}}}}] run execute as @e[type=minecraft:area_effect_cloud,tag=magnetic_puller] at @s unless entity @e[type=minecraft:snowball,distance=..3] run tp @e[type=!minecraft:player,distance=0..10] ~ ~ ~
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.