228: Giant buttons. [Minecraft Map Making]
Ep228: Using interaction entities and display blocks to make giant buttons.
Java Version: 1.19.4
Commands, builds and ideas for people making their own Minecraft maps.
Check out my collabs on Coppit's channel: https://www.youtube.com/c/CoppitJ
Join the CoppitCraft server that I play on and the Discord where I hang out.
Server IP: 51.81.246.145:25588
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" with the appropriate angled bracket. Ascii code: 62
Commands used:
Create floor button:
IUN: summon interaction ~ ~0.5 ~3 {Tags:["floorButton"], width:0.8,height:0.15}
CUA: summon block_display ~ ~-0.35 ~2 {Tags:["floorButton"], block_state:{Name:"minecraft:red_wool"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-0.4f,0f,-0.4f],scale:[0.8f,0.8f,0.8f]},brightness:{sky:15,block:15}}
Interaction controller [Floor Hardcoded]:
RUA: execute as @e[type=interaction, tag=floorButton] on target run data merge entity @e[type=block_display,tag=floorButton,limit=1] {transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-0.4f,0f,-0.4f],scale:[0.8f,1f,0.8f]}, start_interpolation:-1,interpolation_duration:4}
CCA: data remove entity @e[type=interaction, tag=floorButton, limit=1] interaction
CCA: playsound minecraft:block.stone_button.click_on master @a 99 56 -9992 1 1 0
CCA: setblock 99 55 -9992 redstone_block replace
Attack controller [Floor]:
RUA: execute as @e[type=interaction, tag=floorButton] on attacker run say @s ow
CCA: data remove entity @e[type=interaction, tag=floorButton, limit=1] attack
Controller [Floor Variable]:
RUA: execute as @e[type=interaction, tag=floorButton] on target at @s run tag @e[type=interaction, tag=floorButton, distance=0..6] add pressed
CCA: execute at @e[type=interaction, tag=pressed] as @e[type=block_display, distance=0..1] run data merge entity @s {transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-0.4f,0f,-0.4f],scale:[0.8f,1f,0.8f]}, start_interpolation:-1,interpolation_duration:4}
CCA: data remove entity @e[type=interaction, tag=pressed, limit=1] interaction
CCA: execute at @e[type=interaction, tag=pressed] run playsound minecraft:block.stone_button.click_on master @a ~ ~ ~ 1 1 0
CCA: execute at @e[type=interaction, tag=pressed] run setblock ~ ~-2 ~ redstone_block replace
CCA: tag @e[type=interaction, tag=pressed] remove pressed
Create wall button [Wall North Facing]:
IUN: summon interaction ~ ~0.6 ~2.75 {Tags:["wallButton"], width:0.8,height:0.8}
CUA: summon block_display ~ ~0.6 ~1.95 {Tags:["wallButton"], block_state:{Name:"minecraft:red_wool"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-0.4f,0f,-0.4f],scale:[0.8f,0.8f,0.8f]},brightness:{sky:15,block:15},Rotation:[180f,0f]}
Controller [Wall North Facing Variable]:
RUA: execute as @e[type=interaction, tag=wallButton] on target at @s run tag @e[type=interaction, tag=wallButton, distance=0..6] add pressed
CCA: execute at @e[type=interaction, tag=pressed] as @e[type=block_display, tag=wallButton, distance=0..1] run data merge entity @s {transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-0.4f,0f,-0.4f],scale:[0.8f,0.8f,1f]}, start_interpolation:-1,interpolation_duration:4}
CCA: data remove entity @e[type=interaction, tag=pressed, limit=1] interaction
CCA: execute at @e[type=interaction, tag=pressed] run playsound minecraft:block.stone_button.click_on master @a ~ ~ ~ 1 1 0
CCA: execute at @e[type=interaction, tag=pressed] run setblock ~ ~-2 ~ redstone_block replace
CCA: tag @e[type=interaction, tag=pressed] remove pressed
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.