CottonMC / CottonResources

Reference mod for ores, ingots, tools, liquids, and all you can imagine.
MIT License
17 stars 12 forks source link

Orevoting #25

Closed falkreon closed 5 years ago

falkreon commented 5 years ago

Please don't merge this yet, it's still in development. I just want to be able to take feedback while I'm working.

This PR adds a comprehensive system where mods can specify, as data, that they use a resource and would like it to be generated into the world. This will be blockable by cotton-resources settings, and customizable in a world / server / global datapack.

Additionally, you'll be able to offer generators - subject to the previously-mentioned resource-enabling system - which will allow cotton-resources to generate deposits of materials it previously hadn't heard of.

Open questions are how to morph ores into different forms based on the dimension or the block being replaced. Instead of making them part of the generator, maybe we add an optional section that can specify a mapping for a given generator tag, from blocks-to-replace to ore-block(s). like #natural_stones: tin_ore, netherrack: nether_tin_ore or something.

Anyhow I'll keep working on this, please send feedback