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.


Coding codes in the command block


Post a new comment:

Please sign in to leave a comment.

Sorted by oldest
  • 0
    raity41 commented
    Comment actions Permalink

    I believe you can already do that:

    /give @p command_block{Command:"say h",auto:1b}


    The only thing you can't do, is make it conditional.

  • 1
    tryashtar commented
    Comment actions Permalink

    You're right, it's already possible. But the tag actually looks like this:

    /give @p command_block{BlockEntityTag:{Command:"say this already exists"}}