Ectoplasm is a component added by Random Things. It is dropped after killing a Spirit. Spirits will occasionally appear after another mob dies. The spirit looks like a small blue cube that quickly flies around.