Minecraft:Minecart with TNT: Difference between revisions
More actions
After some testing with the source code for 1.12.2 (a version where this problem exists), it seems like the origin of it is because of the explosion origin being too low. |
Fix template calls: add MC/ prefix |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{For||Minecart (disambiguation)|TNT (disambiguation)}} | {{MC/For||Minecart (disambiguation)|TNT (disambiguation)}} | ||
{{Infobox item entity | {{Infobox item entity | ||
| image = Minecart with TNT.png | | image = Minecart with TNT.png | ||
| Line 9: | Line 9: | ||
| drops = | | drops = | ||
; If not exploded | ; If not exploded | ||
: 1 {{ | : 1 {{MC/Itemlink|Minecart with TNT}} | ||
| health = {{hp|6}} | | health = {{hp|6}} | ||
}} | }} | ||
| Line 15: | Line 15: | ||
== Obtaining == | == Obtaining == | ||
Minecarts with TNT can be retrieved by attacking them, and doing so drops them as an [[Minecraft:item]]. | Minecarts with TNT can be retrieved by attacking them, and doing so drops them as an [[Minecraft:item]]. Critical hits are not applied to them, although the particles suggest otherwise. | ||
=== Crafting === | === Crafting === | ||
| Line 27: | Line 27: | ||
== Usage == | == Usage == | ||
[[File:TNT minecart and powered activator rail.png|thumb|right|When the minecart with TNT passes over the powered activator rail, it explodes after four seconds.]] | [[File:TNT minecart and powered activator rail.png|thumb|right|When the minecart with TNT passes over the powered activator rail, it explodes after four seconds.]] | ||
[[File:Simple TNT minecart detonator setup.png|thumb|right|{{ | [[File:Simple TNT minecart detonator setup.png|thumb|right|{{MC/In|je}}, placing two minecarts with TNT on the rail and powering it (here, by flicking the lever) creates an instant explosion.]] | ||
[[File:TNT minecart roof trap.png|thumb|right|Destroying the block of gold causes the minecart with TNT to fall down and instantly explode.]] | [[File:TNT minecart roof trap.png|thumb|right|Destroying the block of gold causes the minecart with TNT to fall down and instantly explode.]] | ||
A minecart with TNT detonates after a delay on these conditions: | A minecart with TNT detonates after a delay on these conditions: | ||
* It moves over a powered | * It moves over a powered activator rail. | ||
* It is destroyed while in motion (except by a player in Creative mode). | * It is destroyed while in motion (except by a player in Creative mode). | ||
* It is destroyed by fire, lava, or an explosion. | * It is destroyed by fire, lava, or an explosion. | ||
* It is hit by a | * It is hit by a fire charge projectile. | ||
* Using a | * Using a flint and steel, fire charge, or any [[Minecraft:item]] enchanted with Fire Aspect.{{Only|BE}} | ||
The delay is {{ | The delay is {{MC/Convert|4|seconds|ticks}} for an activator rail, like the TNT block. For other causes there is a random delay between 0 and 1.95 seconds. | ||
It detonates instantly on these conditions: | It detonates instantly on these conditions: | ||
| Line 46: | Line 46: | ||
* It is pressed into a block or entity and has velocity.{{only|je}} | * It is pressed into a block or entity and has velocity.{{only|je}} | ||
Upon detonation it acts as normal TNT, | Upon detonation it acts as normal TNT, exploding and damaging nearby blocks, players, and entities. Upon detonation after activating on activator rail, it does not destroy its rails and the blocks the rail is on, however other nearby minecarts can.{{only|java}} More than one minecart can be placed on the same rail block, allowing many of them to fit into a single block. {{MC/In|je}} they explode when touched, dealing large amounts of damage. | ||
The explosion has a base | The explosion has a base power of 4, the same as regular TNT, but the game also adds a random bonus value up to 1.5 times velocity, but no higher than 7.5. This means that with a speed of 5 or higher the power is a random value between 4 and 11.5. When triggered by an activator rail or by damage, the bonus value is calculated using the horizontal velocity of the minecart. When hit by a flaming arrow the velocity of the arrow is used instead. When triggered by fall damage, the fall distance divided by 10 is used. | ||
Minecarts with TNT bounce off of other minecarts and cannot be linked to | Minecarts with TNT bounce off of other minecarts and cannot be linked to minecarts with furnaces. | ||
== Sounds == | == Sounds == | ||
{{Edition|Java}}:<br> | {{MC/Edition|Java}}:<br> | ||
Minecarts with TNT use the Friendly Creatures sound category for | Minecarts with TNT use the Friendly Creatures sound category for entity-dependent sound events.<ref group=sound name=rollsource>{{bug|MC-42132}}</ref> | ||
{{SoundTable | {{SoundTable | ||
| Line 95: | Line 95: | ||
}} | }} | ||
{{Edition|Bedrock}}:<ref group=sound>{{Bug|MCPE-35778||Minecart with tnt does not have the sound of tnt being ignited when we use flint and steel, fire charge or activator rail}}</ref> | {{MC/Edition|Bedrock}}:<ref group=sound>{{Bug|MCPE-35778||Minecart with tnt does not have the sound of tnt being ignited when we use flint and steel, fire charge or activator rail}}</ref> | ||
{{SoundTable | {{SoundTable | ||
| type = bedrock | | type = bedrock | ||
| Line 118: | Line 118: | ||
== Data values == | == Data values == | ||
=== ID === | === ID === | ||
{{ | {{MC/Edition|java}}: | ||
{{ID table | {{ID table | ||
|edition=java | |edition=java | ||
| Line 138: | Line 138: | ||
|foot=1}} | |foot=1}} | ||
{{ | {{MC/Edition|bedrock}}: | ||
{{ID table | {{ID table | ||
|edition=bedrock | |edition=bedrock | ||
| Line 168: | Line 168: | ||
Minecarts with TNT have entity data associated with them that contain various properties of the entity. | Minecarts with TNT have entity data associated with them that contain various properties of the entity. | ||
{{ | {{MC/El|java}}: | ||
{{ | {{MC/Main|Entity format}} | ||
<section begin="entity data"/><div class="treeview" style="margin-top: 0;"> | <section begin="entity data"/><div class="treeview" style="margin-top: 0;"> | ||
* {{ | * {{MC/Nbt|compound}} Entity data | ||
** {{ | ** {{MC/Nbt inherit/entity}} | ||
** {{ | ** {{MC/Nbt inherit/vehicle}} | ||
** {{ | ** {{MC/Nbt|int|fuse}}: Time until explosion or -1 if not activated. | ||
** {{ | ** {{MC/Nbt|float|explosion_power}}: A value from 0 to 128. Additional explosion power, which is added to the speed-based explosion power. Defaults to 4.0. If set to the default value, this field is not saved to the entity's NBT. | ||
** {{ | ** {{MC/Nbt|float|explosion_speed_factor}}: Controls the amount of added damage depending on the speed of the Minecart. Defaults to 1.0. If set to the default value, this field is not saved to the entity's NBT. | ||
</div><section end="entity data"/> | </div><section end="entity data"/> | ||
{{ | {{MC/El|bedrock}}: | ||
: See [[Minecraft:Bedrock Edition level format/Entity format]]. | : See [[Minecraft:Bedrock Edition level format/Entity format]]. | ||
== Videos == | == Videos == | ||
<div style="text-align:center">{{ | <div style="text-align:center">{{MC/Yt|1yNgY913tps}}</div> | ||
== History == | == History == | ||
=== ''Java Edition'' === | === ''Java Edition'' === | ||
{{HistoryTable | {{HistoryTable | ||
|{{HistoryLine|java}} | |{{MC/HistoryLine|java}} | ||
|{{HistoryLine||1.5|dev=13w02a|[[File:Minecart_with_TNT_JE1_BE1.png|32px]] [[File:Minecart_with_TNT_(item)_JE1_BE1.png|32px]] Added minecart with TNT.}} | |{{MC/HistoryLine||1.5|dev=13w02a|[[File:Minecart_with_TNT_JE1_BE1.png|32px]] [[File:Minecart_with_TNT_(item)_JE1_BE1.png|32px]] Added minecart with TNT.}} | ||
|{{HistoryLine|||dev=13w03a|Minecart with TNT no longer destroys nearby [[Minecraft:rail]]s and rail supports during | |{{HistoryLine|||dev=13w03a|Minecart with TNT no longer destroys nearby [[Minecraft:rail]]s and rail supports during explosion.<ref>{{bug|MC-6833}}</ref>}} | ||
|{{HistoryLine||1.8|dev=14w11a|Minecart with TNT explosions no longer stack.<!--reverted in 17a like other changes in 11a?-->}} | |{{MC/HistoryLine||1.8|dev=14w11a|Minecart with TNT explosions no longer stack.<!--reverted in 17a like other changes in 11a?-->}} | ||
|{{HistoryLine|||dev=14w26a|Minecart with TNT can now be detonated using [[Minecraft:arrow]]s on fire.}} | |{{MC/HistoryLine|||dev=14w26a|Minecart with TNT can now be detonated using [[Minecraft:arrow]]s on fire.}} | ||
|{{HistoryLine||1.12|dev=pre6|No longer instantly explode when hit with | |{{MC/HistoryLine||1.12|dev=pre6|No longer instantly explode when hit with fire charges; instead, they explode as if primed by an activator rail.}} | ||
|{{HistoryLine||1.14|dev=18w43a|[[File:Minecart with TNT JE2 BE2.png|32px]] [[File:Minecart with TNT (item) JE2 BE2.png|32px]] The textures of minecart with TNT have been updated.}} | |{{MC/HistoryLine||1.14|dev=18w43a|[[File:Minecart with TNT JE2 BE2.png|32px]] [[File:Minecart with TNT (item) JE2 BE2.png|32px]] The textures of minecart with TNT have been updated.}} | ||
|{{HistoryLine|||dev=19w11a|Minecart with TNT explosions now have a 100% drop rate.}} | |{{MC/HistoryLine|||dev=19w11a|Minecart with TNT explosions now have a 100% drop rate.}} | ||
|{{HistoryLine||1.15|dev=19w38a|[[File:Minecart with TNT 19w38a.png|32px]] Due to a bug, the TNT part now appears dark, similar to suffocating mobs.}} | |{{MC/HistoryLine||1.15|dev=19w38a|[[File:Minecart with TNT 19w38a.png|32px]] Due to a bug, the TNT part now appears dark, similar to suffocating mobs.}} | ||
|{{HistoryLine|||dev=19w39a|The TNT texture is now colored correctly.}} | |{{MC/HistoryLine|||dev=19w39a|The TNT texture is now colored correctly.}} | ||
|{{HistoryLine|||dev=pre1|[[File:Minecart with TNT JE3.png|32px]] The | |{{HistoryLine|||dev=pre1|[[File:Minecart with TNT JE3.png|32px]] The model of minecart with TNT has been changed.<ref>{{bug|MC-165971}}</ref>}} | ||
|{{HistoryLine|||dev=pre3|[[File:Minecart with TNT JE2 BE2.png|32px]] The model of minecart with TNT has been changed back to the | |{{MC/HistoryLine|||dev=pre3|[[File:Minecart with TNT JE2 BE2.png|32px]] The model of minecart with TNT has been changed back to the 18w43a model.}} | ||
|{{HistoryLine||1.16|dev=pre6|Fixed the explosion origin, previously causing nearby entities to not take much damage when the minecart with TNT exploded.}} | |{{MC/HistoryLine||1.16|dev=pre6|Fixed the explosion origin, previously causing nearby entities to not take much damage when the minecart with TNT exploded.}} | ||
|{{HistoryLine||1.19|dev=22w13a|The crafting recipe for a minecart with TNT is now shapeless. | |{{HistoryLine||1.19|dev=22w13a|The crafting recipe for a minecart with TNT is now shapeless. | ||
|Breaking a minecart with TNT now drops the item instead of the minecart and TNT separately.<ref>{{bug|MC-249493|||Fixed}}</ref>}} | |Breaking a minecart with TNT now drops the item instead of the minecart and TNT separately.<ref>{{bug|MC-249493|||Fixed}}</ref>}} | ||
|{{HistoryLine||1.21.2|dev=24w33a|Added optional field <code>explosion_power</code>.}} | |{{MC/HistoryLine||1.21.2|dev=24w33a|Added optional field <code>explosion_power</code>.}} | ||
|{{HistoryLine||1.21.5|dev=pre1|Minecarts with TNT no longer explode when | |{{HistoryLine||1.21.5|dev=pre1|Minecarts with TNT no longer explode when game rule <code>tntExplodes</code> is turned off.<ref>{{bug|MC-280474||TNT minecarts explode regardless of tntExplodes gamerule}}</ref>}} | ||
}} | }} | ||
=== ''Bedrock Edition'' === | === ''Bedrock Edition'' === | ||
{{HistoryTable | {{HistoryTable | ||
|{{HistoryLine|pocket alpha}} | |{{MC/HistoryLine|pocket alpha}} | ||
|{{HistoryLine||v0.14.0|dev=build 1|[[File:Minecart with TNT JE1 BE1.png|32px]] [[File:Minecart with TNT (item) JE1 BE1.png|32px]] Added minecart with TNT.}} | |{{MC/HistoryLine||v0.14.0|dev=build 1|[[File:Minecart with TNT JE1 BE1.png|32px]] [[File:Minecart with TNT (item) JE1 BE1.png|32px]] Added minecart with TNT.}} | ||
|{{HistoryLine|bedrock}} | |{{MC/HistoryLine|bedrock}} | ||
|{{HistoryLine||1.10.0|dev=beta 1.10.0.3|[[File:Minecart with TNT JE2 BE2.png|32px]] [[File:Minecart with TNT (item) JE2 BE2.png|32px]] The texture of minecart with TNT has been changed.}} | |{{MC/HistoryLine||1.10.0|dev=beta 1.10.0.3|[[File:Minecart with TNT JE2 BE2.png|32px]] [[File:Minecart with TNT (item) JE2 BE2.png|32px]] The texture of minecart with TNT has been changed.}} | ||
|{{HistoryLine||1.19.0|dev=Preview 1.19.0.31|Breaking a minecart with TNT now drops the item instead of the minecart and TNT separately.}} | |{{MC/HistoryLine||1.19.0|dev=Preview 1.19.0.31|Breaking a minecart with TNT now drops the item instead of the minecart and TNT separately.}} | ||
}} | }} | ||
=== Legacy Console Edition === | === Legacy Console Edition === | ||
{{HistoryTable | {{HistoryTable | ||
|{{HistoryLine|console}} | |{{MC/HistoryLine|console}} | ||
|{{HistoryLine||xbox=TU19|xbone=CU7|ps3=1.12|psvita=1.12|ps4=1.12|wiiu=Patch 1|switch=1.0.1|[[File:Minecart with TNT JE1 BE1.png|32px]] [[File:Minecart with TNT (item) JE1 BE1.png|32px]] Added minecart with TNT.}} | |{{MC/HistoryLine||xbox=TU19|xbone=CU7|ps3=1.12|psvita=1.12|ps4=1.12|wiiu=Patch 1|switch=1.0.1|[[File:Minecart with TNT JE1 BE1.png|32px]] [[File:Minecart with TNT (item) JE1 BE1.png|32px]] Added minecart with TNT.}} | ||
|{{HistoryLine||xbox=TU21|xbone=CU9|ps3=1.14|psvita=1.14|ps4=1.14|The minecart | |{{MC/HistoryLine||xbox=TU21|xbone=CU9|ps3=1.14|psvita=1.14|ps4=1.14|The minecart limit has been increased.}} | ||
|{{HistoryLine||xbox=none|xbone=none|ps3=none|psvita=none|ps4=1.90|wiiu=none|switch=none|[[File:Minecart with TNT JE2 BE2.png|32px]] [[File:Minecart with TNT (item) JE2 BE2.png|32px]] The texture of minecart with TNT have been changed.}} | |{{MC/HistoryLine||xbox=none|xbone=none|ps3=none|psvita=none|ps4=1.90|wiiu=none|switch=none|[[File:Minecart with TNT JE2 BE2.png|32px]] [[File:Minecart with TNT (item) JE2 BE2.png|32px]] The texture of minecart with TNT have been changed.}} | ||
}} | }} | ||
=== ''New Nintendo 3DS Edition'' === | === ''New Nintendo 3DS Edition'' === | ||
{{HistoryTable | {{HistoryTable | ||
|{{HistoryLine|new 3ds}} | |{{MC/HistoryLine|new 3ds}} | ||
|{{HistoryLine||0.1.0|[[File:Minecart with TNT JE1 BE1.png|32px]] [[File:Minecart with TNT (item) JE1 BE1.png|32px]] Added minecart with TNT. | |{{MC/HistoryLine||0.1.0|[[File:Minecart with TNT JE1 BE1.png|32px]] [[File:Minecart with TNT (item) JE1 BE1.png|32px]] Added minecart with TNT. | ||
|Minecart with TNT emits smoke | |Minecart with TNT emits smoke particles when destroyed.}} | ||
}} | }} | ||
| Line 234: | Line 234: | ||
==== ''Java Edition'' ==== | ==== ''Java Edition'' ==== | ||
{{HistoryTable | {{HistoryTable | ||
|{{HistoryLine|java}} | |{{MC/HistoryLine|java}} | ||
|{{HistoryLine||1.11|dev=16w32a|The | |{{MC/HistoryLine||1.11|dev=16w32a|The entity ID for minecart with TNT has been changed from <code>MinecartTNT</code> to <code>tnt_minecart</code>.}} | ||
|{{HistoryLine||1.13|dev=17w47a|Prior to | |{{HistoryLine||1.13|dev=17w47a|Prior to ''The Flattening'', this item's numeral ID was 407.{{MC/Info needed|and what was the entity ID?}}}} | ||
}} | }} | ||
==== ''Bedrock Edition'' ==== | ==== ''Bedrock Edition'' ==== | ||
{{HistoryTable | {{HistoryTable | ||
|{{HistoryLine|pocket}} | |{{MC/HistoryLine|pocket}} | ||
|{{HistoryLine||1.1.0|dev=alpha 1.1.0.0|The | |{{MC/HistoryLine||1.1.0|dev=alpha 1.1.0.0|The entity ID has been changed from <code>minecarttnt</code> to <code>tnt_minecart</code>.}} | ||
}} | }} | ||
== Issues == | == Issues == | ||
{{ | {{MC/Issue list}} | ||
== Gallery == | == Gallery == | ||
| Line 260: | Line 260: | ||
== References == | == References == | ||
{{ | {{MC/Reflist}} | ||
== Navigation == | == Navigation == | ||
{{Navbox items|Utilities}} | {{MC/Navbox items|Utilities}} | ||
{{Navbox entities|Other}} | {{MC/Navbox entities|Other}} | ||
{{Navbox combat|general}} | {{MC/Navbox combat|general}} | ||
[[Category:Vehicles]] | [[Category:Vehicles]] | ||
cs:Vozík s TNT | |||
de:TNT-Lore | |||
es:Vagoneta con dinamita | |||
fr:Wagonnet à TNT | |||
it:Vagonetto con TNT | |||
ja:TNT付きのトロッコ | |||
ko:TNT가 실린 광산 수레 | |||
nl:Mijnkar met TNT | |||
pl:Wagonik z TNT | |||
pt:Carrinho de mina com dinamite | |||
ru:Вагонетка с ТНТ | |||
uk:Вагонетка з динамітом | |||
zh:TNT矿车 | |||
Latest revision as of 20:37, 9 April 2026
Template:Hatnote Template:Infobox item entity A minecart with TNT is a Minecraft:minecart with Minecraft:TNT inside. Unlike normal TNT, it can detonate instantly, and its blast radius and damage is increased by its speed at detonation.
Obtaining
Minecarts with TNT can be retrieved by attacking them, and doing so drops them as an Minecraft:item. Critical hits are not applied to them, although the particles suggest otherwise.
Crafting
Usage
A minecart with TNT detonates after a delay on these conditions:
- It moves over a powered activator rail.
- It is destroyed while in motion (except by a player in Creative mode).
- It is destroyed by fire, lava, or an explosion.
- It is hit by a fire charge projectile.
- Using a flint and steel, fire charge, or any Minecraft:item enchanted with Fire Aspect.Template:Only
The delay is Script error: No such module "convert". for an activator rail, like the TNT block. For other causes there is a random delay between 0 and 1.95 seconds.
It detonates instantly on these conditions:
- It hits the ground with a downward velocity of it falling more than three blocks, unless landing on any form of rail.
- It turns on a curved track too fast, with a solid block or entity located beside the track (in the previous movement direction). Template:Only
- It is hit by a flaming projectile.
- It is pressed into a block or entity and has velocity.Template:Only
Upon detonation it acts as normal TNT, exploding and damaging nearby blocks, players, and entities. Upon detonation after activating on activator rail, it does not destroy its rails and the blocks the rail is on, however other nearby minecarts can.Template:Only More than one minecart can be placed on the same rail block, allowing many of them to fit into a single block. in Template:Editions they explode when touched, dealing large amounts of damage.
The explosion has a base power of 4, the same as regular TNT, but the game also adds a random bonus value up to 1.5 times velocity, but no higher than 7.5. This means that with a speed of 5 or higher the power is a random value between 4 and 11.5. When triggered by an activator rail or by damage, the bonus value is calculated using the horizontal velocity of the minecart. When hit by a flaming arrow the velocity of the arrow is used instead. When triggered by fall damage, the fall distance divided by 10 is used.
Minecarts with TNT bounce off of other minecarts and cannot be linked to minecarts with furnaces.
Sounds
Template:!((Java EditionTemplate:))!:
Minecarts with TNT use the Friendly Creatures sound category for entity-dependent sound events.<ref group=sound name=rollsource>Template:Bug</ref>
Template:!((Bedrock EditionTemplate:))!:<ref group=sound>Template:Bug</ref> 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 TNT have entity data associated with them that contain various properties of the entity.
- REDIRECT Template:Edition
Template:Rcat: {{#vardefine:params|0 }}Template:Hatnote
<section begin="entity data"/>
- Template:Nbt/sprite Entity data
- Template:Nbt inherit
- Template:Nbt inherit
- Template:Nbt/sprite fuse: Time until explosion or -1 if not activated.
- Template:Nbt/sprite explosion_power: A value from 0 to 128. Additional explosion power, which is added to the speed-based explosion power. Defaults to 4.0. If set to the default value, this field is not saved to the entity's NBT.
- Template:Nbt/sprite explosion_speed_factor: Controls the amount of added damage depending on the speed of the Minecart. Defaults to 1.0. If set to the default value, this field is not saved to the entity's NBT.
<section end="entity data"/>
- REDIRECT Template:Edition
Videos
- REDIRECT Template:YouTube
History
Java Edition
Bedrock Edition
Legacy Console Edition
New Nintendo 3DS Edition
Data history
Java Edition
Bedrock Edition
Issues
Script error: No such module "Issue list".
Gallery
Screenshots
-
The first image of minecarts with TNT, released by Dinnerbone.<ref>Template:Tweet</ref><ref>Template:Tweet</ref> (One can be seen in the lower-left corner.)
-
A more zoomed in image.
-
Minecart with TNT and activator rail for detonation.
-
The 13w02a banner, with a minecart with TNT and a Minecraft:hopper.
-
Dinnerbone showing how minecarts with TNT have controlled explosions.<ref>Template:Tweet</ref>
-
Primed minecart with TNT.
-
Explosion from a minecart with TNT. (The "bridge" of rails is left undestroyed by the explosion.)
References
<references group="">
</references>
Template:Article otherTemplate:Article other
| |||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
| |||||||||||||||
| |||||||||||||||
| |||||||||||||||
cs:Vozík s TNT de:TNT-Lore es:Vagoneta con dinamita fr:Wagonnet à TNT it:Vagonetto con TNT ja:TNT付きのトロッコ ko:TNT가 실린 광산 수레 nl:Mijnkar met TNT pl:Wagonik z TNT pt:Carrinho de mina com dinamite ru:Вагонетка с ТНТ uk:Вагонетка з динамітом zh:TNT矿车