If you want to run them with a delay, you will need to set up them up with redstone repeaters. Along with "/say", there are other basic commands that do more things, like "/give", which gives items, "/effect", which applies potion effects, "/setblock" and "/fill" which modify your world, and many others. They will be executed in order, without delay, in the same tick. You can fill the chain command blocks to write more things to chat. Alternatively, there is "/tell", which takes a player argument, and "/tellraw" which is like "/tell" except it takes raw JSON instead of text. If it's ran from a command block, it will be message". If you run it, it will display as " message" just like regular chat. The "/say" command takes one argument, text, and says it from the point of view of whoever executes it. You can use one if you want, but it's unnecessary. Notice how we don't need a forward slash in command blocks. This option should not be used with Impulse command blocks as it makes them useless. The other option, "Always Active" stops the command block from checking if it is powered and just assumes it is. The button that says "Needs Redstone" only runs the command if the command block is powered. The other option, "Conditional", only runs if the previous block threw no errors. The button that says "Unconditional" stops the command block from checking if the previous block in the chain has executed successfully. These will run in order, one after the other, in a single tick, hence the name 'Chain'.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |