Efficient method for generating large material veins?

Started by Mindthemoods on

Topic category: Help with Minecraft modding (Java Edition)

Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Efficient method for generating large material veins?
Sun, 10/15/2023 - 21:27 (edited)

Working on an End-Update sort of thing, and one thing I'm trying to get working is large veins of materials generating in the isles themselves, similar to the different veins of stone found in stony shores and peaks. I'm reasonably experienced forcing stuff to generate in unusual ways, and was mostly wondering if anyone's got a clever way to generate veins of stuff. (Or better yet, if there's actually an existing biome feature I could configure to do this with hard code. (I know Terralith does a lot of stuff like this in a datapack, might be worth looking into.)

Thoughts? Ideas? Another problem I'm considering is that I'd ideally like said veins to protrude slightly from the islands, whereas most ideas I can think of involve replacing end stone with another block. A clever way to protrude veins somewhat, while still stopping generation in open areas, would also be nice.

Will probably share my findings or lack thereof depending on how stuff goes.

Edited by Mindthemoods on Sun, 10/15/2023 - 21:27
Joined Jul 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i mean the first idea that…
Wed, 10/25/2023 - 19:53

i mean the first idea that comes to my mind is just to go ham with a whole complex terrain generation procedure but if that's not ideal then you can use another idea and combine it with a terrain generation procedure

what ideas do you have? i think you might be able to use the idea you have involving replacing end stone, and then use a procedure to detect all air blocks horizontally adjacent (x or z) to the custom block and then replace it with a custom block, and voila you have an extruded vein

tweak this idea to your liking

tl;dr use a custom terrain generation procedure element to systematically extrude the vein