
A micro village (and you can even shrink mobs like the villager) that can automatically make many random resources (though its not the most efficient)

With 8 4x4 storage drawers and a drawer controller you can have automatically generated and organized dyes. Add an extra drawer and a trash can to throw away extras and always keep the maximum of any dyes