Описание
# Mining World
This mod adds a separate mining world with customizable ore generation.
All generation is controlled via JSON files, allowing you to define:
- Ore type
- Blocks it replaces
- Height range
- Vein size and number of veins per chunk
- Chance of spawning
Players and servers can create their own ore sets without modifying the mod’s code.
---
## Usage
- After installing the mod, use the command:
```
/digdim
```
This creates a mining dimension with ore generation based on your JSON settings.
- JSON configuration files are located in:
```
data//miningworld/
```
- Example file `iron_ore.json`:
```
{
"ore_block": "minecraft:iron_ore",
"replace_block": "minecraft:stone",
"min_height": 0,
"max_height": 56,
"min_vein_size": 3,
"max_vein_size": 7,
"min_veins_per_chunk": 2,
"max_veins_per_chunk": 5,
"chance": 0.8
}
```
---
## JSON Parameters
- **ore_block** — block to generate.
- **replace_block** — block that is replaced.
- **min_height / max_height** — vertical range for veins.
- **min_vein_size / max_vein_size** — minimum and maximum vein size.
- **min_veins_per_chunk / max_veins_per_chunk** — number of veins per chunk.
- **chance** — probability of vein spawning (0.0–1.0).
---
## Adding Custom Generation
1. Create a JSON file with your desired settings in `data//miningworld/`.
2. Restart the game or use `/reload`.
3. Any new mining dimension created via `/digdim` will use these settings.
---
## License
AGPLv3