Class InsideWorldBoundsPredicate.Builder

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

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

  • Method Details

    • offset

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

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

      @AsOf("3.0.0") public InsideWorldBoundsPredicate build()
      Builds the inside world bounds predicate.
      Returns:
      the inside world bounds predicate
      Since:
      3.0.0