Minecraft:Minecart with Command Block: Difference between revisions
More actions
Sync: updated from Minecraft |
Sync: updated from Minecraft |
||
| (5 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{Infobox item entity | {{Infobox item entity | ||
|renewable = No | |renewable = No | ||
|stackable = No | |stackable = No | ||
|size = Height: 0.7 blocks<br>Width: 0.98 blocks | |size = Height: 0.7 blocks<br>Width: 0.98 blocks | ||
| | |image1 = Minecart with Command Block.gif | ||
| | |image1caption = {{JE}} | ||
| | |image2 = Minecart with Command Block BE.gif | ||
| | |image2caption = {{BE}} | ||
|invimage1 = Minecart with Command Block | |invimage1 = Minecart with Command Block | ||
|networkid = | |networkid = | ||
|drops = {{drop|Item|Minecart|1}} | |drops = {{drop|Item|Minecart|1}} | ||
|health = {{hp|6}} | |health = {{hp|6}} | ||
|rarity = | |rarity =Epic {{only|java|short=1}}<br>Common {{only|bedrock|short=1}} | ||
}} | }} | ||
| Line 21: | Line 18: | ||
== Obtaining == | == Obtaining == | ||
The minecart with command block is obtainable only using the [[Minecraft:command]] {{cmd|give @s command_block_minecart}}, as it does not appear in the creative inventory{{only|BE}} and has no [[Minecraft:crafting]] recipe. It can also be summoned using the command {{cmd|summon command_block_minecart}}. It can be broken like any other minecart, but only | The minecart with command block is obtainable only using the [[Minecraft:command]] {{cmd|give @s command_block_minecart}}, as it does not appear in the creative inventory{{only|BE}} and has no [[Minecraft:crafting]] recipe. It can also be summoned using the command {{cmd|summon command_block_minecart}}. It can be broken like any other form of minecart, but doing so will only drop a minecart, losing the command block. | ||
Unlike most [[Minecraft:minecart]] types, command block minecarts | Unlike most [[Minecraft:minecart]] types, command block minecarts cannot be crafted with a [[Minecraft:minecart]] and a [[Minecraft:command block]]. | ||
== Usage == | == Usage == | ||
| Line 148: | Line 145: | ||
|{{HistoryLine||1.0.5|dev=alpha 1.0.5.0|[[File:Minecart with Command Block BE1.png|32px]] [[File:Minecart with Command Block (item) BE1.png|32px]] Added minecart with command block. The [[Minecraft:minecart]] has a [[Minecraft:repeating command block]] in it, instead of an impulse command block.}} | |{{HistoryLine||1.0.5|dev=alpha 1.0.5.0|[[File:Minecart with Command Block BE1.png|32px]] [[File:Minecart with Command Block (item) BE1.png|32px]] Added minecart with command block. The [[Minecraft:minecart]] has a [[Minecraft:repeating command block]] in it, instead of an impulse command block.}} | ||
|{{HistoryLine|bedrock}} | |{{HistoryLine|bedrock}} | ||
|{{HistoryLine||1.10.0|dev=beta 1.10.0.3|[[File:Minecart with Command Block BE2.png|32px]] [[File:Minecart with Command Block (item) JE2 BE3.png|32px]] The texture of the minecart with command block has been changed. The item texture has also been changed to match {{ | |{{HistoryLine||1.10.0|dev=beta 1.10.0.3|[[File:Minecart with Command Block BE2.png|32px]] [[File:Minecart with Command Block (item) JE2 BE3.png|32px]] The texture of the minecart with command block has been changed. The item texture has also been changed to match {{JE}}.<ref>{{bug|MCPE-42990}}</ref>}} | ||
}} | }} | ||
| Line 181: | Line 178: | ||
Minecart with command block 13w39b.png|A minecart with command block in [[Minecraft:1.16.4]]. | Minecart with command block 13w39b.png|A minecart with command block in [[Minecraft:1.16.4]]. | ||
Red bucket with air.png|A minecart command block testing the block in the red area with [[Minecraft:air]]. | Red bucket with air.png|A minecart command block testing the block in the red area with [[Minecraft:air]]. | ||
</gallery> | |||
=== Textures === | |||
<gallery> | |||
Minecart with Command Block (item) Texture Update Beta.png|''Bedrock Edition'' minecart with command block item icon from [[Minecraft:Texture Update Beta]] pack | |||
</gallery> | </gallery> | ||
| Line 196: | Line 198: | ||
[[Minecraft:it:Vagonetto con blocco comandi]] | [[Minecraft:it:Vagonetto con blocco comandi]] | ||
[[Minecraft:ja:コマンドブロック付きのトロッコ]] | [[Minecraft:ja:コマンドブロック付きのトロッコ]] | ||
[[Minecraft:lzh:命令塊礦車]] | |||
[[Minecraft:nl:Mijnkar met opdrachtblok]] | [[Minecraft:nl:Mijnkar met opdrachtblok]] | ||
[[Minecraft:pl:Wagonik z blokiem poleceń]] | [[Minecraft:pl:Wagonik z blokiem poleceń]] | ||
Latest revision as of 11:15, 6 September 2026
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 form of minecart, but doing so will only drop a minecart, losing the command block.
Unlike most Minecraft:minecart types, command block minecarts cannot 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>
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.
<section begin="entity data"/>
- Template:Nbt Entity data
- Template:Nbt inherit/entity
- Template:Nbt inherit/vehicle
- Template:Nbt: The command entered into the minecart.
- Template:Nbt: The last line of output generated by the minecart. Still stored even if the Minecraft:gamerule commandBlockOutput is false. Appears in the GUI of the minecart when right-clicked, and includes a timestamp of when the output was produced.
- Template:Nbt: 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.
- Template:Nbt: Template:Cd or Template:Cd (Template:Cd/Template:Cd) - 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"/>
History
Java Edition
Bedrock Edition
Legacy Console Edition
Data history
Java Edition
Bedrock Edition
Issues
Gallery
Screenshots
-
A minecart with command block in Minecraft:1.16.4.
-
A minecart command block testing the block in the red area with Minecraft:air.
Textures
-
Bedrock Edition minecart with command block item icon from Minecraft:Texture Update Beta pack
References
Template:Navbox items Template:Navbox entities
Minecraft:de:Befehlsblocklore Minecraft:fr:Wagonnet à bloc de commande Minecraft:it:Vagonetto con blocco comandi Minecraft:ja:コマンドブロック付きのトロッコ Minecraft:lzh:命令塊礦車 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:命令方块矿车