If Gaea's Blessing has no legal target cards in a graveyard, either because its targets became illegal or because you didn't choose any, the target player shuffles their library.

Artwork
Loading artwork…
Gaea's Blessing
Secret Lair Drop · #735 · EN
Nonfoil—Foil—
Card rules
Target player shuffles up to three target cards from their graveyard into their library.
Draw a card.
When this card is put into your graveyard from your library, shuffle your graveyard into your library.
A simple sacrifice: his heart for the world.
Rare · Illustrated by Ryan Alexander Lee
Format legality
Brawl Legal
Commander Legal
Competitive Brawl Legal
Duel Legal
Gladiator Legal
Historic Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Penny Legal
Pioneer Legal
PreDH Legal
Premodern Legal
Timeless Legal
Tlr Legal
Vintage Legal
Alchemy Not Legal
Future Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
Standard Not Legal
Standard Brawl Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
If an effect puts multiple cards from your library into your graveyard at once, put all of those cards there before Gaea's Blessing shuffles your graveyard into your library.