Interface HasSturdyFacePredicate

All Superinterfaces:
BlockPredicate, Wrapper

@NullMarked @AsOf("3.0.0") public interface HasSturdyFacePredicate extends BlockPredicate
Checks if the block at the specified offset has a full block supporting surface in the specified direction.
Since:
3.0.0
See Also:
  • Method Details

    • offset

      @AsOf("3.0.0") BlockVector offset()
      The offset from the block to check.
      Returns:
      the offset
      Since:
      3.0.0
    • direction

      @AsOf("3.0.0") BlockFace direction()
      The direction to check.
      Returns:
      the direction
      Since:
      3.0.0
    • toBuilder

      @AsOf("3.0.0") default HasSturdyFacePredicate.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 HasSturdyFacePredicate of(BlockVector offset, BlockFace direction)
      Creates a new has sturdy face predicate.
      Parameters:
      offset - the offset
      direction - the direction
      Returns:
      the has sturdy face predicate
      Since:
      3.0.0
    • builder

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