![]() |
VOOZH | about |
| Rarity tier | * Epic β[JE only]
|
|---|---|
| Renewable | No |
| Stackable | No |
| Size | Height: 0.7 blocks Width: 0.98 blocks |
| Drops | |
| Health points | 6HPπ β€οΈ π β€οΈ π β€οΈ |
{
"title": "Minecart with Command Block",
"rows": [
{
"field": "\n* Epic β<sup class=\" nowrap Inline-Template \" title=\"\">[<i><span title=\"This statement only applies to Java Edition\">(link to Java Edition article, displayed as JE) only</span></i>]</sup>\n* Common β<sup class=\" nowrap Inline-Template \" title=\"\">[<i><span title=\"This statement only applies to Bedrock Edition\">(link to Bedrock Edition article, displayed as BE) only</span></i>]</sup>",
"label": "(link to Rarity article, displayed as Rarity tier)"
},
{
"field": "No",
"label": "(link to Renewable resource article, displayed as Renewable)"
},
{
"field": "No",
"label": "Stackable"
},
{
"field": "Height: 0.7 blocks<br>Width: 0.98 blocks",
"label": "Size"
},
{
"field": "\n* <span class=\"nowrap\"><span class=\"sprite-file\" style=\"\">(link to File:ItemSprite minecart.png article, displayed as 16x16px|link=Minecart|alt=|class=pixel-image|)</span>(link to Minecart article, displayed as <span class=\"sprite-text\">Minecart</span>)</span> (1)",
"label": "(link to Drops#Common drops article, displayed as Drops)"
},
{
"field": "6<span class=\"hidden-alt-text\">HP</span><span class=\"nowrap mc-hearts\"><span class=\"iconbar pixel-image nowrap\" style=\"--icon-offset:-1px;\" title=\"3 hearts\">(link to File:Heart (icon).png article, displayed as 9px|link=|alt=β€οΈ)(link to File:Heart (icon).png article, displayed as 9px|link=|alt=β€οΈ)(link to File:Heart (icon).png article, displayed as 9px|link=|alt=β€οΈ)</span></span>",
"label": "(link to Health article, displayed as Health points)"
}
],
"invimages": [
"Minecart with Command Block"
],
"images": [
"Minecart with Command Block.gif",
"Minecart with Command Block BE.gif"
]
}
A minecart with command block is an impulseβ[JE only] or repeatingβ[BE & edu only] command block inside a minecart.
The minecart with command block is obtainable only using the command /give @s command_block_minecart, as it does not appear in the creative inventoryβ[Bedrock Edition only] and 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.
Unlike most minecart types, command block minecarts can't be crafted with a minecart and a command block.
The minecart with command block combines the functionalities of both minecarts and command blocks. Although the minecart visually contains an impulse command block in Java Edition, it functions more similarly to a repeating command block, executing the command once every four game ticks (unlike a repeating command block that repeats every 1 game tick) 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 success count value.
The command is executed at the coordinates of the minecart, which can of course move, allowing for command execution relative to an entity without the /execute command.
Java Edition:
Minecarts with command blocks use the Friendly Creatures sound category for entity-dependent sound events.[sound 1]
| Sounds | ||||||||
|---|---|---|---|---|---|---|---|---|
| Sound | Closed captions | Source | Description | Identifier | Translation key | Volume | Pitch | Attenuation distance |
| βMinecart rolls | Friendly Mobs [sound 1] | While a minecart with command block is moving | entity.minecart.riding | subtitles.entity.minecart.ridingβ | 0.0β0.35 [sound 2] | 0.0β1.0 [sound 3] | 16 | |
| Sounds | |||||||
|---|---|---|---|---|---|---|---|
| Sound | Closed captions | Source | Description | Identifier | Translation key | Volume | Pitch |
| β ? | Friendly Mobs | While a minecart with command block is moving | minecart.base | β ? | ? | ? | |
| Item | Identifier | Form | Translation key |
|---|---|---|---|
| π ItemSprite minecart-with-command-block.png: Sprite image for minecart-with-command-block in Minecraft Minecart with Command Block | command_block_minecart | Item | item.minecraft.command_block_minecart |
| Entity | Identifier | Translation key |
|---|---|---|
| π EntitySprite minecart-with-command-block.png: Sprite image for minecart-with-command-block in Minecraft Minecart with Command Block | command_block_minecart |
entity.minecraft.command_block_minecart |
| Item | Identifier | Numeric ID | Form | Translation key |
|---|---|---|---|---|
| π ItemSprite minecart-with-command-block.png: Sprite image for minecart-with-command-block in Minecraft Minecart with Command Block | command_block_minecart | 563 | Item | item.command_block_minecart.name |
| Entity | Identifier | Numeric ID | Family | Translation key |
|---|---|---|---|---|
| π EntitySprite minecart-with-repeating-command-block.png: Sprite image for minecart-with-repeating-command-block in Minecraft Minecart with Command Block | command_block_minecart | 100 |
inanimateminecart | entity.command_block_minecart.name |
Minecarts with command blocks have entity data associated with them that contain various properties of the entity.
1 or 0 (true/false) - Determines whether the LastOutput is 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.| Java Edition | |||||||
|---|---|---|---|---|---|---|---|
| 1.7.2 | 13w39a | π Image π Image Added minecart with command block. | |||||
| 1.9 | 15w34a | π Image The texture of the command block in the minecart has been removed[verify] due to the new texture and types for the command block. | |||||
| 15w35a | π Image The texture of the command block has been changed. | ||||||
| 1.14 | 18w43a | π Image π Image The textures of the minecart with command block has been changed. | |||||
| 1.17 | 21w20a | The rarity of minecarts with command block has been changed from "Common" to "Epic". | |||||
| 1.19.3 | 22w44a | Minecart with command block is now available in the creative inventory, but only if cheats are enabled. | |||||
| 22w45a | Moved the minecart with command block behind the Operator Utilities tab in the creative inventory. The tab is only available if cheats are enabled and the "Operator Items Tab" option in the controls menu is turned on. | ||||||
| Pocket Edition | |||||||
|---|---|---|---|---|---|---|---|
| 1.0.5 | alpha 1.0.5.0 | π Image π Image Added minecart with command block. The minecart has a repeating command block in it, instead of an impulse command block. | |||||
| Bedrock Edition | |||||||
| 1.10.0 | beta 1.10.0.3 | π Image π Image The texture of the minecart with command block has been changed. The item texture has also been changed to match Java Edition's.[1] | |||||
| Legacy Console Edition | |||||||
|---|---|---|---|---|---|---|---|
| Xbox 360 | Xbox One | PS3 | PS4 | PS Vita | Wii U | Switch | |
| TU31 | CU19 | 1.22 | 1.22 | 1.22 | Patch 3 | 1.0.1 | Added minecart with command blocks. They are only obtainable through inventory editors.[is this the correct version?] |
| Java Edition | |||||||
|---|---|---|---|---|---|---|---|
| 1.11 | 16w32a | The entity ID has been changed from MinecartCommandBlock to commandblock_minecart. | |||||
| 1.13 | 17w47a | Prior to The Flattening, this item's numeral ID was 422, and the entity's numeral ID was 40. | |||||
| pre5 | The entity ID has been changed to command_block_minecart. | ||||||
| Pocket Edition | |||||||
|---|---|---|---|---|---|---|---|
| 1.1.0 | alpha 1.1.0.0 | The entity ID has been changed from minecartcommandblock to command_block_minecart. | |||||
Issues relating to "Minecart with Command Block" are maintained on the bug tracker. Issues should be reported and viewed there.
| Entities | |||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||