this.expansionSetCode = "MMQ";
this.color.setBlue(true);
// {3}{U}{U}: Shuffle your library.
this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new ShuffleLibrarySourceEffect(), new ManaCostsImpl<>("{3}{U}{U}")));
// {X}: Look at the top X cards of your library, then put them back in any order.
Effect effect = new LookLibraryControllerEffect(new ManacostVariableValue());
effect.setText("Look at the top X cards of your library, then put them back in any order");
this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, effect, new ManaCostsImpl<>("X")));