Do you created an ore (or flower), and want add this in to world generator? No problem! Go to /config/customOreGeneration and create file "yourore.oregen". Next complete this file like this:
id = ID of the block; damage = Damage of the block, if you want; type = "normal or flower"; dimension = "normal or nether"; size = size of ore, blocks in one place; rate = ores per chunk; generationblocks = "blocks which generate ore"; heightmin = min height of generation ; heightmax = max height of generation;
Now explore (on the undiscovered areas) your world or create new world and search underground.
type, dimension and generationblocks attributes are string, others are numbers. Example
s of generationblocks attribute:
generationblocks="1"; - Will generate blocks on stone generationblocks="0"; - Will generate blocks on air generationblocks="2,3"; - Will generate blocks on grass or dirt
Examples:
Sulfur ore:
id = 200; damage = 0; type = "normal"; dimension = "normal"; size = 7; rate = 8; generationblocks = "1"; heightmin = 0; heightmax = 48;
Blue flower:
id = 240; damage = 6; type = "flower" dimension = "normal"; size = 5; rate = 1; generationblocks = "2,3"; heightmin = 64; heightmax = 128;
Bugs:
- Size for flowers not working
- If you use damage value, and this block has "added" event (for damage value), it's not executing this.