Minecart with Command Block

From Minecraft Wiki
Jump to: navigation, search
Minecart with Command Block
Minecart with Command Block.pngMinecart with Repeating Command Block.png






Internal ID

JE: 40
BE: 100

Network ID


Entity ID


Health points


Data value

dec: 443 hex: 1BB bin: 110111011

Namespaced ID


A minecart with command block is an impulse‌[JE only] or repeating‌[BE & EE only] command block inside a minecart.


The minecart with command block is only obtainable 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.


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 will output the command block's result.

Data values[edit]

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

  • Entity data
    • Tags common to all entities see Template:Nbt inherit/entity/template
    • Tags common to all minecarts see Template:Nbt inherit/vehicle/template
    •  Command: The command entered into the minecart.
    •  SuccessCount: Represents the strength of the analog signal output by redstone comparators attached to this minecart. Only updated when the minecart is activated with an activator rail.
    •  LastOutput: The last line of output generated by the minecart. Still stored even if the gamerule commandBlockOutput is false. Appears in the GUI of the minecart when right-clicked, and includes a timestamp of when the output was produced.
    •  TrackOutput: 1 or 0 (true/false) - Determines whether or not the LastOutput will be stored. Can be toggled in the GUI by clicking a button near the "Previous Output" textbox. Caption on the button indicates current state: "O" if true,"X" if false.


Missing Texture Block.png
This page would benefit from the addition of isometric renders.
Please remove this notice once you've added suitable isometric renders to the article. The specific instructions are: 15w34a and 15w35a texture changes. Also, Pocket and Bedrock item texture files.
Java Edition
1.7.213w39aMinecart with Command Block Revision 1.png Minecart with Command Block (Item) Revision 1.png Added minecart with command block.
1.915w34aThe texture of the command block in the minecart has now been removed due to the new texture and types for the command block.
15w35aThe texture of the command block has now been changed.
1.1116w32aThe entity ID has now been changed from MinecartCommandBlock to commandblock_minecart.
1.1317w47aPrior to The Flattening, this item's numeral ID was 422.
pre5The entity ID has now been changed to command_block_minecart.
1.1418w43aMinecart with Command Block.png Minecart with Command Block (Item).png The textures of the minecart with command block has now been changed.
Pocket Edition
1.0.5alpha with Repeating Command Block Revision 1.png Added minecart with command block. The minecart has a repeating command block in it, instead of an impulse command block.
1.1.0alpha entity ID has now been changed from minecartcommandblock to command_block_minecart.
Bedrock Edition
1.10.0beta with Repeating Command Block.png The texture of the minecart with command block has now been changed.


Issues relating to "Minecart with Command Block" are maintained on the bug tracker. Report issues there.


  • In Bedrock Edition in simplified Chinese (zh-cn), Minecart with Command Block is translated into "带有命令块的《我的世界》" (Minecraft with Command Block).