412: Boss attack experiment. Particle beam [Minecraft Map Making]

Subscribers:
3,590
Published on ● Video Link: https://www.youtube.com/watch?v=TiDvdT3PLC8



Minecraft
Game:
Minecraft (2011)
Duration: 0:00
460 views
17


Membership:    / @infernaldevice  
Ep412: Updating the old Magic Scroll tutorial to use components.

00:00 Intro
01:10 Setup
01:50 Show markers
03:10 Activate
08:10 Controller - Part 1
10:10 Beam Summon
15:30 Controller - Part 2

Version: 1.21

Requested by: loknicholas

Commands, builds, hacks 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 count dummy

Show markers:
RUA: execute at @e[type=marker, tag=beam] run particle dust{color:[1,0,0], scale:1} ~ ~ ~ 0.1 0.1 0.1 0 1
CUA: execute at @e[type=area_effect_cloud, tag=beam] run particle dust{color:[0,1,0], scale:1} ~ ~ ~ 0.1 0.1 0.1 0 1

Activate:
IUN: summon marker 10089 56.5 10095 {Tags:["beam", "beam_origin", "init_origin"]}
CUA: execute as @e[type=marker, tag=init_origin] at @s facing entity @p eyes run tp @s ~ ~ ~ ~ ~
CUA: scoreboard players set @e[type=marker, tag=init_origin] count 5
CUA: tag @e[type=marker, tag=init_origin] remove init_origin

Controller:
RUA: execute if entity @e[type=marker, tag=beam_origin] run scoreboard players add #beam timer 1
CUA: execute if score #beam timer matches 20 store success score #beam timer run setblock 10093 56 10095 redstone_block
CUA: execute as @e[type=area_effect_cloud, tag=beam_ray] at @s run tp @s ^ ^ ^0.2
CUA: execute as @e[type=area_effect_cloud, tag=beam_ray] at @s unless block ~ ~ ~ #minecraft:air run kill @s
CUA: execute at @e[type=area_effect_cloud, tag=beam_ray] positioned ~ ~-1 ~ run tag @a[distance=..1] add target
CCA: execute at @a[tag=target] run kill @e[type=area_effect_cloud, tag=beam_ray, sort=nearest, limit=1]
CUA: execute at @a[tag=target] run playsound entity.slime.attack hostile @a ~ ~ ~ 1 1 0
CUA: execute as @a[tag=target] run damage @s 2
CUA: tag @a[tag=target] remove target

Controller - Beam Summon:
IUN: scoreboard players remove @e[type=marker, tag=beam_origin] count 1
CUA: execute at @e[type=marker, tag=beam_origin] run summon area_effect_cloud ~ ~ ~ {Tags:["beam", "beam_ray", "init_beam"], Duration:120
CUA: execute as @e[type=area_effect_cloud, tag=init_beam] at @s rotated as @n[type=marker, tag=beam_origin, distance=..0.1] run tp @s ~ ~ ~ ~ ~
CUA: kill @e[type=marker, tag=beam_origin, scores={count=0}]







Other Statistics

Minecraft Statistics For Infernal Device

At present, Infernal Device has 181,722 views spread across 860 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.