A player-thrown ender pearl can produce an Endermite when it lands. Java Edition places the Endermite at the player's position immediately before teleporting. Bedrock Edition places it at the pearl's landing site, and its vanilla projectile definition sets the spawn chance to 5%.
Endermites attack nearby players. In Java Edition, an attack on one Endermite can alert others. Endermen also target Endermites, which makes a persistent Endermite usable as bait for an Enderman farm.
In Java Edition, an Endermite despawns after 2,400 game ticks, about two minutes of active ticking. Applying a name tag makes it persistent and stops this timer from counting up. The Bedrock entity definition includes distance-based despawning.
Java Edition 26.3 targets the Endermite entity class without a pearl-origin check, so an Endermite created by a spawn egg or the summon command can also attract Endermen. The Bedrock Edition 26.62 vanilla targeting definition selects the Endermite family. The two editions place pearl-spawned Endermites at opposite ends of the teleport.