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 20:37, 9 April 2026 by SyncBot (talk | contribs) (Fix template calls: add MC/ prefix)

Template:Hatnote Template:Infobox item entity

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

Obtaining

The minecart with command block is obtainable only using the command

  1. REDIRECT Template:Command

Template:Redr, as it does not appear in the creative inventoryTemplate:Only and has no Minecraft:crafting recipe. It can also be summoned using the command

  1. REDIRECT Template:Command

Template:Redr. 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 command block.

Usage

{{#vardefine:params|0 }}Template:Hatnote 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, executing the command once every four game Minecraft: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 Minecraft:coordinates of the minecart, which can of course move, allowing for command execution relative to an entity without the

  1. REDIRECT Template:Command

Template:Redr command.

Sounds

Template:!((Java EditionTemplate:))!:
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:!((Bedrock EditionTemplate:))!: Template:SoundTable

Data values

ID

Template:!((Java EditionTemplate:))!: Template:ID table Template:ID table

Template:!((Bedrock EditionTemplate:))!: 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.

  1. REDIRECT Template:Edition

Template:Rcat: {{#vardefine:params|0 }}Template:Hatnote

<section begin="entity data"/>

  1. REDIRECT Template:Code

Template:Redr or

  1. REDIRECT Template:Code

Template:Redr (

  1. REDIRECT Template:Code

Template:Redr/

  1. REDIRECT Template:Code

Template:Redr) - 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.

<section end="entity data"/>

  1. REDIRECT Template:Edition

Template:Rcat:

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

Script error: No such module "Issue list".

Gallery

Screenshots

References

<references group="">

 </references>

Navigation

Display/storage
Buckets
Bottles
Informational
Vehicles/mobility
Template:El only
Music discs
Other
Edu only
Seeds
Raw materials
Processed
Edu only
Dyes
Banner patterns
Pottery sherds
Smithing templates
April Fools 2015
April Fools 2016
April Fools 2019
April Fools 2020
April Fools 2023
April Fools 2024
April Fools 2025
April Fools 2026

Template:Article otherTemplate:Article other

Passive
Template:Els & Template:Els only
Neutral
Hostile
Bosses
Mob types
Other
Player
Blocks
Template:Els only
Vehicles
Template:JE only
Projectiles
Template:JE only
Template:Els only
Stationary
objects
Java Edition only
Miscellaneous
Template:Els only
Template:Els & Template:Els only
Technical
objects
Template:Els only
Editor only
Mobs
April Fools 2013
April Fools 2015
April Fools 2019
April Fools 2023
April Fools 2024
April Fools 2025
Pet variants
April Fools 2026
Other entities
April Fools 2013
April Fools 2015
April Fools 2023
April Fools 2024
April Fools 2026

Template:Article other

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:命令方块矿车