Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • GenerateChunkFunction

Callable

  • GenerateChunkFunction(chunkX: number, chunkZ: number, random: Random, dimensionId: number, chunkSeed: number, worldSeed: number, dimensionSeed: number): void
  • Function used in all generation callbacks

    Parameters

    • chunkX: number

      chunk X coordinate. Multiply by 16 to receive corner block coordinates

    • chunkZ: number
    • random: Random

      java.util.Random object that should be used for generation process. Already seeded by appropriate values

    • dimensionId: number

      current dimension's numeric id

    • chunkSeed: number

      chunk-specific seed to use in chunk random generation

    • worldSeed: number
    • dimensionSeed: number

      dimension-specific seed to use in chunk generation

    Returns void

Generated using TypeDoc