|Minecart with Command Block|
The Minecart with Command Block (also known as Command Block Minecart) is a type of Minecart found in Minecraft. This type of Minecart is a Command Block and a Minecart combined. This was added in Update 1.7.2.
Much like regular Command Blocks, the Minecart with Command Block is only obtainable by using either the /give @p command_block_minecart command or external tools. It can also be obtained through the /summon command, like the other different types of Minecarts. However, unlike the other Minecart types, Command Block Minecarts cannot be crafted in "Vanilla" Minecraft.
This can be used as a Command Block on the go. The Minecart with command block is used to run commands and travel. It can be more useful than a Command Block in some situations, and less useful in others. For an example, a benefit of Command Block Minecarts is that one does not need to give it input from a "Clock circuit"; for as long as it is powered, it will repeatedly run the command, once every four game ticks (five times per second). Relative coordinates can be very useful in Minecart Command Block commands. For example, giving the XYZ as "~6 ~2 ~0" (without the quote marks) means "the block that is 6 South and 2 up from the Minecart's current location". Since the Minecart's location is constantly changing, a setblock command using relative coordinates can "draw" a wall (poorly and with gaps). The ID of the Command Block itself is command_block_minecart.