Combinatorial design of textured mechanical metamaterials