Bug Habitat - Glitchfiend/FamiliarFauna GitHub Wiki
Bug Habitats are used to keep caught Butterflies, Dragonflies, and Pixies in. If you have an empty bug habitat in your inventory, and use a Bug Net to catch an insect, it will automatically be placed in the habitat.
You can release insects from the habitat by right clicking while holding it.