Package net.minecraft.util.function
Class MaterialPredicate
java.lang.Object
net.minecraft.util.function.MaterialPredicate
- All Implemented Interfaces:
Predicate<BlockState>
public class MaterialPredicate extends Object implements Predicate<BlockState>
-
Field Summary
Fields Modifier and Type Field Description private static MaterialPredicateIS_AIRprivate Materialmaterial -
Constructor Summary
Constructors Modifier Constructor Description privateMaterialPredicate(Material material) -
Method Summary
Modifier and Type Method Description static MaterialPredicatecreate(Material material)booleantest(BlockState blockState)
-
Field Details
-
IS_AIR
-
material
-
-
Constructor Details
-
MaterialPredicate
-
-
Method Details
-
create
-
test
- Specified by:
testin interfacePredicate<BlockState>
-