diff --git a/paper-api/src/main/java/org/bukkit/ChunkSnapshot.java b/paper-api/src/main/java/org/bukkit/ChunkSnapshot.java index 6b0f14bf2a..08e0bcdd5b 100644 --- a/paper-api/src/main/java/org/bukkit/ChunkSnapshot.java +++ b/paper-api/src/main/java/org/bukkit/ChunkSnapshot.java @@ -31,6 +31,16 @@ public interface ChunkSnapshot { */ String getWorldName(); + /** + * Get block type for block at corresponding coordinate in the chunk + * + * @param x 0-15 + * @param y 0-127 + * @param z 0-15 + * @return block material type + */ + Material getBlockType(int x, int y, int z); + /** * Get block type for block at corresponding coordinate in the chunk *