Added pattern and random mode support to /set, /replace, and /walls commands.
Pattern mode alternates materials (e.g., DIRT,GRASS_BLOCK), random mode uses percentages for independent block placement (e.g., 50%DIRT,50%GRASS_BLOCK), with automatic material collection, unused material returns, and tab completion.