Customgen
Release 7 for Minecraft 1.8
About the Modification
Customgen enables the addition of procedurally generated dungeons, structures, and other features to the world. All generation elements are stored as resource packs, making them easy to create, replace, and share with other players.
Generation System
The core of the mod consists of "generators" - special objects that determine where and how structures will appear in the world. Each generator contains:
- Name and resource pack name
- Generation level
- Allowed biome types
- Set of segments
Generation Levels
- Underground: spawns at depths y=4, y=20, or y=36
- Surface: generates 3 blocks below the surface level
- Sea floor: works similarly to surface but places at the bottom of water bodies
Segments
Segments are 16×16×16 block cubes containing blocks with metadata and tile entities. Each segment side has an interface number that determines compatibility with other segments. Generation starts with a starting segment, then adds compatible segments (up to 100 to prevent infinite loops).
Blocks and Items
Book of Custom Generation

Used for creating generators and segments, as well as placing them in the world.
Empty Block

Does not replace existing blocks during generation, allowing structures to blend better with the landscape.
Interface Block

Placed on segment sides to define interface numbers. Right-click to increase the value.
Loot Placeholder

Replaced with random dungeon loot in inventories during generation, adding unpredictability.
Installation and Usage
Requires Minecraft Forge. Place the customgen.jar file in the "mods" folder of your game directory.
Your created generators are ready to use immediately - just explore the world. To install others' generators, place them in the resourcepacks folder and restart your world.
Content Creation
Step 1: Using Templates
Templates are found in the third tab of the Book of Custom Generation. Use surface templates for above-ground structures or corner templates for underground ones.
Step 2: Building
Create structures using Empty Blocks to preserve the existing landscape.
Step 3: Interface Configuration
Place Interface Blocks at segment connection points to create repeating or interchangeable elements.
Step 4: Creating Generators
In the Book of Custom Generation, create a new generator, specify the name, generation level, and suitable biomes. The "weight" parameter affects spawn frequency.
Step 5: Adding Segments
For each segment, specify a unique name and mark starting segments (not all should be starting ones).
Compatibility
The mod works well with other modifications. Blocks and items from other mods can be used in segments. If required mods are missing, corresponding blocks are simply skipped.
Generator Examples
Underground Structures

A set of underground structures compatible with BuildCraft and Tinkers Construct.
Caves

Various cave systems using interfaces to create different lengths.
Sea Pack

Features that generate in marine biomes.
Example
Demonstration generator with interfaces, tile entities, and content from other mods.