Minecraft wiki entry for Spawn_Egg, associated text: Spawn eggs are not thrown (unlike normal eggs); the player must be within normal range of the block to use the spawn egg. Ocelot and all monster mobs (except shulkers, piglins, hoglins; and in Bedrock Edition, also include vindicators, evokers, zoglins, piglin brutes) spawned while on Peaceful difficulty get created and immediately deleted from the world.