Quarry Colossus's ability is mandatory. If you control the only creatures when that ability triggers, you must choose a creature you control (which could be Quarry Colossus itself) as the target.

Artwork
Loading artwork…
Quarry Colossus
Journey into Nyx · #22 · EN
Nonfoil—Foil—
Card rules
When this creature enters, put target creature into its owner's library just beneath the top X cards of that library, where X is the number of Plains you control.
5/6
Uncommon · Illustrated by Todd Lockwood
Format legality
Commander Legal
Duel Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Penny Legal
Pioneer Legal
Vintage Legal
Alchemy Not Legal
Brawl Not Legal
Competitive Brawl Not Legal
Future Not Legal
Gladiator Not Legal
Historic Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
PreDH Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Timeless Not Legal
Tlr Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
If there are fewer than X cards in that player's library, put the creature on the bottom of that library.
The value of X is determined as the ability resolves. If you control no Plains at that time, put the creature on top of that library.