Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface GenerateChunkFunction

Function used in all generation callbacks

Hierarchy

  • GenerateChunkFunction

Callable

  • __call(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