X

NOTICE

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.

22

Coding codes in the command block

2 Comments

Post a new comment:

Please sign in to leave a comment.

  • 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"}}