Get a command block in minecraft - how?

i want to get a command block in minecraft but every guide i find is two updates out of date. i'm on a realm with three other people, if that changes anything. what would you try next?
2

Leave A Reply

Log in to post an answer.

2 Answers

devc Oct 27, 2026
manishgaming
on bedrock it's /give @s command_block. heads up, turning cheats on there switches achievements off for that world for good.
omar_34 Oct 07, 2026
manishgaming
You can't craft it, you have to give it to yourself. Cheats need to be on, then type /give @p command_block in chat. If the world was made without cheats, open it to LAN and switch Allow Cheats on, that works until you close the world. Also you need to be in creative to actually edit what's inside it. On a server you need op, and enable-command-block has to be true in server.properties or it does nothing.