Package net.minecraft.block.pattern
Class BlockMatcher
- java.lang.Object
-
- net.minecraft.block.pattern.BlockMatcher
-
- All Implemented Interfaces:
java.util.function.Predicate<BlockState>
public class BlockMatcher extends java.lang.Object implements java.util.function.Predicate<BlockState>
-
-
Constructor Summary
Constructors Constructor Description BlockMatcher(Block p_i45654_1_)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BlockMatcher
forBlock(Block p_177642_0_)
boolean
test(BlockState p_test_1_)
-
-
-
Field Detail
-
block
private final Block block
-
-
Constructor Detail
-
BlockMatcher
public BlockMatcher(Block p_i45654_1_)
-
-
Method Detail
-
forBlock
public static BlockMatcher forBlock(Block p_177642_0_)
-
test
public boolean test(@Nullable BlockState p_test_1_)
- Specified by:
test
in interfacejava.util.function.Predicate<BlockState>
-
-