3D printer in Minecraft

I’m guessing he built that world using a worldgen type mod and some kind of script. I was hoping it would be some crazy piston monstrosity that didn’t use command blocks, but it’s still impressive.