Interface HugeMushroomFeatureConfiguration

All Superinterfaces:
FeatureConfiguration, Wrapper

@NullMarked @AsOf("3.0.0") public interface HugeMushroomFeatureConfiguration extends FeatureConfiguration
Tree-like features that consist of mushroom blocks.
Since:
3.0.0
See Also:
  • Method Details

    • capProvider

      @AsOf("3.0.0") BlockStateProvider capProvider()
      The block to use for the cap.
      Returns:
      the block state provider
      Since:
      3.0.0
    • stemProvider

      @AsOf("3.0.0") BlockStateProvider stemProvider()
      The block to use for the stem.
      Returns:
      the block state provider
      Since:
      3.0.0
    • foliageRadius

      @AsOf("3.0.0") int foliageRadius()
      The size of the cap.
      Returns:
      the radius of the cap
      Since:
      3.0.0
    • canPlaceOn

      @AsOf("3.0.0") BlockPredicate canPlaceOn()
      The predicate that defines which blocks the huge mushroom can be placed on.
      Returns:
      the predicate
      Since:
      3.0.0
    • toBuilder

      @AsOf("3.0.0") default HugeMushroomFeatureConfiguration.Builder toBuilder()
      Converts this object back to a builder.
      Returns:
      a builder with the same values as this object
      Since:
      3.0.0
    • of

      @AsOf("3.0.0") static HugeMushroomFeatureConfiguration of(BlockStateProvider capProvider, BlockStateProvider stemProvider, int foliageRadius, BlockPredicate canPlaceOn)
      Creates a new huge mushroom feature configuration.
      Parameters:
      capProvider - the block state provider for the cap
      stemProvider - the block state provider for the stem
      foliageRadius - the radius of the cap
      canPlaceOn - the predicate that defines which blocks the huge mushroom can be placed on
      Returns:
      a new huge mushroom feature configuration
      Since:
      3.0.0
    • builder

      Creates a new builder.
      Returns:
      a new builder
      Since:
      3.0.0