Lever command? Door? Also, bug with command blocks greyed out options; spawns only on minecarts?
I'm trying to make a lever command to prevent the iron door from re-opening on a player (student); unless "name" presses the lever or button (or they complete an action) to let them out.
It seems like using js doesn't work too; it doesn't recognize lever use, nor the iron door could be found on code editor.
I hope I shouldn't just stick to Redstone or command block?
Lever command? Door? Also, bug with command blocks greyed out options; not in inventory creative; tried /spawn command block - spawn only on minecarts?
-
Hello. You mean "JavaScript" from Code Builder? If Yes, it work only with Your payer, not all players.
For prevent the iron door from re-opening by students use command blocks and selectors. Use @p[name=supername,r=2] or @p[tag=superstudent,r=2] or something like this.
command blocks newer been in inventory creative. Always use must "/give @s command_block"
/spawn? maybe /summon? - this command is for creating in-game entities like "cat", "cow" or "horse" and yes - minecart is also entity
0
Please sign in to leave a comment.
Comments
1 comment