public class BlockMatcher extends java.lang.Object implements java.util.function.Predicate<BlockState>
Constructor and Description |
---|
BlockMatcher(Block blockType) |
Modifier and Type | Method and Description |
---|---|
static BlockMatcher |
forBlock(Block blockType) |
boolean |
test(BlockState p_test_1_) |
private final Block block
public BlockMatcher(Block blockType)
public static BlockMatcher forBlock(Block blockType)
public boolean test(@Nullable BlockState p_test_1_)
test
in interface java.util.function.Predicate<BlockState>