425: Summon mobs using basic structure detection. [Minecraft Map Making]
Membership:
Ep425: Checking when a very simple structure is made from blocks and summoning a mob.
00:00 Intro
01:30 Setup
02:05 Controller
09:45 Waffling
Version: 1.21
Commands, builds, hacks and ideas for people making their own Minecraft maps.
Check out my collabs on Coppit's channel:
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.
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 last_block used:emerald_block
Controller:
RUA: execute as @a[scores={last_block=1..}] at @s positioned ~ ~1.65 ~ run summon area_effect_cloud ~ ~ ~ {Tags:["ray", "init_me"], Duration:40}
CUA: execute as @e[type=area_effect_cloud, tag=init_me] at @s rotated as @p[scores={last_block=1..}] run tp @s ~ ~ ~ ~ ~
CUA: tag @e[type=area_effect_cloud, tag=init_me] remove init_me
CUA: execute as @e[type=area_effect_cloud, tag=ray] at @s run tp @s ^ ^ ^0.3
CUA: execute as @e[type=area_effect_cloud, tag=ray] at @s if block ~ ~ ~ emerald_block run summon area_effect_cloud ~ ~ ~ {Tags:["check_me"]}
CCA: execute at @e[type=area_effect_cloud, tag=check_me] if block ~ ~ ~ emerald_block if block ~ ~-1 ~ emerald_block run fill ~ ~ ~ ~ ~-1 ~ air
CCA: execute at @e[type=area_effect_cloud, tag=check_me] run summon husk ~ ~ ~ {Silent:true, DeathLootTable:"empty"}
CUA: scoreboard players reset @a[scores={last_block=1..}] last_block