Obtaining
Minecart with command block is only obtainable using commands Contents 1 Usage 1.1 Tilde notation 1.2 Target selectors 1.2.1 Target selector variables 1.2.2 Target selector arguments 1.3 Data tags 1.4 Raw JSON text 1.5 Block/item names 2 Summary of commands 3 List of commands . It can be broken like any other minecart, but the command block is lost.
Info
Type | Vehicles |
---|---|
Durability | N/A |
Renewable A renewable resource (as opposed to a non-renewable, or finite, resource) is a resource that can be recreated indefinitely in survival without exploiting glitches or using commands. While running out of resources isn t likely to | No |
Stackable | No |
Internal ID | PC: 40 |
Network ID | 10 |
Entity ID | PC: commandblock_minecart |
Drops |
|
Health points The health gauge and monitor in Minecraft is based on a single row of 10 heart icons. Each full heart contains two halves, one hit point each (full health is 20 hit points). Contents 1 | |
First appearances | See History |
Data values | PC: dec:422 hex:1A6 bin:110100110 |
Name See values from the latest PCPersonal Computer version of Minecraft. For values from Classic, see Data values/Classic. For values from Indev, see Data values/Indev. For values from the Pocket Edition, see Pocket Edition | command_block_minecart |
A minecart with command block is a command block Command Block Type Block Entity Physics No Transparency No Luminance No Blast resistance 18,000,000 Hardness -1 Tool None Renewable No Stackable Yes (64) Flammable No First appearances See history Drops None Block entity id command_block inside a minecart.
Videos
Usage
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 Nearly all video games (including Minecraft) are driven by one big program loop. Just as every gear in a clock is synchronized with the pendulum, every task involved in advancing a game simulation is synchronized when on an active activator rail Activator Rail Transparency Yes Luminance No Blast resistance 3.5 Tool Renewable Yes Stackable Yes (64) Flammable No Drops Itself Data values See Data values Name activator_rail An activator rail is a type of rail that . When it passes over a detector rail Detector Rail Transparency Yes Luminance No Blast resistance 3.5 Tool Renewable Yes Stackable Yes (64) Flammable No Drops Itself Data value dec: 28 hex: 1C bin: 11100 Name detector_rail A detector rail is a block that can transport with a comparator Redstone Comparator Transparency Yes Luminance No (7 when powered, in Pocket Edition) Blast resistance 0 Tool Any tool Renewable No Stackable Yes (64) Flammable No Drops Redstone Comparator (1) Data values See Data values Name connected next to it, it will output the command block`s result.
Entity data
Minecarts with command blocks have entity data associated with them that contain various properties of the entity. Their entity ID is commandblock_minecart
in the computer edition, or command_block_minecart
in Pocket Edition Pocket Edition Author(s) Mojang AB Jens Bergensten Aron Nieminen Daniel Kaplan Tommaso Checchi Shoghi Cervantes Jason Major Daniel Wustenhoff Tomas Alaeus Mikael "Slicedlime" Hedberg @@@#@@@Microsoft(microsoft.com)###@### Studios 1] Platform(s) Written in C++ 2] Latest version 1.1.2 .
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 Contents 1 Usage 1.1 Tilde notation 1.2 Target selectors 1.2.1 Target selector variables 1.2.2 Target selector arguments 1.3 Data tags 1.4 Raw JSON text 1.5 Block/item names 2 Summary of commands 3 List of commands 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.
ID
A minecart`s ID distinguishes between the different minecart types.
Minecart type | Item Name | Item Dec | Item Hex | Entity Name | Entity Dec | Entity Hex | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
PC | PE | PC | PE | PC | PE | PC | PE | PC | PE | PC | PE | |
Minecart | minecart | 328 | 148 | minecart | 42 | 84 | 2A | 40 | ||||
Minecart with Chest | chest_minecart | 342 | 156 | chest_minecart | 43 | 98 | 2B | 62 | ||||
Minecart with Furnace | furnace_minecart | N/A | 343 | N/A | 157 | N/A | furnace_minecart | N/A | 44 | N/A | 2C | N/A |
Minecart with TNT | tnt_minecart | 407 | 197 | tnt_minecart | 45 | 97 | 2D | 61 | ||||
Minecart with Hopper | hopper_minecart | 408 | 198 | hopper_minecart | 46 | 96 | 2E | 60 | ||||
Minecart with Command Block | command_block_minecart | 422 | 443 | 1A6 | 1BB | commandblock_minecart | command_block_minecart | 40 | 100 | 28 | 64 |
History
Issues
Issues relating to ⃢₀ₜMinecart with Command Block⃢₀ are maintained on the issue tracker. Report issues there.
Gallery
-
A minecart command block testing the block in the red area with air Air Type Non-Solid Block Transparency Yes Luminance No Data value dec: 0 hex: 0 bin: 0 Name air Air is the block present in otherwise empty space. Contents 1 Obtaining 1.1 Natural generation 2 Usage 3 History 4 .