345: Code entry by copying held block to item display. [Minecraft Map Making]

Subscribers:
3,830
Published on ● Video Link: https://www.youtube.com/watch?v=uCOg2h9brLI



Minecraft
Game:
Minecraft (2011)
Duration: 13:19
193 views
21


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


2024-06-20355: Lightable torches Updated. Added lifetime, light with arrows. [Minecraft Map Making]
2024-06-19354: Countdown timer with ticking sound. [Minecraft Map Making]
2024-06-18353: Modifying sidebar look for an effect selector. [Minecraft Map Making]
2024-06-17352: Floor crafting in 1.20.6. [Minecraft Map Making]
2024-06-16351: Checking mob deaths for a tower defence game. [Minecraft Map Making]
2024-06-15350: Is player following checkpoint path? Race lap counter. [Minecraft Map Making]
2024-06-14349: Did a player throw this item? Experiments. [Minecraft Map Making]
2024-06-13348: Torches that players can light and put out. [Minecraft Map Making]
2024-06-12347: Web Potion. Detecting where potions land. [Minecraft Map Making]
2024-06-11346: Infectious zombie plague. [Minecraft Map Making]
2024-06-10345: Code entry by copying held block to item display. [Minecraft Map Making]
2024-06-09344: Item frame that displays the first item in a chest. [Minecraft Map Making]
2024-06-08343: Updated. Big moving chain. [Minecraft Map Making]
2024-06-07342: Detecting weather. [Minecraft Map Making]
2024-06-06341: Top down camera view, remote controlled entity with button detection. [Minecraft Map Making]
2024-06-05340: Moving mechanical chain decoration. [Minecraft Map Making]
2024-06-04339: Rotating room. [Minecraft Map Making]
2024-06-03338: Tool for detecting and counting hidden ores. [Minecraft Map Making]
2024-06-02337: Concept: Magic staff with homing missiles. [Minecraft Map Making]
2024-05-31336: Checking light levels at the players position. [Minecraft Map Making]
2024-05-30335: UPDATED: Run command every n ticks to player near tagged entity. [Minecraft Map Making]



Tags:
minecraft
adventure map
map making
commands
command blocks
1.18
custom commands
redstone
map ideas
map suggesstions
custom maps
1.19



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.