Class HugeRedMushroomFeature.Builder

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

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

  • Method Details

    • capProvider

      @AsOf("3.0.0") public HugeRedMushroomFeature.Builder capProvider(BlockStateProvider capProvider)
      Sets the block state provider for the cap.
      Parameters:
      capProvider - the block state provider for the cap
      Returns:
      this builder
      Since:
      3.0.0
    • stemProvider

      @AsOf("3.0.0") public HugeRedMushroomFeature.Builder stemProvider(BlockStateProvider stemProvider)
      Sets the block state provider for the stem.
      Parameters:
      stemProvider - the block state provider for the stem
      Returns:
      this builder
      Since:
      3.0.0
    • foliageRadius

      @AsOf("3.0.0") public HugeRedMushroomFeature.Builder foliageRadius(int foliageRadius)
      Sets the radius of the cap.
      Parameters:
      foliageRadius - the radius of the cap
      Returns:
      this builder
      Since:
      3.0.0
    • canPlaceOn

      @AsOf("3.0.0") public HugeRedMushroomFeature.Builder canPlaceOn(BlockPredicate canPlaceOn)
      Sets the predicate that defines which blocks the mushroom can be placed on.
      Parameters:
      canPlaceOn - the predicate that defines which blocks the mushroom can be placed on
      Returns:
      this builder
      Since:
      3.0.0
    • build

      @AsOf("3.0.0") public HugeRedMushroomFeature build()
      Builds the configuration.
      Returns:
      the configuration
      Since:
      3.0.0