381: Block display laser barrier. [Minecraft Map Making]
Membership: / @infernaldevice
Ep381: Using a block display to create a laser barrier that hurts the player if they touch it.
00:00 Intro
01:35 Create barrier
09:30 Controller
Version: 1.21
Requested by: Yushiko
Commands, builds 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:
Create:
IUN: summon block_display 10042 56 10066 {Tags:["laser"], transformation:{left_rotation:[0f,0f,0f,1f], right_rotation:[0f,0f,0f,1f], scale:[3f, 0.2f, 0.2f], translation:[-1.5f,0.5f,-0.1f]}, block_state:{Name:"red_stained_glass"}}
CUA: summon block_display 10042 57 10066 {Tags:["laser"], transformation:{left_rotation:[0f,0f,0f,1f], right_rotation:[0f,0f,0f,1f], scale:[3f, 0.2f, 0.2f], translation:[-1.5f,0.5f,-0.1f]}, block_state:{Name:"red_stained_glass"}}
CUA: execute at @e[type=block_display, tag=laser] run summon marker ~-1.5 ~0.5 ~ {Tags:["laser","laser_origin"], Rotation:[-90f,0f]}
Detector:
RUA: execute at @e[tag=laser_origin] run summon area_effect_cloud ~ ~ ~ {Tags:["laser", "laser_ray"], Duration:15, Rotation:[-90f,0f]}
CUA: execute as @e[tag=laser_ray] at @s run tp @s ^ ^ ^0.2
CUA: execute at @e[tag=laser_ray] as @a[distance=..0.8] run damage @s 2 generic
Other Videos By Infernal Device
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.