Interface BlobFoliagePlacer

All Superinterfaces:
FoliagePlacer, Wrapper

@NullMarked @AsOf("3.0.0") public interface BlobFoliagePlacer extends FoliagePlacer
Places a blob of foliage, used by most simple trees such as the oak.
Since:
3.0.0
See Also:
  • Method Details

    • height

      @AsOf("3.0.0") int height()
      The foliage's height, between 0 and 16 (inclusive).
      Returns:
      the height
      Since:
      3.0.0
    • toBuilder

      @AsOf("3.0.0") default BlobFoliagePlacer.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 BlobFoliagePlacer of(IntProvider radius, IntProvider offset, int height)
      Creates a new blob foliage placer.
      Parameters:
      radius - the radius of the foliage
      offset - the vertical offset from the top of the trunk to the top of the foliage
      height - the foliage's height, between 0 and 16 (inclusive)
      Returns:
      a new blob foliage placer
      Since:
      3.0.0
    • builder

      @AsOf("3.0.0") static BlobFoliagePlacer.Builder builder()
      Creates a new builder.
      Returns:
      a new builder
      Since:
      3.0.0