Class FossilFeatureConfiguration.Builder

java.lang.Object
dev.wyck.worldgen.feature.configurations.FossilFeatureConfiguration.Builder
Enclosing interface:
FossilFeatureConfiguration

@AsOf("3.3.0") public static final class FossilFeatureConfiguration.Builder extends Object
Since:
3.3.0
  • Constructor Details

  • Method Details

    • fossilStructures

      @AsOf("3.3.0") public FossilFeatureConfiguration.Builder fossilStructures(List<ResourceKey> fossilStructures)
      Sets the fossil structures for the fossil feature configuration.
      Parameters:
      fossilStructures - the fossil structures
      Returns:
      this builder
      Since:
      3.3.0
    • overlayStructures

      @AsOf("3.3.0") public FossilFeatureConfiguration.Builder overlayStructures(List<ResourceKey> overlayStructures)
      Sets the overlay structures for the fossil feature configuration.
      Parameters:
      overlayStructures - the overlay structures
      Returns:
      this builder
      Since:
      3.3.0
    • fossilProcessors

      @AsOf("3.3.0") public FossilFeatureConfiguration.Builder fossilProcessors(ResourceKey fossilProcessors)
      Sets the fossil processors for the fossil feature configuration.
      Parameters:
      fossilProcessors - the fossil processors
      Returns:
      this builder
      Since:
      3.3.0
    • overlayProcessors

      @AsOf("3.3.0") public FossilFeatureConfiguration.Builder overlayProcessors(ResourceKey overlayProcessors)
      Sets the overlay processors for the fossil feature configuration.
      Parameters:
      overlayProcessors - the overlay processors
      Returns:
      this builder
      Since:
      3.3.0
    • maxEmptyCornersAllowed

      @AsOf("3.3.0") public FossilFeatureConfiguration.Builder maxEmptyCornersAllowed(int maxEmptyCornersAllowed)
      Sets the maximum number of empty corners allowed.
      Parameters:
      maxEmptyCornersAllowed - the maximum number of empty corners allowed
      Returns:
      this builder
      Since:
      3.3.0
    • fossilStructure

      @AsOf("3.3.0") public FossilFeatureConfiguration.Builder fossilStructure(ResourceKey fossilStructure)
      Adds a fossil structure to the list of fossil structures.
      Parameters:
      fossilStructure - the fossil structure to add
      Returns:
      this builder
      Since:
      3.3.0
    • overlayStructure

      @AsOf("3.3.0") public FossilFeatureConfiguration.Builder overlayStructure(ResourceKey overlayStructure)
      Adds an overlay structure to the list of overlay structures.
      Parameters:
      overlayStructure - the overlay structure to add
      Returns:
      this builder
      Since:
      3.3.0
    • build

      @AsOf("3.3.0") public FossilFeatureConfiguration build()
      Builds the FossilFeatureConfiguration instance.
      Returns:
      A new instance of FossilFeatureConfiguration with the specified parameters.
      Since:
      3.3.0