403: Torch lever. [Minecraft Map Making]
Membership: / @infernaldevice
Ep403: Pretty self explanatory. It's a lever that looks like a torch. :)
00:00 Intro
01:40 Setup
02:10 Create lever
10:55 Controller
30:00 Waffling
Version: 1.20.1
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 state dummy
Create:
IUN: summon interaction 35 57.2 13.9 {Tags:["torch"], width:0.34, height:0.6, response:true, Passengers:[{Tags:["torch"], id:"block_display", block_state:{Name:"air", Properties:{facing:"north"}}, transformation:{left_rotation:[0f,0f,0f,1f], right_rotation:[0f,0f,0f,1f], translation:[-0.5f,-0.2f,-0.8f], scale:[1f,1f,1f]}}]}
CUA: setblock 35 57 13 wall_torch[facing=north]
Controller:
RUA: execute as @e[type=interaction, tag=torch] at @s store success entity @s interaction.player[] int 0 on target run tag @e[type=interaction, tag=torch, distance=..0.1, limit=1] add change_me
CUA: execute as @e[type=interaction, tag=change_me] store success score @s state if score @s state matches 0
CUA: execute at @e[type=interaction, tag=change_me, scores={state=0}] run data merge entity @e[type=block_display, tag=torch, limit=1, sort=nearest] {block_state:{Name:"wall_torch"}, transformation:{left_rotation:{axis:[1f,0f,0f], angle:-1.57}, translation:[-0.5f,-0.9f,0.3f]}}
CUA: execute as @e[type=interaction, tag=change_me, scores={state=0}] at @s run setblock ~ ~ ~ air
CUA: execute at @e[type=interaction, tag=change_me, scores={state=0}] at @e[type=marker, tag=output, sort=nearest, limit=1] run setblock ~ ~ ~ redstone_block
CUA: execute at @e[type=interaction, tag=change_me, scores={state=1}] run data merge entity @e[type=block_display, tag=torch, limit=1, sort=nearest] {block_state:{Name:"air"},transformation:{left_rotation:[0f,0f,0f,1f], translation:[-0.5f,-0.2f,-0.9f]}}
CUA: execute as @e[type=interaction, tag=change_me, scores={state=1}] at @s run setblock ~ ~ ~ wall_torch[facing=north]
CUA: execute at @e[type=interaction, tag=change_me, scores={state=1}] at @e[type=marker, tag=output, sort=nearest, limit=1] run setblock ~ ~ ~ white_wool
CUA: execute at @e[type=interaction, tag=change_me] run playsound block.lever.click block @a ~ ~ ~ 1 1 0
CUA: tag @e remove change_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.