Interface PositionPredicate

All Known Implementing Classes:
FitsAPortal, NotNearAnyInHashGrid, NotNearPoint, NotNearPointXZ

public interface PositionPredicate
A predicate that tests whether a certain condition is met at a given position in a world.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    test(World world, org.joml.Vector3d point)
    Determines if the condition is met at the specified point in the given world.
  • Method Details

    • test

      boolean test(@Nonnull World world, @Nonnull org.joml.Vector3d point)
      Determines if the condition is met at the specified point in the given world.
      Parameters:
      world - The world to test the condition in.
      point - The point to test the condition at.
      Returns:
      true if the condition is met, false otherwise.