I have been trying to find a plugin to change the way ores spawn. I want to standard generation or ores to be spawned, but occasionally.. maybe out of every 100 chunks spawned, 1 or 2 large nodes would spawn. I would want them on the same levels as normal, so Redstone wouldn't be at the top near the grass layers and such. I would want a node with connected ore with about 6x the normal amount spawned. I would also want it as a randomized cluster, not a ball of ore. Does anyone know if there's already a plugin that handles this?
A plugin like this I could only imagine would need to iterate through entire chunks of blocks to find ore blocks and ofc would need to iterate through chunks that have just been generated and only once to avoid if a player placed ore. This plugin sounds like a major lag show so I wouldn't recommend it...
Why does it have to be so complicated? Just go random to the location in the default spawn height, check the blocks around and change them. You could just to this for every 3th generated chunk randomly. This wouldn't cost many resources
I'm just saying it really would lag badly because it would need to save every generated chunks data in a list and every time the player moves it would need to check all generated chunks to see if they have been iterated over before and then if not iterate over hundreds of blocks to find ore. Maybe there is a way to do this with optimal performance but I can't think of one.
I'll try to make this plugin for you the more I look into it the more I see how possible it is and it actually isn't very hard to accomplish. Edit: So do you want me to completely remove ore spawns from the game and only have custom ore spawns that are customizable? Or just add large veins with the built in vanilla ore generation?