Bring a brush to the ruined observatories. Four dial fragments and a copper ingot restore a sundial that has a second purpose in the Eclipse Court. Read the materials beneath the celestial dials and turn them to match the sun, moon and star.
Use the restored sundial to awaken the court's guardian. Watch the ground for its attack circle as the fight enters its second phase. The guardian drops a lens that reveals suspicious sand and gravel within 14 blocks, giving you a new tool for your next excavation.