Interface PoplarFoliagePlacer

All Superinterfaces:
FoliagePlacer, Wrapper

@NullMarked @AsOf("4.0.0") public interface PoplarFoliagePlacer extends FoliagePlacer
Places the tall, tapered foliage used by poplar trees.
Since:
4.0.0
See Also:
  • Method Details

    • height

      @AsOf("4.0.0") IntProvider height()
      The foliage height, between 5 and 16 blocks.
      Returns:
      the foliage height
      Since:
      4.0.0
    • sideHoleChance

      @AsOf("4.0.0") float sideHoleChance()
      The chance that an eligible side position is left empty.
      Returns:
      the side-hole chance
      Since:
      4.0.0
    • toBuilder

      @AsOf("4.0.0") default PoplarFoliagePlacer.Builder toBuilder()
      Converts this object back to a builder.
      Returns:
      a builder containing the same values
      Since:
      4.0.0
    • of

      @AsOf("4.0.0") static PoplarFoliagePlacer of(IntProvider radius, IntProvider offset, IntProvider height, float sideHoleChance)
      Creates a poplar foliage placer.
      Parameters:
      radius - the foliage radius
      offset - the vertical foliage offset
      height - the foliage height, between 5 and 16 blocks
      sideHoleChance - the side-hole chance, between 0 and 1
      Returns:
      a new poplar foliage placer
      Since:
      4.0.0
    • builder

      @AsOf("4.0.0") static PoplarFoliagePlacer.Builder builder()
      Creates a new builder.
      Returns:
      a new poplar foliage placer builder
      Since:
      4.0.0