public class BlockPredicate extends Object implements Predicate<BlockState>
Constructor and Description |
---|
BlockPredicate(Block block) |
Modifier and Type | Method and Description |
---|---|
static BlockPredicate |
make(Block block) |
boolean |
test(BlockState blockState) |
private final Block block
public BlockPredicate(Block block)
public static BlockPredicate make(Block block)
public boolean test(@Nullable BlockState blockState)
test
in interface Predicate<BlockState>