345: Code entry by copying held block to item display. [Minecraft Map Making]
Ep345: Copying the held block of a player to an item display if that item is contained within a block tag list.
Version: 1.20.5
Command help: GalSergey
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 Interactions:
IUN: summon interaction ~ ~0.5 ~ {Tags:["code_display", "entry"]}
Create Displays:
IUN: summon item_display ~2 ~1 ~ {Tags:["code_display", "display_1"], item:{id:"stone", Count:1b}}
CUA: summon item_display ~2 ~1 ~ {Tags:["code_display", "display_2"], item:{id:"stone", Count:1b}}
CUA: summon item_display ~2 ~1 ~ {Tags:["code_display", "display_3"], item:{id:"stone", Count:1b}}
Controller:
RUA: execute as @e[type=interaction, tag=entry] on target run tag @s add check_me
CUA: execute as @e[type=interaction, tag=entry, nbt={interaction:{}}] at @s if items entity @a[tag=check_me] weapon.mainhand #minecraft:wool run item replace entity @e[type=item_display, distance=..0.5] container.0 from entity @p weapon.mainhand
CUA: execute as @e[tag=entry] run data remove entity @s interaction
CUA: tag @a remove check_me
Check Win:
IUN: execute if entity @e[tag=display_1, limit=1, nbt={item:{id:"minecraft:red_wool"}}] if entity @e[tag=display_2, limit=1, nbt={item:{id:"minecraft:green_wool"}}] if entity @e[tag=display_3, limit=1, nbt={item:{id:"minecraft:blue_wool"}}] run say Correct!
Other Videos By Infernal Device
Other Statistics
Minecraft Statistics For Infernal Device
At present, Infernal Device has 182,428 views spread across 865 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.