Arqade Asked by BreadPudding on August 13, 2020
So I’m making a small adventure horror map, and there’s suppose to be a death scene where the player steps on a pressure plate and a vine comes and kills them, but I want the command block to not only do /kill @p , but I also want it to say words at the same time the person dies. Is there any possible way to do this?
Yes, you can.
First, get a command block: Then, dig a 3x2 (with 2 being the amount of command blocks, edit this for yourself) hole Put command blocks at the bottom (and edit the commands). Put redstones on the Command Blocks by crouching (default: Shift). Close the top of it with a block and add a pressure plate. Step on it. And you are done :)
Answered by Ave on August 13, 2020
In newer versions of Minecraft, you can create command chains using command blocks. When the first command block is powered, all subsequent command blocks in that chain will run their commands. The advantage is that the commands will always execute in the same order you want them to, but on the same game tick, which means they will all execute at the same time.
There are two main types of command chains: impulse command chains, and repeating command chains. Impulse command chains run once when activated, while repeating command chains will keep running over and over again until their input is turned off.
/give @s command_block
in the chat. If you would like a repeating command chain, type /give @s repeating_command_block
in the chat.@s
with your Minecraft username./give @s chain_command_block
in the chat to get one.Here are examples of where to place your next command block. Hover your mouse over the image:
Note: If you're reading this from one of my other posts, note that I refer to each step being one command block in the chain, and that the impulse/repeat command block at the start counts as the 1st step, with each subsequent chain command block being 2nd step, 3rd step, and so on.
Answered by ExpertCoder14 on August 13, 2020
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP