getSpawnEggItem

fun getSpawnEggItem(): ItemStack

A single spawn-egg stack for this entity.


fun getSpawnEggItem(amount: Int): ItemStack

A spawn-egg stack of amount for this entity.