mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-11 18:22:08 -07:00
@@ -131,4 +131,12 @@ public interface ChunkSnapshot {
|
||||
* @return true if empty, false if not
|
||||
*/
|
||||
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