May 9, 20232 yr How could the closet object be filtered to only return a object at a specific z plane, for example 0
May 9, 20232 yr 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
Create an account or sign in to comment