Class ReplaceablePredicate.Builder

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

public static final class ReplaceablePredicate.Builder extends Object
Since:
3.0.0
  • Constructor Details

  • Method Details

    • offset

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

      @AsOf("3.0.0") public ReplaceablePredicate.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 ReplaceablePredicate build()
      Builds the replaceable predicate.
      Returns:
      the replaceable predicate
      Since:
      3.0.0