Class SolidPredicate.Builder

java.lang.Object
dev.wyck.worldgen.blockpredicates.SolidPredicate.Builder
Enclosing interface:
SolidPredicate

@AsOf("3.0.0") public static final class SolidPredicate.Builder extends Object
Builder for SolidPredicate.
Since:
3.0.0
  • Constructor Details

    • Builder

      public Builder()
    • Builder

      public Builder(SolidPredicate predicate)
  • Method Details

    • offset

      @AsOf("3.0.0") public SolidPredicate.Builder offset(BlockVector offset)
      Sets the offset.
      Parameters:
      offset - the offset
      Returns:
      this builder
      Since:
      3.0.0
    • offset

      @AsOf("3.0.0") public SolidPredicate.Builder offset(int x, int y, int z)
      Sets the offset.
      Parameters:
      x - the x offset
      y - the y offset
      z - the z offset
      Returns:
      this builder
      Since:
      3.0.0
    • build

      @AsOf("3.0.0") public SolidPredicate build()
      Builds the solid predicate.
      Returns:
      the solid predicate
      Since:
      3.0.0