setSpawnedType

public void setSpawnedType(EntityType type)

Set the type of entity this egg will spawn.

Parameters

type

The entity type.