Question: how how to get a command block in minecraft?
Answer: Command blocks are not available in the Creative inventory. It can either be obtained by using the pick block control, or by using various commands, such as /give @s command_block , or /setblock ~ ~ ~ command_block .