Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Minecraft:Minecart with Command Block

From SAS Gaming Wiki
Revision as of 11:16, 12 April 2026 by SyncBot (talk | contribs) (Sync: updated from Minecraft)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Template:For Template:Infobox item entity

A minecart with command block is an impulseTemplate:Only or repeatingTemplate:Only Minecraft:command block inside a Minecraft:minecart.

Obtaining

The minecart with command block is obtainable only using the Minecraft:command Template:Cmd, as it does not appear in the creative inventoryTemplate:Only and has no Minecraft:crafting recipe. It can also be summoned using the command Template:Cmd. It can be broken like any other minecart, but only the minecart is retained, while the command block is lost.

Unlike most Minecraft:minecart types, command block minecarts can't be crafted with a Minecraft:minecart and a Minecraft:command block.

Usage

Template:Main 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 Minecraft:ticks (unlike a repeating command block that repeats every 1 game tick) when on an active Minecraft:activator rail. When it passes over a Minecraft:detector rail with a Minecraft:comparator connected next to it, it outputs the command block's success count value.

The command is executed at the Minecraft:coordinates of the minecart, which can of course move, allowing for command execution relative to an entity without the Template:Cmd command.

Sounds

Template:Edition:
Minecarts with command blocks use the Friendly Creatures sound category for entity-dependent sound events.<ref group="sound" name="rollsource">Template:Bug</ref>

Template:SoundTable

Template:Edition: Template:SoundTable

Data values

ID

Template:Edition: Template:ID table Template:ID table

Template:Edition: Template:ID table Template:ID table

Entity data

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

Template:El: Template:Main

<section begin="entity data"/>

<section end="entity data"/>

Template:El:

See Minecraft:Bedrock Edition level format/Entity format.

History

Java Edition

Template:HistoryTable

Bedrock Edition

Template:HistoryTable

Legacy Console Edition

Template:HistoryTable

Data history

Java Edition

Template:HistoryTable

Bedrock Edition

Template:HistoryTable

Issues

Template:Issue list

Gallery

Screenshots

References

Template:Reflist

Navigation

Template:Navbox items Template:Navbox entities

Minecraft:de:Befehlsblocklore Minecraft:fr:Wagonnet à bloc de commande Minecraft:it:Carrello da miniera Minecraft:ja:コマンドブロック付きのトロッコ Minecraft:nl:Mijnkar met opdrachtblok Minecraft:pl:Wagonik z blokiem poleceń Minecraft:pt:Carrinho de mina com bloco de comando Minecraft:ru:Вагонетка с командным блоком Minecraft:uk:Вагонетка з командним блоком Minecraft:zh:命令方块矿车