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 MaterialPredicate
IS_AIR
private Material
material
-
Constructor Summary
Constructors Modifier Constructor Description private
MaterialPredicate(Material material)
-
Method Summary
Modifier and Type Method Description static MaterialPredicate
create(Material material)
boolean
test(BlockState blockState)
-
Field Details
-
IS_AIR
-
material
-
-
Constructor Details
-
MaterialPredicate
-
-
Method Details
-
create
-
test
- Specified by:
test
in interfacePredicate<BlockState>
-