This feature is exclusive to Java Edition. 
Minecart with Spawner
Health points

6 Heart (icon).png Heart (icon).png Heart (icon).png

Hitbox size

Height: 0.7 Blocks
Width: 0.98 Blocks

Minecarts with spawners are a combination of both minecarts and spawners.

Obtaining

Minecarts with spawners cannot be obtained as an item in the inventory, and can only be produced using the /summon command.

Usage

Main article: Spawner

The spawner within behaves the same way as normal spawners; but the entity to be spawned cannot be set via using Spawn Eggs; the spawner's data can only be modified using commands or NBT edits. It has the same associated NBT tags as a normal spawner.[1]

More preicsely, a spawner minecart acts as a spawner block at the minecart's position. In other words, if the spawner minecart 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 spawner minecart's new position.

Drops

When they are broken, spawner minecarts drop 1 minecart. The spawner will not drop.

Sounds

SoundSubtitlesSourceDescriptionNamespaced IDTranslation keyVolumePitchAttenuation
distance
Minecart rolls?Plays when the minecart is movingentity.minecart.ridingsubtitles.entity.minecart.riding??16

Data values

ID

EntityNamespaced IDTranslation key
Minecart with Spawnerspawner_minecartentity.minecraft.spawner_minecart

Entity data

See also: Chunk format

Minecarts with spawners have entity data associated with them that contain various properties of the entity.

  • Entity data
    • Tags common to all entities
    • Tags common to all minecarts
    • Tags common to all spawners

History

Java Edition
January 07, 2013Nathan Adams tweets an image of a mob spawner inside a minecart, spawning pigs throughout a village.
Later that day, Adams tweets an image of minecarts with spawners riding along a complex railway.[3]
February 06, 2013Adams tweets another image of minecart pig spawners.
1.513w06a Minecart with Spawner JE1 BE1.png Added minecarts with spawners.
1.7.213w36aMinecart with spawners can now be summoned using the /summon command.
1.1116w32aThe entity ID for minecarts with spawners has now been changed from MinecartSpawner to spawner_minecart.
1.1418w43a Minecart with Spawner JE2.png The texture of minecarts with spawners has now been changed.
1.1519w38a Minecart with Spawner 19w38a.png The spawner now appears dark and sometimes opaque, same as suffocating mobs.
19w39aThe spawner texture is now colored correctly.

Issues

Issues relating to "Minecart with Spawner" are maintained on the bug tracker. Report issues there.

References

Community content is available under CC BY-NC-SA 3.0 unless otherwise noted.