Class FeatureSize.FeatureSizeBuilder<T,P>

java.lang.Object
dev.wyck.worldgen.feature.featuresize.FeatureSize.FeatureSizeBuilder<T,P>
Type Parameters:
T - the builder type
P - the feature size type
Direct Known Subclasses:
ThreeLayersFeatureSize.Builder, TwoLayersFeatureSize.Builder
Enclosing interface:
FeatureSize

@AsOf("3.0.0") public abstract static class FeatureSize.FeatureSizeBuilder<T,P> extends Object
Base class for feature size builders.
Since:
3.0.0
  • Field Details

  • Constructor Details

    • FeatureSizeBuilder

      public FeatureSizeBuilder()
    • FeatureSizeBuilder

      public FeatureSizeBuilder(@Nullable Integer minClippedHeight)
  • Method Details

    • minClippedHeight

      @AsOf("3.0.0") public T minClippedHeight(int minClippedHeight)
      Sets the minimum free height.
      Parameters:
      minClippedHeight - the minimum free height
      Returns:
      this builder
      Since:
      3.0.0
    • build

      @AsOf("3.0.0") public final P build()
      Builds the feature size.
      Returns:
      the feature size
      Since:
      3.0.0
    • create

      protected abstract P create()