Minecraft wiki entry for Minecart_with_Spawner, associated text: 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]