Fireflies and Lightning Bugs
Fireflies appear at night and gather near NPC houses in the Forest. A platform built high enough that the ground is out of view leaves terrestrial critters without spawn surfaces, so more Fireflies appear. In The Hallow, Lightning Bugs take their place with 20% bait power, described as enough for early fishing.
Worms and Flower Boots
Worms cannot climb and fall into 1-tile-deep holes, so a hole at the end of a flat stretch catches them during rain; the hole needs to be at least 2 tiles wide so the player can stand and swing a Bug Net. Separately, wearing Flower Boots across regular, Jungle or Hallowed grass and then destroying the flowers is described as the sole method of producing bait on demand without natural critter spawns.
Step-by-Step Guide
Raise Firefly numbers with a sky platform
Build a platform high enough that the ground below is hidden, so terrestrial critters have no surface and more Fireflies spawn.
Collect Worms in a shallow hole
Dig a hole at least 2 tiles wide at the end of a flat area. Because Worms cannot climb and get stuck in 1-tile-deep holes, they collect there on a rainy day, and the width lets the player stand in the hole and swing a Bug Net.
Farm grass with Flower Boots
Run across regular, Jungle or Hallowed grass wearing Flower Boots, then take the boots off and destroy the flowers to spawn critters for bait.

