https://github.com/offsetmods538/cobbleore-generator
Makes cobblestone generators generate ores
https://github.com/offsetmods538/cobbleore-generator
Last synced: 8 months ago
JSON representation
Makes cobblestone generators generate ores
- Host: GitHub
- URL: https://github.com/offsetmods538/cobbleore-generator
- Owner: OffsetMods538
- License: mit
- Created: 2022-07-04T17:08:56.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2025-02-15T17:04:15.000Z (over 1 year ago)
- Last Synced: 2025-02-15T18:19:29.337Z (over 1 year ago)
- Language: Java
- Size: 163 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Description
[](https://discord.offsetmonkey538.top/)
[](https://modrinth.com/mod/cog)
[](https://modrinth.com/mod/monkeylib538)
[](https://modrinth.com/mod/fabric-api)
## What it does
It makes cobblestone generators generate **any** ores. *Even modded*
There's a 25% chance for it to generate an ore which it chooses randomly from the `c:ores` block tag. This means that if you have some mod that adds a really overpowered ore, this ore would have the same chance of spawning as coal ore.
## Config
Don't like how op it is? Yeah, that makes sense.
Well thankfully there's a config, which allows you to change how ores are distributed!
The config is located at `.minecraft/config/cog.json`.
The config consists of block ids and their corresponding weights. If you have 2 entries and each has a weight of 1, it will be a 50/50 chance for each one to spawn.
Here's an example with cobblestone having a 30% chance, diamond block with a 1% chance, and cake with a 69% chance of spawning:
```json
{
"generatableBlocks": {
"minecraft:cobblestone": 30,
"minecraft:diamond_block": 1,
"minecraft:cake": 69
}
}
```
## Can I use it in a modpack?
Of course! It's not needed, but including a link to the modrinth page somewhere would be nice :D