Question: how to get a command blocks in minecraft?
Answer: With command blocks, one can perform commands that players can't perform. To get a command block using cheats, type /give @s minecraft:command_block <amount> , /give @p minecraft:command_block <amount> or /give <username> minecraft:command_block <amount> .