pureleaf Posted May 9, 2023 Posted May 9, 2023 How could the closet object be filtered to only return a object at a specific z plane, for example 0
Gunman Posted May 9, 2023 Posted May 9, 2023 33 minutes ago, pureleaf said: How could the closet object be filtered to only return a object at a specific z plane, for example 0 Filter/lambda with closest method closest(Filter<E>... filters) Gets the closest generically specified Entity by using the Pythagoras algorithm. I mean I guess if you wanted you could do it yourself with getAll() and then user the filter method from stream, then sort it by distance then get first other wise null