First, you must give yourself a command block (If you are on a server, you must be 'OP'ed, and have access to /gamemode 1)
To get a command block, type /give @p command_block in the chat.
Once you have a command block, right click it to open it's GUI.
Now, you must copy and paste the command from your browser into the game. Select the entire command from below, then right click and press 'copy'.
Next, go back to your minecraft world, and paste the command you just copied into the command block. There are a few different keys that may be used to do this, depending on your keyboard. The most common ones are 'CTRL + V', 'COMMAND + V', or 'STRG + V'
Finally, you can press done to exit the GUI, and execute the command block by powering it with a redstone block, a lever, or any thing you can get your grubby hands on. Just make sure you don't place it on top of the command block, or the machine will not be installed!
Comments
Comments
New comment
Show source commands
# Tellraw
INIT:/tellraw @a ["",{"text":"------------------------------\nOne Command créer par : \nVideo_Game25","color":"gold"},{"text":"\n"},{"text":"\"","color":"red"},{"text":"Youtube","color":"red","clickEvent":{"action":"open_url","value":"https://www.youtube.com/channel/UC5XAsoHEco6EyKapwcpFwuA"}},{"text":"\"","color":"red"},{"text":"\n"},{"text":"\"","color":"aqua"},{"text":"Twitter","color":"aqua","clickEvent":{"action":"open_url","value":"https://twitter.com/redsword25000"}},{"text":"\"","color":"aqua"},{"text":"\n"},{"text":"------------------------------","color":"gold"}]
# Scoreboard
/scoreboard objectives add shulker stat.shulkerBoxOpened
INIT:/scoreboard objectives add player dummy
# Command Block
INIT:/setblock ~2 ~-3 ~1 repeating_command_block 0 replace {auto:1b,Command:"/scoreboard players set PLAYER player 0",TrackOutput:0}
INIT:/setblock ~2 ~-3 ~-1 repeating_command_block 0 replace {auto:1b,Command:"/scoreboard players set PLAYER player 1",TrackOutput:0}
# Messages
/execute @e[score_player_min=1] ~ ~ ~ /execute @e[score_shulker_min=1] ~ ~ ~ /say a ouvert une Shulker Box et donc il a été punis .
/execute @e[score_player_min=1] ~ ~ ~ /execute @e[score_shulker_min=1] ~ ~ ~ /scoreboard players set @p shulker 0
COND:/kill @p