Direct-ink-write 3D-printed surface energy gradient monolith enabling adaptive cooling regulation