Interface BlockPredicate

All Superinterfaces:
Predicate<org.bukkit.block.Block>

public interface BlockPredicate extends Predicate<org.bukkit.block.Block>
A Predicate for Blocks in a World, parsed from user input.

By default, a parsed BlockPredicate will not load chunks to perform tests. It will simply return false when attempting to test a block in unloaded chunks.

To get a BlockPredicate which will load chunks, use loadChunks().

Since:
1.5.0
  • Method Details