Class BiomeGenerationSettings.Builder

java.lang.Object
dev.wyck.biome.BiomeGenerationSettings.Builder
Enclosing interface:
BiomeGenerationSettings

@AsOf("2.3.0") public static final class BiomeGenerationSettings.Builder extends Object
A builder for creating a BiomeGenerationSettings.
Since:
2.3.0
  • Constructor Details

  • Method Details

    • carvers

      @AsOf("3.0.0") public BiomeGenerationSettings.Builder carvers(List<WorldCarver> carvers)
      Sets the carvers of this biome's generation.
      Parameters:
      carvers - the carvers of this biome's generation
      Returns:
      this builder
      Since:
      3.0.0
    • carvers

      @AsOf("3.0.0") public BiomeGenerationSettings.Builder carvers(WorldCarver... carvers)
      Sets the carvers of this biome's generation.
      Parameters:
      carvers - the carvers of this biome's generation
      Returns:
      this builder
      Since:
      3.0.0
    • features

      @AsOf("3.0.0") public BiomeGenerationSettings.Builder features(Map<Decoration, List<PlacedFeature>> features)
      Sets the features of this biome's generation.
      Parameters:
      features - the features of this biome's generation
      Returns:
      this builder
      Since:
      3.0.0
    • carver

      @AsOf("2.3.0") public BiomeGenerationSettings.Builder carver(WorldCarver carver)
      Adds a configured carver to this biome's generation.
      Parameters:
      carver - the configured carver to add
      Returns:
      this builder
      Since:
      2.3.0
    • carver

      @AsOf("3.0.0") public <C> BiomeGenerationSettings.Builder carver(CustomCarver<C> carver, C config)
      Adds a custom carver to this biome's generation.
      Type Parameters:
      C - the type of the configuration
      Parameters:
      carver - the custom carver to add
      config - the configuration of the carver
      Returns:
      this builder
      Since:
      3.0.0
    • feature

      @AsOf("2.3.0") public BiomeGenerationSettings.Builder feature(Decoration step, PlacedFeature feature)
      Adds a placed feature to this biome's generation under the given step.
      Parameters:
      step - the generation step the feature is placed in
      feature - the placed feature to add
      Returns:
      this builder
      Since:
      2.3.0
    • build

      @AsOf("2.3.0") public BiomeGenerationSettings build()
      Builds the BiomeGenerationSettings.
      Returns:
      the BiomeGenerationSettings
      Since:
      2.3.0