Interface BlockPredicate

All Superinterfaces:
Predicate<net.minecraft.world.level.block.state.pattern.BlockInWorld>, SimpleBlockPredicate
All Known Subinterfaces:
BlockFilter
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 BlockPredicate extends Predicate<net.minecraft.world.level.block.state.pattern.BlockInWorld>, SimpleBlockPredicate
  • Method Summary

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

    Methods inherited from interface Predicate

    and, negate, or, test
  • Method Details