216. Mob launching force field [Minecraft Map Making]
Ep216: Yeeting away all mobs that come near a player using an invisible aura.
Java Version: 1.19
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.
Commands used:
Setup:
IUN: scoreboard objectives add xPos dummy
CUA: scoreboard objectives add zPos dummy
Summon zombie:
IUN: summon zombie ~ ~ ~2 {ArmorItems:[{},{},{},{id:"minecraft:oak_button",Count:1b}]}
Remove Zombie:
IUN: execute as @e[type=zombie] at @s run tp @s ~ -2112 ~
Controller:
RUA: execute at @a as @e[limit=1, sort=nearest, distance=0.1..5] run tag @s add yeetMe
CCA: execute store result score #target xPos run data get entity @e[tag=yeetMe, limit=1] Pos[0] 100
CCA: execute store result score #target zPos run data get entity @e[tag=yeetMe, limit=1] Pos[2] 100
CCA: execute store result score #origin xPos run data get entity @p Pos[0] 100
CCA: execute store result score #origin zPos run data get entity @p Pos[2] 100
CCA: scoreboard players operation #origin xPos -= #target xPos
CCA: scoreboard players operation #origin zPos -= #target zPos
CCA: execute store result storage id:data xPos double -.001 run scoreboard players get #origin xPos
CCA: execute store result storage id:data zPos double -.001 run scoreboard players get #origin zPos
CCA: data modify entity @e[tag=yeetMe,limit=1] Motion[0] set from storage id:data xPos
CCA: data modify entity @e[tag=yeetMe,limit=1] Motion[2] set from storage id:data zPos
CCA: data modify entity @e[tag=yeetMe,limit=1] Motion[1] set value 0.5
CUA: tag @e[tag=yeetMe] remove yeetMe
Other Videos By Infernal Device
Other Statistics
Minecraft Statistics For Infernal Device
At present, Infernal Device has 182,428 views spread across 865 videos for Minecraft, accounting for over 10 days of watchable video on his channel. This is 94.82% of the total watchable video for Minecraft on Infernal Device's YouTube channel.