public class BlockMaterialMatcher extends java.lang.Object implements java.util.function.Predicate<BlockState>
Modifier and Type | Field and Description |
---|---|
private static BlockMaterialMatcher |
AIR_MATCHER |
private Material |
material |
Modifier | Constructor and Description |
---|---|
private |
BlockMaterialMatcher(Material materialIn) |
Modifier and Type | Method and Description |
---|---|
static BlockMaterialMatcher |
forMaterial(Material materialIn) |
boolean |
test(BlockState p_test_1_) |
private static final BlockMaterialMatcher AIR_MATCHER
private final Material material
private BlockMaterialMatcher(Material materialIn)
public static BlockMaterialMatcher forMaterial(Material materialIn)
public boolean test(@Nullable BlockState p_test_1_)
test
in interface java.util.function.Predicate<BlockState>