mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-13 11:15:57 -07:00
@@ -131,4 +131,12 @@ public interface ChunkSnapshot {
|
|||||||
* @return true if empty, false if not
|
* @return true if empty, false if not
|
||||||
*/
|
*/
|
||||||
boolean isSectionEmpty(int sy);
|
boolean isSectionEmpty(int sy);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Tests if this snapshot contains the specified block.
|
||||||
|
*
|
||||||
|
* @param block block to test
|
||||||
|
* @return if the block is contained within
|
||||||
|
*/
|
||||||
|
boolean contains(@NotNull BlockData block);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user