Interface SimpleBlockPredicate

All Known Subinterfaces:
BlockFilter, BlockPredicate
All Known Implementing Classes:
AnyBlockFilter, BlockAndFilter, BlockIdFilter, BlockNotFilter, BlockOrFilter, BlockStateFilter, BlockTypeTagFilter, BlockXorFilter, NoneBlockFilter, SimpleBlockFilter
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface SimpleBlockPredicate
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    test(net.minecraft.world.level.LevelReader level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)
     
  • Method Details

    • test

      boolean test(net.minecraft.world.level.LevelReader level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)