Abstract
This paper introduces a fast, two-stage procedural generation method for creating "organic" floor plans and exterior walls in Minecraft. By combining a block-based constrained growth algorithm for rooms with cellular automata for window placement, the system generates thousands of unique, fully connected, and functional structures in seconds, moving away from the rigid, template-based designs common in the field.
Introduction
Procedural Content Generation (PCG) in games often struggles to find a balance between speed and variety. Rule-based systems are fast but often produce repetitive, "boxy" results, while search-based systems produce variety but are computationally expensive and hard to constrain for functionality.
In the context of the Generative Design in Minecraft (GDMC) competition, most entries rely on pre-authored templates. This research aims to bridge the gap by creating a generator that builds structures from the ground up, block-by-block, ensuring every house is uniquely shaped while remaining functional.
Methodology
Phase 1: Floor Plan Generation (Constrained Growth)
The generation process begins with room placement. The system calculates the number of rooms based on the building's total area (using the cube root of the area) and places 2x2 "seed" squares for each room at random, non-overlapping locations.
Unlike previous "L-growth" algorithms that use rectangular blocks, this method employs Organic Growth. Rooms expand one 1x1 block at a time, taking turns to occupy adjacent empty spaces. Because rooms grow block-by-block and stop when they hit a wall or another room, the resulting shapes are irregular and "organic" rather than perfectly rectangular.
Once rooms are grown, the system identifies "in-between" blocks to place doors, ensuring all rooms are connected to each other and at least one door leads outside.
Phase 2: External Wall Generation (Cellular Automata)
The system treats the exterior walls as a 2D grid where each cell is either a solid block or a glass window. Using a Cellular Automata (CA) approach with neighbor summation, the system runs for 10 generations. If a block has exactly 2 or 3 "window" neighbors, it becomes a window; otherwise, it becomes a solid block. This creates visually interesting, non-repetitive mosaic patterns for the building's facade.
Key Insights and Results
By shifting the growth unit from rectangles to single blocks, the algorithm naturally produces alcoves, closets, and odd-shaped rooms that feel more like hand-built structures. Small spaces squeezed between larger rooms often become functional-looking architectural features like pantries.
Performance and Connectivity
The system is highly efficient, generating 1,000 small buildings in under 8 seconds on a standard laptop. Key results include:
- Connectivity: 100% of generated buildings were fully traversable.
- Efficiency: Even the largest buildings (15x15) took only ~0.15 seconds per structure to generate.
- Scaling: As building size increases, room area grows exponentially relative to the room count, leading to more spacious interiors in larger builds.
- Visual Variety: The CA-based wall generation successfully created diverse window patterns, ranging from high-set privacy windows to floor-to-ceiling glass mosaics.
Limitations and Future Work
While the floor plans are structurally sound, they currently lack interior furniture or landmarks, which can make navigation disorienting in large buildings. Future work will explore growing buildings into arbitrary shapes to fit specific terrain features like cliffs, extending the logic to multiple floors, and adding interior detailing to improve player experience.
Summary updated