Minecart with Command Block

A minecart with command block is an impulse or repeating command block inside a minecart.
== Obtaining ==
The minecart with command block is obtainable only using the command , as it does not appear in the creative inventory and has no crafting recipe. It can also be summoned using the command . It can be broken like any other minecart, but only the minecart is retained, while the command block is lost.
== Usage ==
The minecart with command block combines the functionalities of both minecarts and command blocks. Although the minecart visually contains an impulse command block, it functions more similarly to a repeating command block, and runs its command once every four game ticks when on an active activator rail. When it passes over a detector rail with a comparator connected next to it, it outputs the command block's result.
== Sounds ==
:
Minecarts with command blocks use the Friendly Creatures sound category for entity-dependent sound events.
:
== Data values ==
=== ID ===
:
:
=== Entity data ===
Minecarts with command blocks have entity data associated with them that contain various properties of the entity. 
:
:
: See Bedrock Edition level format/Entity format.
== History ==
== Issues ==
== Gallery ==
File:Minecart with command block 13w39b.png|A minecart with command block in 1.16.4.
File:A minecart command block testing the block in the red bucket with air.png|A minecart command block testing the block in the red area with air.
==References==
de:Befehlsblocklore
fr:Wagonnet à bloc de commande
it:Carrello da miniera
ja:コマンドブロック付きのトロッコ
nl:Mijnkar met opdrachtblok
pl:Wagonik z blokiem poleceń
pt:Carrinho de mina com bloco de comando
ru:Вагонетка с командным блоком
uk:Вагонетка з командним блоком
zh:命令方块矿车