Package net.minecraft.util.function
Class MaterialPredicate
java.lang.Object
net.minecraft.util.function.MaterialPredicate
- All Implemented Interfaces:
Predicate<BlockState>
- Mappings:
Namespace Name official cvw
intermediary net/minecraft/class_2710
named net/minecraft/util/function/MaterialPredicate
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MaterialPredicate
boolean
test
(@Nullable BlockState blockState)
-
Field Details
-
IS_AIR
- Mappings:
Namespace Name Mixin selector official a
Lcvw;a:Lcvw;
intermediary field_12404
Lnet/minecraft/class_2710;field_12404:Lnet/minecraft/class_2710;
named IS_AIR
Lnet/minecraft/util/function/MaterialPredicate;IS_AIR:Lnet/minecraft/util/function/MaterialPredicate;
-
material
- Mappings:
Namespace Name Mixin selector official b
Lcvw;b:Ldpz;
intermediary field_12405
Lnet/minecraft/class_2710;field_12405:Lnet/minecraft/class_3614;
named material
Lnet/minecraft/util/function/MaterialPredicate;material:Lnet/minecraft/block/Material;
-
-
Constructor Details
-
MaterialPredicate
MaterialPredicate(Material material) - Mappings:
Namespace Name Mixin selector official <init>
Lcvw;<init>(Ldpz;)V
intermediary <init>
Lnet/minecraft/class_2710;<init>(Lnet/minecraft/class_3614;)V
named <init>
Lnet/minecraft/util/function/MaterialPredicate;<init>(Lnet/minecraft/block/Material;)V
-
-
Method Details
-
create
- Mappings:
Namespace Name Mixin selector official a
Lcvw;a(Ldpz;)Lcvw;
intermediary method_11746
Lnet/minecraft/class_2710;method_11746(Lnet/minecraft/class_3614;)Lnet/minecraft/class_2710;
named create
Lnet/minecraft/util/function/MaterialPredicate;create(Lnet/minecraft/block/Material;)Lnet/minecraft/util/function/MaterialPredicate;
-
test
- Specified by:
test
in interfacePredicate<BlockState>
- Mappings:
Namespace Name Mixin selector official a
Lcvw;a(Lcvo;)Z
intermediary method_11745
Lnet/minecraft/class_2710;method_11745(Lnet/minecraft/class_2680;)Z
named test
Lnet/minecraft/util/function/MaterialPredicate;test(Lnet/minecraft/block/BlockState;)Z
-