Dragonflies are passive mobs that spawn in freshwater biomes.
Dragonflies come in 4 different variants:
- A blue variant with black margins on its wings, dark blue stripes on its tail, and black eyes, antennae, and legs (based on the blue dasher).
- A reddish-orange variant with black margins on its wings, pale green stripes on its tail, and black eyes, antennae, and legs (based on the yellow-winged darter).
- A green variant with light brown margins on its wings, a brown tail with dark green stripes, black eyes, and light brown antennae and legs (based on the green darner).
- A brown variant with light brown wings, a tail with tan stripes, golden yellow spots on its wings and the underside of its tail, golden yellow eyes, and brown antennae and legs (based on the broad-tailed shadowdragon).
Dragonflies will aimlessly fly around in a similar manner to bats. Occasionally, they will perch on the ground or on walls; upon doing so, they will stay still until a player comes by, at which point they will fly away.
Dragonflies can be caught by using a glass bottle on them. Bottles with dragonflies inside them have a special tooltip that indicates their variant and size.
If a dragonfly is exposed to rain, it will be unable to take to the air, helplessly flapping in place and taking damage every time a certain amount of time passes; if it was flying around before it was exposed to rain, it will slowly float down to the ground. While in the rain, dragonflies will attempt to seek out shelter to protect themselves; upon finding a hiding spot, they will immediately perch.