Interface DataGenerator

All Known Implementing Classes:
DefaultDataGenerator, InterpolatedNoiseDataGenerator, LayerDataGenerator, NiceDataGenerator

public interface DataGenerator
A DataGenerator is responsible for generating the terrain in the world. It HAS to be thread safe!
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    generateChunk(int xStart, int zStart, int xEnd, int zEnd, int spacing, int height, WorldModifier proxy)
    Method to implement for custom terrain generation.
  • Method Details

    • generateChunk

      void generateChunk(int xStart, int zStart, int xEnd, int zEnd, int spacing, int height, WorldModifier proxy)
      Method to implement for custom terrain generation.
      Parameters:
      xStart - Starting point of generation in X
      zStart - Starting point of generation in ZZ
      xEnd - Ending point of generation in X
      zEnd - Ending point of generation in Z
      spacing - Space between sample data points (for faster zoom outs in map viewers etc)
      height - Height of data to generate in Y
      proxy - WorldModifier to build the world against (setBlock etc).