360: Interactive custom ceiling lights. [Minecraft Map Making]
Ep360: Making some custom lights for the ceiling using display entities, and creating eggs so they can be created and removed quickly and easily.
00:00 Intro
00:55 Setup
01:30 Give eggs
03:05 Controller - place
17:00 Controller - remove
20:05 Controller - main
Version: 1.19.4
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:
Setup:
CUA: scoreboard objectives add light_state dummy
Give Egg - Place:
IUN: give @p slime_spawn_egg{display:{Name:'{"text":"Light: Place"}'}, EntityTag:{id:"minecraft:marker", Tags:["light_place"]}}
Give Egg - Remove:
IUN: give @p strider_spawn_egg{display:{Name:'{"text":"Light: Remove"}'}, EntityTag:{id:"minecraft:marker", Tags:["light_remove"]}}
Controller - Place:
RUA: execute at @e[type=marker, tag=light_place] run setblock ~ ~ ~ light[level=15]
CUA: execute at @e[type=marker,tag=light_place] run summon interaction ~ ~0.8 ~ {Tags:["light","light_base"],response:true,width:0.61f,height:0.2f,Passengers:[{id:"minecraft:block_display", Tags:["light", "casing"], block_state:{Name:"chiseled_polished_blackstone"}, transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-0.3f,0.1f,-0.3f],scale:[0.6f,0.1f,0.6f]}},{id:"minecraft:block_display", Tags:["light", "bulb"], block_state:{Name:"redstone_lamp", Properties:{lit:"true"}}, transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-0.25f,0.05f,-0.25f],scale:[0.5f,0.2f,0.5f]}}]}
CUA: kill @e[type=marker, tag=light_place]
Controller - Remove:
RUA: execute at @e[type=marker, tag=light_remove] run setblock ~ ~ ~ air
CUA: execute at @e[type=marker, tag=light_remove] positioned ~ ~0.8 ~ run kill @e[tag=light, distance=..0.25]
CUA: kill @e[type=marker, tag=light_remove]
Controller - Main:
RUA: execute as @e[type=interaction, tag=light_base] at @s store success entity @s interaction.player[] int 0 on target run tag @e[type=interaction, tag=light_base, distance=..0.1, limit=1] add switch_me
CUA: execute as @e[type=interaction, tag=switch_me] store success score @s light_state if score @s light_state matches 0
CUA: execute at @e[type=interaction, tag=switch_me, scores={light_state=1}] run playsound block.stone_button.click_on block @a ~ ~ ~ 0.25 1 0
CUA: execute at @e[type=interaction, tag=switch_me ,scores={light_state=1}] run data modify entity @e[type=block_display, tag=bulb, distance=..0.1, limit=1] block_state set value {Name:"redstone_lamp",Properties:{lit:"true"}}
CUA: execute at @e[type=interaction, tag=switch_me, scores={light_state=1}] run setblock ~ ~ ~ light[level=15]
CUA: execute at @e[type=interaction, tag=switch_me, scores={light_state=0}] run playsound block.stone_button.click_off block @a ~ ~ ~ 0.25 1 0
CUA: execute at @e[type=interaction, tag=switch_me ,scores={light_state=0}] run data modify entity @e[type=block_display, tag=bulb, distance=..0.1, limit=1] block_state set value {Name:"redstone_lamp"}
CUA: execute at @e[type=interaction, tag=switch_me, scores={light_state=0}] run setblock ~ ~ ~ light[level=0]
CUA: tag @e[type=interaction, tag=switch_me] remove switch_me
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.