Interface NoiseGeneratorConfig.Builder

All Superinterfaces:
AbstractBuilder<NoiseGeneratorConfig>, Builder<NoiseGeneratorConfig,NoiseGeneratorConfig.Builder>, CopyableBuilder<NoiseGeneratorConfig,NoiseGeneratorConfig.Builder>, ResettableBuilder<NoiseGeneratorConfig,NoiseGeneratorConfig.Builder>
Enclosing interface:
NoiseGeneratorConfig

A builder to create NoiseGeneratorConfigs.
  • Method Details

    • noiseConfig

      Sets the noise configuration
      Parameters:
      config - The noise configuration
      Returns:
      This builder, for chaining
    • surfaceRule

      Sets the surface rule.
      Parameters:
      rule - The surface rule
      Returns:
      This builder, for chaining
    • defaultBlock

      Sets the default block used for terrain.
      Parameters:
      block - The block
      Returns:
      This builder, for chaining
    • defaultFluid

      Sets the default fluid used for seas and lakes.
      Parameters:
      fluid - The fluid
      Returns:
      This builder, for chaining
    • seaLevel

      Sets the sea level.
      Parameters:
      y - The sea level
      Returns:
      This builder, for chaining
    • aquifers

      NoiseGeneratorConfig.Builder aquifers(boolean enableAquifers)
      Sets whether to generate aquifers.
      Parameters:
      enableAquifers - true to enable aquifers
      Returns:
      This builder, for chaining
    • oreVeins

      NoiseGeneratorConfig.Builder oreVeins(boolean enableOreVeins)
      Sets whether to generate or veins.
      Parameters:
      enableOreVeins - true to enable ore veins
      Returns:
      This builder, for chaining
    • mobGeneration

      NoiseGeneratorConfig.Builder mobGeneration(boolean mobGeneration)
      Sets whether to enable mob generation.
      Parameters:
      mobGeneration - true to enable mob generation
      Returns:
      This builder, for chaining
    • randomSource

      NoiseGeneratorConfig.Builder randomSource(boolean useLegacyRandomSource)
      Sets whether to use the legacy random source.
      Parameters:
      useLegacyRandomSource - true when using the legacy random source
      Returns:
      This builder, for chaining
    • noiseRouter

      Sets the noise router.
      Parameters:
      router - The noise router
      Returns:
      This builder, for chaining
    • spawnTargets

      NoiseGeneratorConfig.Builder spawnTargets(List<BiomeAttributes> spawnTargets)
      Sets the biome attributes in which the initial WorldProperties.spawnPosition() is allowed.
      Parameters:
      spawnTargets - The spawn targets
      Returns:
      This builder, for chaining