Interface SolidPredicate

All Superinterfaces:
BlockPredicate, Wrapper

@NullMarked @AsOf("3.0.0") public interface SolidPredicate extends BlockPredicate
Checks if the block at the specified offset is solid.
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
    • toBuilder

      @AsOf("3.0.0") default SolidPredicate.Builder toBuilder()
      Converts this object back to a builder.
      Returns:
      a builder with the same values as this object
      Since:
      3.0.0
    • of

      @Deprecated @AsOf("3.0.0") static SolidPredicate of(BlockVector offset)
      Deprecated.
      Deprecated in Minecraft.
      Creates a new solid predicate.
      Parameters:
      offset - the offset
      Returns:
      the solid predicate
      Since:
      3.0.0
    • of

      @Deprecated @AsOf("3.0.0") static SolidPredicate of()
      Deprecated.
      Deprecated in Minecraft.
      Creates a new solid predicate with a zero offset.
      Returns:
      the solid predicate
      Since:
      3.0.0
    • builder

      @Deprecated @AsOf("3.0.0") static SolidPredicate.Builder builder()
      Deprecated.
      Deprecated in Minecraft.
      Creates a new builder.
      Returns:
      a new builder
      Since:
      3.0.0