Class HintArrowQueryResults

    • Constructor Detail

      • HintArrowQueryResults

        public HintArrowQueryResults​(java.util.Collection<? extends HintArrow> results)
      • HintArrowQueryResults

        public HintArrowQueryResults​(java.util.Collection<? extends HintArrow> results,
                                     java.util.concurrent.ConcurrentMap<java.lang.String,​java.lang.Object> cache)
    • Method Detail

      • sortByDistance

        public final HintArrowQueryResults sortByDistance()
        Calls sort(Comparator) with a Comparator that will sort the list by distance from the local player (nearest first)
      • sortByDistanceFrom

        public final HintArrowQueryResults sortByDistanceFrom​(Locatable center)
        Calls sort(Comparator) with a Comparator that will sort the list by distance from the local player (nearest first)
      • nearest

        @Nullable
        public final @Nullable HintArrow nearest()
        Gets the nearest entity to the local player. If two or more entities are tied for the place of nearest then one will be selected according to the active player sense profile.
      • nearestTo

        @Nullable
        public final @Nullable HintArrow nearestTo​(Locatable locatable)
        Gets the nearest entity to the given locatable. If two or more entities are tied for the place of nearest then one will be selected according to the active player sense profile.
      • furthest

        @Nullable
        public final @Nullable HintArrow furthest()
        Gets the furthest entity to the local player. If two or more entities are tied for the place of furthest then one will be selected according to the active player sense profile.
      • furthestFrom

        @Nullable
        public final @Nullable HintArrow furthestFrom​(Locatable locatable)
        Gets the furthest entity to the given locatable. If two or more entities are tied for the place of furthest then one will be selected according to the active player sense profile.