Explv Posted December 17, 2016 Author Share Posted December 17, 2016 This method's throwing up some errors for me. What is obj? Doesn't look like it's defined anywhere. It also doesn't like the syntax you've written with the code you written after the ->. Try setting the language level of your IDE to Java 8 Quote Link to comment Share on other sites More sharing options...
jogna Posted December 17, 2016 Share Posted December 17, 2016 Yep thanks all. Was using Eclipse Kepler and it didn't auto-detect Java 8 on my machine. Quote Link to comment Share on other sites More sharing options...
Wolk Posted June 9, 2018 Share Posted June 9, 2018 (edited) What if I only want to load the closest entities in a specific area? public Area ARDOUGNE = new Area(xxxx, xxxx, xxxx, xxxx); Normally, I would do it like this: Entity rocks = getObjects().closest(ARDOUGNE, "Rocks"); Edited June 9, 2018 by Wolk Quote Link to comment Share on other sites More sharing options...
meganide97 Posted July 10, 2018 Share Posted July 10, 2018 Tyvm! Quote Link to comment Share on other sites More sharing options...
Explv Posted July 10, 2018 Author Share Posted July 10, 2018 (edited) 14 minutes ago, meganide97 said: Tyvm! I just noticed this was missing a couple of colours, updated original post. Also changed the function in the enum from getClosestWithOre() to hasOre(). Edited July 10, 2018 by Explv Quote Link to comment Share on other sites More sharing options...
meganide97 Posted July 10, 2018 Share Posted July 10, 2018 5 hours ago, Explv said: I just noticed this was missing a couple of colours, updated original post. Also changed the function in the enum from getClosestWithOre() to hasOre(). Oh ok, thanks for notifying me, will update this in my script as well Quote Link to comment Share on other sites More sharing options...