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 da0964b1b6..ce1e1e6cc6 100644 --- a/paper-api/src/main/java/org/bukkit/block/Block.java +++ b/paper-api/src/main/java/org/bukkit/block/Block.java @@ -511,4 +511,13 @@ public interface Block extends Metadatable { */ @NotNull VoxelShape getCollisionShape(); + + /** + * Checks if this block is a valid placement location for the specified + * block data. + * + * @param data the block data to check + * @return true if the block data can be placed here + */ + boolean canPlace(@NotNull BlockData data); }