Interface ScryingLensOverlayRegistry.OverlayPredicate

Enclosing class:
ScryingLensOverlayRegistry
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 static interface ScryingLensOverlayRegistry.OverlayPredicate
Predicate for matching on a block state.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    test(net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.BlockPos pos, net.minecraft.world.entity.player.Player observer, net.minecraft.world.level.Level world, net.minecraft.core.Direction hitFace)
     
  • Method Details

    • test

      boolean test(net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.BlockPos pos, net.minecraft.world.entity.player.Player observer, net.minecraft.world.level.Level world, net.minecraft.core.Direction hitFace)