A Fabric mod for Minecraft 1.20.1 that automatically generates/removes Conquest Reforged terrain layers based on the surrounding blocks.
- Three Generation Modes: BASIC (linear), EXTENDED (2x distance), EXTREME (3x distance)
- Smart Height Detection: Uses neighbor block heights to determine appropriate layer counts
- Plant Handling: Automatically replaces and restores vanilla plants with Conquest Reforged variants
- Configurable System: JSON-based configuration for easy customization
- Preset System: Quick configuration presets for different generation styles
- Conquest Reforged Integration: Maps vanilla blocks to their Conquest Reforged layer equivalents
- Install Fabric Loader 0.15.11+ for Minecraft 1.20.1
- Install Fabric API 0.92.2+
- Install Conquest Reforged mod
- Place this mod's JAR file in your mods folder
/generateLayers [chunkRadius]
Generate layers in the specified chunk radius (default: 3, max: 32). Automatically handles plant replacement.
/removeLayers [chunkRadius]
Remove layers in the specified chunk radius (default: 3, max: 32). Automatically restores original plants.
/layerConfig show # Display current configuration
/layerConfig mode <basic|extended|extreme> # Set generation mode
/layerConfig distance <blocks> # Set max layer distance (3-25)
/layerConfig edgeThreshold <blocks> # Set edge height threshold (1-5)
/layerConfig smoothingCycles <cycles> # Set smoothing cycles (0-20)
/layerConfig roundingMode <up|down|nearest> # Set rounding mode
/layerConfig smoothingPriority <up|down> # Set smoothing priority
/layerConfig preset <basic|extended|extreme> # Apply preset configuration
/layerConfig reload # Reload config from file
- basic: Mode: BASIC, Distance: 7, Smoothing: 6, Rounding: DOWN
- extended: Mode: EXTENDED, Distance: 14, Smoothing: 13, Rounding: DOWN
- extreme: Mode: EXTREME, Distance: 21, Smoothing: 20, Rounding: DOWN
Configuration files are automatically created in config/crlayers/ on first run.
- BASIC: Linear gradients (7→6→5→4→3→2→1) with standard distance
- EXTENDED: Gradual gradients (7,7→6,6→5,5→...) with 2x distance
- EXTREME: Very gradual gradients (7,7,7→6,6,6→5,5,5→...) with 3x distance
layer_config.json: Main generation settings
mode: Generation mode (BASIC, EXTENDED, EXTREME)max_layer_distance: Base distance for layer spreadingedge_height_threshold: Minimum height difference to detect edgessmoothing_cycles: Number of smoothing passessmoothing_rounding_mode: Rounding method (UP, DOWN, NEAREST)smoothing_priority: UP (preserve gradients) or DOWN (smooth near edges)
block_mappings.json: Vanilla to Conquest Reforged block mappings
{
"minecraft:grass_block": "conquest:grass_block_layer",
"minecraft:dirt": "conquest:loamy_dirt_slab"
}plant_mappings.json: Vanilla to Conquest Reforged plant mappings
{
"minecraft:grass": "conquest:grass",
"minecraft:tall_grass": "conquest:tall_grass"
}- Clone this repository
- Open a terminal in the project directory
- Run
./gradlew build(Linux/Mac) orgradlew.bat build(Windows) - The compiled JAR will be in
build/libs/
The mod will fall back to placing snow layers if Conquest Reforged blocks are not found. This allows you to test the core generation logic without having CR installed.
- Minecraft 1.20.1
- Fabric Loader 0.15.11+
- Fabric API 0.92.2+
- Conquest Reforged (for actual layer blocks)
MIT License - Feel free to modify and distribute
Arona74
Contributions are welcome! Please feel free to submit issues or pull requests.
- Requires OP permission level 2 to use commands
- Configuration changes via commands automatically save to file
- Generation happens synchronously, so very large radii may cause temporary lag
- Make backups before using in important worlds
- Plant replacement and restoration is handled automatically