426: Ceiling lights with shared switch. [Minecraft Map Making]
Membership:
Ep426: Making custom ceiling lights that use one switch to turn them all on and off.
00:00 Intro
01:30 Setup - part one
01:50 Give Egg - place
02:40 Give Egg - remove
03:20 Controller - place
10:00 Controller - remove
13:30 Setup - part two
13:45 Give ID to light
14:40 Activate
19:50 Remote activate
Version: 1.21
Alternate ceiling lights Episode 360: • 360: Interactive custom ceiling light...
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.176.10:28386
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 light_id dummy
CUA: scoreboard objectives add light_state dummy
Give Egg - Place:
IUN: give @p slime_spawn_egg[item_name='"Light: Place"',entity_data={id:"minecraft:marker",Tags:["light_place"]}]
Give Egg - Remove:
IUN: give @p strider_spawn_egg[item_name='"Light: Remove"',entity_data={id:"minecraft:marker",Tags:["light_remove"]}]
Controller - Place:
RUA: execute at @e[type=marker, tag=light_place] run setblock ~ ~ ~ light[level=15]
CCA: execute at @e[type=marker,tag=light_place] run summon block_display ~ ~0.9 ~ {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,0f,-0.3f],scale:[0.6f,0.1f,0.6f]},
Passengers:[{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.1f,0.5f]}}]}
CCA: 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]
Set bulb ID:
IUN: scoreboard players set @e[tag=bulb,distance=..5] light_id 1
Activate:
IUN: execute as @e[type=minecraft:block_display, tag=bulb, scores={light_id=1}] store success score @s light_state if score @s light_state matches 0
CUA: execute as @e[type=minecraft:block_display, tag=bulb, scores={light_state=0, light_id=1}] run data modify entity @s block_state set value {Name:"redstone_lamp",Properties:{lit:"false"}}
CUA: execute as @e[type=minecraft:block_display, tag=bulb, scores={light_state=0, light_id=1}] at @s run setblock ~ ~ ~ light[level=0]
CUA: execute as @e[type=minecraft:block_display, tag=bulb, scores={light_state=1, light_id=1}] run data modify entity @s block_state set value {Name:"redstone_lamp",Properties:{lit:"true"}}
CUA: execute as @e[type=minecraft:block_display, tag=bulb, scores={light_state=1, light_id=1}] at @s run setblock ~ ~ ~ light[level=15]
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.