blueshirt Posted May 24, 2015 Share Posted May 24, 2015 is this possible? thanks Quote Link to comment Share on other sites More sharing options...
Twin Posted May 24, 2015 Share Posted May 24, 2015 is this possible? thanks Make a filter that goes through every nearby player checking to see if they're standing on the tile. 1 Quote Link to comment Share on other sites More sharing options...
Flamezzz Posted May 24, 2015 Share Posted May 24, 2015 players.get(x,y).size() > 0 Quote Link to comment Share on other sites More sharing options...
FrostBug Posted May 24, 2015 Share Posted May 24, 2015 (edited) Position pos = new Position(x, y, z); boolean playerOnPosition = !getPlayers().filter(new PositionFilter<>(pos)).isEmpty(); Just wrote it out in here, so the syntax might be slightly off. But the concept should work. EDIT: nevermind; what Flamez said is a better approach Edited May 24, 2015 by FrostBug Quote Link to comment Share on other sites More sharing options...