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>
- Mappings:
Namespace Name official cib
intermediary net/minecraft/class_2710
named net/minecraft/util/function/MaterialPredicate
-
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
- Mappings:
Namespace Name Mixin selector official a
Lcib;a:Lcib;
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
Lcib;b:Ldap;
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
- Mappings:
Namespace Name Mixin selector official <init>
Lcib;<init>(Ldap;)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
Lcib;a(Ldap;)Lcib;
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
Lcib;a(Lcht;)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
-