Ok so I need like a nerdy guy/smart guy to answer this question. I am making a Minecraft map that you need to use a key (a tripwire hook) to open an iron door by right clicking it, but I have no idea how to. I have seen people do it on several maps but I need help. Thanks -Robo EDIT: Guys here is something like what im looking for https://gaming.stackexchange.com/questions/272926/minecraft-command-block-door-using-a-key/272960 Can someone explain it more simple?
Are you talking about the SerialKey plugin? Purty sure you can download that off of Bukkit or find similar versions of it on Spigot.
No, no its a command, here is a link to something i found related to this: https://gaming.stackexchange.com/questions/272926/minecraft-command-block-door-using-a-key/272960
Just use a plugin. It will be easier to customise and you won't need to place a command block anywhere.
I can help, well it'd be easier if you just used a hopper to use the key and only one specific item will be able to open the door, i can do that
little things make a big difference. People will think a map creator really put in effort if the players had to right click the door with a key instead of throwing it. It just makes the map more realistic. -- Anyhoo, I just simplified (I tried my best) what the best answer was. 1. First of all, type the command below and replace X Y Z with the co-ordinates of the bottom block/part of your door (As we all know, doors are two blocks high, get the coords of the bottom one) /summon ArmorStand X Y Z {CustomName:"keyDetector",Invisible:1,Invulnerable:1} 2. What you need to do next is place a command block, and set it to "repeating" (The purple command block). Set it to "Always Active" and put down the command below /scoreboard players tag @a add hasKey {Inventory:[{tag:{display:{Name:"Key"}}}] 3. Then, place another one and set that as a "chain" command block (green one). Make sure to set it as "Always Active" as well. Put down the command below: /execute @a[tag=hasKey] ~ ~ ~ /execute @e[name=keyDetector,type=ArmorStand] ~ ~ ~ /setblock ~ ~ ~ iron_door 4 4. Do the same from step 3 but this time, put this command below: /execute @a[tag=hasKey] ~ ~ ~ /execute @e[name=keyDetector,type=ArmorStand] ~ ~ ~ /setblock ~ ~1 ~ iron_door 9 Make sure the command blocks look like this if this doesn't work then it might be the numbers at the end of the two last commands. (4 on the second one, 9 on the last one)