Question: how do you get a command block in minecraft java?
Answer: player is the name of the player (or a target selector) that you wish to give the command block to. amount is the number of command blocks that you want to give. If you don't specify an amount, the player will be given 1 command block.