Wiki ArticleLocal entity data availableJava EditionPages with sound tablesPages with Java sound tablesInformation needed

Minecart with Monster Spawner

The minecart with monster spawner is a combination of a minecart and a monster spawner.

Local game data

Minecart with Monster Spawner

Java 1.21.4
Typemob
Stack-
Height0.7
Sections4
Canonical IDmob:spawner_minecart
Minecraft IDminecraft:spawner_minecart
Wiki sourcecached

The minecart with monster spawner is a combination of a minecart and a monster spawner.

Obtaining

Minecarts with monster spawner cannot be obtained as an item in the inventory, and can only be produced using the command or by using external tools.

Usage

The monster spawner within the minecart behaves the same way as normal monster spawners, but the entity to be spawned cannot be set via using spawn eggs; 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. 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. Minecarts with monster spawner were used in some custom maps as a way to have redstone controlled monster spawners, however after the addition of the and commands they were mostly rendered obsolete and are very rarely used today.

Drops

When they are broken, minecarts with monster spawners drop 1 . The monster spawner does not drop.

Entity data

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

Local Data Properties

displayNameMinecart with Monster Spawner
namespawner_minecart
id115
categoryVehicles
typeother
width0.98
height0.7