Overview
Chunker provides a flexible configuration system that allows you to customize world conversions through JSON configuration files. These files can be placed directly in your world folder or specified via command-line arguments.Configuration Files
Chunker supports five main configuration files:Block Mappings
Custom block and item identifier mappings
World Settings
World-level property customization
Pruning
Region selection and world optimization
Converter Settings
Conversion behavior and feature flags
Dimension Mappings
Dimension-to-dimension mappings
File Naming Convention
All configuration files follow the naming pattern*.chunker.json:
block_mappings.chunker.jsonconverter_settings.chunker.jsondimension_mappings.chunker.jsonpruning.chunker.jsonworld_settings.chunker.json
These files are automatically loaded from the input world directory if present, or can be specified via CLI flags.
Loading Configuration Files
Automatic Loading
Place configuration files in your world folder (CLI.java:143-244):Command-Line Loading
You can also specify configuration files via CLI flags:CLI Flags Reference
Path to a JSON file or inline JSON object containing block mappings (CLI.java:73-77)
Path to a JSON file or inline JSON object containing world settings (CLI.java:80-84)
Path to a JSON file or inline JSON object containing pruning settings (CLI.java:87-91)
Path to a JSON file or inline JSON object containing converter settings (CLI.java:94-98)
Path to a JSON file or inline JSON object containing dimension mappings (CLI.java:101-105)
Keep and write original NBT data to output (only works if output format matches input) (CLI.java:108-111)
Exporting Configuration
The easiest way to generate configuration files is through the Chunker web interface:- Visit chunker.app
- Navigate to Advanced Settings → Converter Settings
- Configure your desired settings
- Export the configuration files
- Place them in your world folder or use with CLI flags
You can also generate these files manually following the schemas documented in each configuration page.
Configuration Priority
When both methods are used, CLI flags take precedence over files in the world folder:- Highest Priority: CLI flag (
-m,-s,-p,-c,-d) - Lower Priority: File in world folder (
*.chunker.json)
Error Handling
Chunker validates configuration files during startup (CLI.java:149-269):- Invalid JSON: Conversion fails with parse error
- Missing required fields: Uses default values where applicable
- Invalid values: Conversion fails with descriptive error message
Next Steps
Block Mappings
Learn how to create custom block mappings
Converter Settings
Configure conversion behavior
Pruning
Optimize worlds by removing regions
World Settings
Customize world properties