SPIGOT-7214: Add CraftChunk and CraftChunkSnapshot contains biome method
By: md_5 <git@md-5.net>
This commit is contained in:
@@ -164,4 +164,12 @@ public interface ChunkSnapshot {
|
||||
* @return if the block is contained within
|
||||
*/
|
||||
boolean contains(@NotNull BlockData block);
|
||||
|
||||
/**
|
||||
* Tests if this chunk contains the specified biome.
|
||||
*
|
||||
* @param biome biome to test
|
||||
* @return if the biome is contained within
|
||||
*/
|
||||
boolean contains(@NotNull Biome biome);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user