Perlin Worm Cave Generation

Discussion in 'Plugin Development' started by davidclue, Mar 25, 2021.

  1. Online

    davidclue

    Hi, I am working on a chunk generator and I want to add custom-sized caves. I did some research and found little info on generating caves and I only know that minecraft uses perlin worms to generate vanilla caves. I do not understand how to implement perlin worms into my chunk generator and how to make caves using it, if anybody could help me out here and explain what exactly I'm supposed to do to generate caves using this like how does perlin worms help me with this and how to pass caves through chunks.
     
  2. Offline

    Kars

    Perlin worms is an algorithm. To do this you would let the algorithm determine x/y/z coordinates and set blocks at those coordinates to air.
    I'm sure you can find code for perlin worms somewhere, and i'm sure it can generate x/y/z-based output.
    Good luck.
     

Share This Page