diff --git a/paper-api/src/main/java/org/bukkit/block/Block.java b/paper-api/src/main/java/org/bukkit/block/Block.java index 679c29cf36..f3fe0b47b2 100644 --- a/paper-api/src/main/java/org/bukkit/block/Block.java +++ b/paper-api/src/main/java/org/bukkit/block/Block.java @@ -356,4 +356,17 @@ public interface Block extends Metadatable { */ Collection getDrops(ItemStack tool); + /** + * Checks if this block is passable. + *

+ * A block is passable if it has no colliding parts that would prevent + * players from moving through it. + *

+ * Examples: Tall grass, flowers, signs, etc. are passable, but open doors, + * fence gates, trap doors, etc. are not because they still have parts that + * can be collided with. + * + * @return true if passable + */ + boolean isPassable(); }