Minecraft wiki entry for Minecart_with_Command_Block, associated text: The minecart with command block is obtainable only using the command /give @s command_block_minecart, as it has no crafting recipe. It can also be summoned using the command /summon command_block_minecart. It can be broken like any other minecart, but only the minecart is retained, while the command block is lost.