diff options
Diffstat (limited to 'src/main/java/org/bukkit/Block.java')
-rw-r--r-- | src/main/java/org/bukkit/Block.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/Block.java b/src/main/java/org/bukkit/Block.java index d2719be2..7e8ec5d4 100644 --- a/src/main/java/org/bukkit/Block.java +++ b/src/main/java/org/bukkit/Block.java @@ -159,4 +159,11 @@ public interface Block { * @return BlockState with the current state of this block. */ BlockState getState(); + + /** + * Returns the biome that this block resides in + * + * @return Biome type containing this block + */ + Biome getBiome(); } |