Class FossilFeature.Builder

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

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

    • Builder

      public Builder()
    • Builder

      public Builder(FossilFeature config)
  • Method Details

    • fossilStructures

      @AsOf("3.3.0") public FossilFeature.Builder fossilStructures(List<StructureTemplate> 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 FossilFeature.Builder overlayStructures(List<StructureTemplate> 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 FossilFeature.Builder fossilProcessors(ProcessorList 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 FossilFeature.Builder overlayProcessors(ProcessorList 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 FossilFeature.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 FossilFeature.Builder fossilStructure(StructureTemplate 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 FossilFeature.Builder overlayStructure(StructureTemplate 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 FossilFeature build()
      Builds the FossilFeature instance.
      Returns:
      A new instance of FossilFeature with the specified parameters.
      Since:
      3.3.0