A possibility to edit the type of a Spawnegg ItemStack.
Implementing https://hub.spigotmc.org/javadocs/spigot/org/bukkit/inventory/meta/ItemMeta.html
Working with EntityTags:
{EntityTag:{id:"<Savegame ID>"}}
Data values:
http://minecraft.gamepedia.com/Data_values/Entity_IDs