Class BlockMatcher

  • All Implemented Interfaces:
    java.util.function.Predicate<BlockState>

    public class BlockMatcher
    extends java.lang.Object
    implements java.util.function.Predicate<BlockState>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private Block block  
    • Constructor Summary

      Constructors 
      Constructor Description
      BlockMatcher​(Block p_i45654_1_)  
    • Field Detail

      • block

        private final Block block
    • Constructor Detail

      • BlockMatcher

        public BlockMatcher​(Block p_i45654_1_)
    • Method Detail

      • test

        public boolean test​(@Nullable
                            BlockState p_test_1_)
        Specified by:
        test in interface java.util.function.Predicate<BlockState>