Interface MegaJungleFoliagePlacer

All Superinterfaces:
FoliagePlacer, Wrapper

@NullMarked @AsOf("3.0.0") public interface MegaJungleFoliagePlacer extends FoliagePlacer
Places the foliage of a jungle tree, corresponding to the vanilla jungle_foliage_placer type.
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 MegaJungleFoliagePlacer.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 MegaJungleFoliagePlacer of(IntProvider radius, IntProvider offset, int height)
      Creates a new mega jungle 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 mega jungle foliage placer
      Since:
      3.0.0
    • builder

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