Interface ForkingTrunkPlacer

All Superinterfaces:
TrunkPlacer, Wrapper

@NullMarked @AsOf("3.0.0") public interface ForkingTrunkPlacer extends TrunkPlacer
Places a trunk with 1 or 2 branches, with an overhang of 1 to 3 blocks. Foliage is attached to the top of each branch.
Since:
3.0.0
See Also:
  • Method Details

    • toBuilder

      @AsOf("3.0.0") default ForkingTrunkPlacer.Builder toBuilder()
      Converts this object back to a builder.
      Returns:
      the builder
      Since:
      3.0.0
    • of

      @AsOf("3.0.0") static ForkingTrunkPlacer of(int baseHeight, int heightRandA, int heightRandB)
      Creates a new forking trunk placer.
      Parameters:
      baseHeight - the height of the trunk
      heightRandA - the random height modifier
      heightRandB - the random height modifier
      Returns:
      a new forking trunk placer
      Since:
      3.0.0
    • builder

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