Are you sure you want to report this?

A feedback area designed for scripting and mods suggestions and feedback. Please note bug reports and support issues will be removed.


be able to add multiple commands into one command block


Post a new comment:

Please sign in to leave a comment.

  • Avatar
    Arya Krysa commented

    That would be extremely useful to everyone, not just "lazy" people. Big commands would take up a lot less space and time.

  • Avatar

    That's why we have the functions

  • Avatar
    raity41 commented

    Having commands in separate command blocks makes it easier to find what commands need fixing and the order commands should go. (I think so anyways.)

  • Avatar
    tryashtar commented

    Yep, functions exist and can do this! :)

  • Avatar

    I had that idea too! Looks like ya got me covered. It would help a lot for us lazy noobs. Ya vote my vote!

  • Avatar


  • Avatar
    lohkdesgds commented

    You can do multiple functions, then make one calling each one in sequence, so then you can see it as "blocks" in one command in a block.



    then on each fx you put whatever you want and then call all of them in sequence on the all_fs.mcfunction one.

    (I doubt it would be easier than just creating a single file like any other programming language. Chunks of code is awesome. Create some files with some code and you're good to go)

  • Avatar

    You can use Done Command Bloc Machines Generators! :)

  • Avatar
    knowmet commented

    you can already do that

    /summon minecraft:command_block_minecart ~ ~ ~ {Command:"/setblock ~ ~-1 ~ Minecraft:detector_rail"{,PassengerID:"minecraft:command_block_minecart"{command:"/summon minecraft:bat"}}

    I think it is something like that

  • Avatar

    In Bedrock, "/function" exists now making this suggestion fulfilled. 
    NOTE: You cannot use "conditional" tests, so to use some conditional mid-way, something like "/execute" is needed.

  • Avatar
    Hulunabc commented

    Good idea.

    I also suggest that multiple commands be a subcommand of one /execute.

  • Avatar
    TheLudGamr commented

    ... this is the mods and scripting section

  • Avatar
    Vince R commented

    Two solutions:

    1. Chain command blocks. They make it easier for debugging

    2. Functions