{{exclusive|java}}
{{Infobox entity
| image = Minecart with Spawner.png
| size = Height: 0.7 blocks
Width: 0.98 blocks
| health = {{hp|6}}
}}
'''Minecarts with monster spawners''' are a combination of both [[minecart]]s and [[monster spawner]].
== Obtaining ==
Minecarts with monster spawners cannot be obtained as an [[item]] in the [[inventory]], and can only be produced using the {{cmd|summon}} [[command]] or by using external tools.
== Usage ==
{{Main|Monster Spawner#Usage|title1=Monster Spawner}}
The monster spawner within behaves the same way as normal monster spawners, but the [[entity]] to be spawned cannot be set via using [[spawn egg]]s; the monster spawner's data can only be modified using commands or NBT edits. It has the same associated NBT tags as a normal monster spawner.[{{tweet|Dinnerbone|299139100638851073}}]
More precisely, a minecart with monster spawner acts as a monster spawner [[block]] at the minecart's position. In other words, if the minecart with monster spawner moved within a block position, the range of spawn would not change, but if it moved 5 blocks east, the range of spawn would now be centered at the minecart with monster spawner's new position.
Spawner minecarts were used in some custom maps as a way to have [[redstone]] controlled monster spawners, however after the addition of the {{cmd|summon}} and {{cmd|setblock}} [[commands]] they were mostly rendered obsolete and are very rarely used today.
== Drops ==
When they are [[Breaking|broken]], minecarts with monster spawners drop 1 {{ItemLink|minecart}}. The monster spawner does not drop.
== Sounds ==
Minecarts with monster spawners use the Friendly Creatures sound category for [[Sound#Entity-dependent categories|entity-dependent sound events]].[{{bug|MC-42132}}]
{{SoundTable
| type = java
| {{SoundLine
| sound =Minecart rolling.ogg
|subtitle=Minecart rolls
|source=Friendly Creatures [
|overridesource=1
|description=While a minecart with monster spawner is moving
|id=entity.minecart.riding
|translationkey=subtitles.entity.minecart.riding
|volume=0.0-0.35 ][Relates linearly with horizontal velocity (max 0.5)]
|pitch=0.0-1.0 [Increases by 0.0025 per tick if the minecart's horizontal velocity is more than 0.01]
| distance = 16
}}
}}
== Data values ==
=== ID ===
{{ID table
|edition=java
|spritetype=entity
|displayname=Minecart with Monster Spawner
|firstcolumnname=Entity
|nameid=spawner_minecart
|generatetranslationkeys=y
|foot=1}}
=== Entity data ===
{{see also|Entity format}}
Minecarts with monster spawners have entity data associated with them that contain various properties of the [[entity]].
{{/ED}}
== History ==
{{HistoryTable
|{{HistoryLine|java}}
|{{HistoryLine||January 07, 2013|link={{tweet|dinner|288311411728343041}}|[[Nathan Adams]] tweets an image of a [[monster spawner]] inside a [[minecart]], spawning [[pig]]s throughout a [[village]].
|Later that day, Adams tweets an image of minecarts with spawners riding along a complex railway.[{{tweet|dinner|288319336962215936}}]}}
|{{HistoryLine||February 06, 2013|link={{tweet|Dinner|299137151000522752}}|Adams tweets another image of minecart pig spawners.}}
|{{HistoryLine||1.5|dev=13w06a|[[File:Minecart with Spawner JE1.png|32px]] Added minecarts with spawners.
|Placing any type of minecart creates a minecart with a pig spawner.}}
|{{HistoryLine|||dev=13w06a (reupload)|slink=Java Edition 13w06a|Placing any type of minecart no longer creates a minecart with spawner.}}
|{{HistoryLine||1.7.2|dev=13w36a|Minecart with spawners can now be summoned using the {{cmd|summon}} [[command]].}}
|{{HistoryLine||1.11|dev=16w32a|The [[entity]] ID for minecarts with spawners has now been changed from MinecartSpawner
to spawner_minecart
.}}
|{{HistoryLine||1.14|dev=18w43a|[[File:Minecart with Spawner JE2.png|32px]] The texture of minecarts with spawners has now been changed.}}
|{{HistoryLine||1.15|dev=19w38a|[[File:Minecart with Spawner 19w38a.png|32px]] The spawner now appears dark and sometimes opaque, same as suffocating mobs.}}
|{{HistoryLine|||dev=19w39a|The spawner texture is now colored correctly.}}
|{{HistoryLine||1.19.3|dev=22w44a|"Minecart with Spawner" has been renamed to "Minecart with Monster Spawner".
|Minecart with monster spawners no longer have a pig in them and flame particles by default.}}
|{{HistoryLine||1.20.3|dev=23w45a|[[File:Minecart with Spawner JE3.png|32px]] The monster spawner now renders the inner faces.}}
|{{HistoryLine||1.20.5|dev=24w13a|Minecart with monster spawners can now specify a loot table to use for equipment of spawned mobs.}}
}}
== Issues ==
{{issue list|projects=mc}}
== Gallery ==
First spawner Minecart Image.jpg|The first image of minecarts with monster spawners released by [[Dinnerbone]].
2ed Spawner Minecart Image and 1st Dispenser cart image.jpg|The second image released by Dinnerbone.
Spawner Minecart Image ZOOM.jpg|Zoomed image of the second release.
Spawner Minecart 20130206.png|Another image posted by Dinnerbone.
MinecartSpawner.png|A minecart with monster spawner spawned using {{cmd|summon}}.
Minecart spawner.png|A minecart with monster spawner spawning [[pig]]s.
== References ==
{{Reflist}}
== Navigation ==
{{Navbox entities|Other}}
{{Navbox unused features}}
[[Category:Vehicles]]
[[Category:Unused entities]]
[[de:Spawner-Lore]]
[[es:Vagoneta con generador de criaturas]]
[[fr:Wagonnet générateur]]
[[hu:Szörnyidéző csille]]
[[it:Carrello da miniera]]
[[ja:モンスタースポナー付きのトロッコ]]
[[ko:생성기가 실린 광산 수레]]
[[lzh:孳衍籠礦車]]
[[nl:Mijnkar met monsterkooi]]
[[pl:Wagonik ze spawnerem potworów]]
[[pt:Carrinho de mina com gerador]]
[[ru:Вагонетка со спаунером]]
[[uk:Вагонетка зі спавнером монстрів]]
[[zh:刷怪笼矿车]]