Minecart with Command Block

A minecart with command block is a command block inside a minecart.

Obtaining
Minecart with command block is only obtainable using commands. It can be broken like any other minecart, but the command block is lost.

Usage
The minecart with command block combines the functionalities of both minecarts and command blocks. It runs its command repeatedly (once every three game ticks) when on an active activator rail. When it passes over a detector rail with a comparator connected next to it, it will output the command block's result.

Entity data
Minecarts with command blocks have entity data associated with them that contain various properties of the entity. Their entity ID is.

ID
A minecart's ID distinguishes between the different minecart types.

Gallery
Befehlsblocklore Carrello da miniera コマンドブロック付きトロッコ Mijnkar met opdrachtblok Wagonik z blokiem poleceń pt-br:Carrinho com Bloco de Comando Вагонетка с командным блоком 命令方块矿车