December 17, 20169 yr Author 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
December 17, 20169 yr Yep thanks all. Was using Eclipse Kepler and it didn't auto-detect Java 8 on my machine.
June 9, 20187 yr 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, 20187 yr by Wolk
July 10, 20187 yr Author 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, 20187 yr by Explv
July 10, 20187 yr 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
Create an account or sign in to comment