How does U1 achieve material replacement while printing?

That sort of thing is going on here: Sidecar 16 color MMU for U1