Package net.minecraft.predicate.block
Class BlockPredicate
java.lang.Object
net.minecraft.predicate.block.BlockPredicate
- All Implemented Interfaces:
Predicate<BlockState>
public class BlockPredicate extends Object implements Predicate<BlockState>
- Mappings:
Namespace Name official cic
intermediary net/minecraft/class_2717
named net/minecraft/predicate/block/BlockPredicate
-
Field Summary
-
Constructor Summary
Constructors Constructor Description BlockPredicate(Block block)
-
Method Summary
Modifier and Type Method Description static BlockPredicate
make(Block block)
boolean
test(BlockState blockState)
-
Field Details
-
block
- Mappings:
Namespace Name Mixin selector official a
Lcic;a:Lbwu;
intermediary field_12423
Lnet/minecraft/class_2717;field_12423:Lnet/minecraft/class_2248;
named block
Lnet/minecraft/predicate/block/BlockPredicate;block:Lnet/minecraft/block/Block;
-
-
Constructor Details
-
BlockPredicate
- Mappings:
Namespace Name Mixin selector official <init>
Lcic;<init>(Lbwu;)V
intermediary <init>
Lnet/minecraft/class_2717;<init>(Lnet/minecraft/class_2248;)V
named <init>
Lnet/minecraft/predicate/block/BlockPredicate;<init>(Lnet/minecraft/block/Block;)V
-
-
Method Details
-
make
- Mappings:
Namespace Name Mixin selector official a
Lcic;a(Lbwu;)Lcic;
intermediary method_11766
Lnet/minecraft/class_2717;method_11766(Lnet/minecraft/class_2248;)Lnet/minecraft/class_2717;
named make
Lnet/minecraft/predicate/block/BlockPredicate;make(Lnet/minecraft/block/Block;)Lnet/minecraft/predicate/block/BlockPredicate;
-
test
- Specified by:
test
in interfacePredicate<BlockState>
- Mappings:
Namespace Name Mixin selector official a
Lcic;a(Lcht;)Z
intermediary method_11765
Lnet/minecraft/class_2717;method_11765(Lnet/minecraft/class_2680;)Z
named test
Lnet/minecraft/predicate/block/BlockPredicate;test(Lnet/minecraft/block/BlockState;)Z
-