Class NotNearPoint

java.lang.Object
com.hypixel.hytale.builtin.portals.utils.posqueries.predicates.NotNearPoint
All Implemented Interfaces:
PositionPredicate

public final class NotNearPoint extends Object implements PositionPredicate
A position predicate that checks if a point is not within a certain radius of a specified point.
  • Constructor Summary

    Constructors
    Constructor
    Description
    NotNearPoint(org.joml.Vector3d point, double radius)
     
  • Method Summary

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

    Methods inherited from class Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • NotNearPoint

      public NotNearPoint(@Nonnull org.joml.Vector3d point, double radius)
  • Method Details

    • test

      public boolean test(@Nonnull World world, @Nonnull org.joml.Vector3d origin)
      Description copied from interface: PositionPredicate
      Determines if the condition is met at the specified point in the given world.
      Specified by:
      test in interface PositionPredicate
      Parameters:
      world - The world to test the condition in.
      origin - The point to test the condition at.
      Returns:
      true if the condition is met, false otherwise.