Large Ore veins

Discussion in 'Plugin Requests' started by xThatFedExGuy, Oct 9, 2020.

Thread Status:
Not open for further replies.
  1. Offline

    xThatFedExGuy

    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?
     
    Last edited: Oct 9, 2020
  2. Offline

    davidclue

    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...
     
  3. Offline

    Offlinecoppter

    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
     
  4. Offline

    davidclue

    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.
     
  5. Offline

    Newdel

    https://hub.spigotmc.org/javadocs/spigot/org/bukkit/event/world/ChunkPopulateEvent.html
     
  6. Offline

    davidclue

  7. Offline

    davidclue

    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?
     
    Last edited: Oct 26, 2020
  8. Offline

    bitfreeze.dev

    <removed>
     
    Last edited: Nov 17, 2020
Thread Status:
Not open for further replies.

Share This Page