Sheperdebops 0 Share Posted May 11, 2018 ok so i did some googling and rick posted this a while back GameObject Rocks = getGameObjects().closest(gameObject -> gameObject != null && gameObject.getName().equals("Rocks") && gameObject.getModel()[0] == ROCK_COLOR); but i cant understand how to define ROCK_COLOR i cant use Color.Orange for example i know that but im not sure on defining it in RGB. Im using ID's instead but if there is anyone who can help me with this id really appreciate it Link to comment Share on other sites More sharing options...
dQw4w9WgXcQ 184 Share Posted May 11, 2018 https://dreambot.org/javadocs/org/dreambot/api/wrappers/interactive/GameObject.html#getModelColors-- its a short[] Link to comment Share on other sites More sharing options...
Sheperdebops 0 Author Share Posted May 11, 2018 14 minutes ago, dQw4w9WgXcQ said: https://dreambot.org/javadocs/org/dreambot/api/wrappers/interactive/GameObject.html#getModelColors-- its a short[] ahh i see thank you, im using IDs now which seems to be working sort of just now and again it mines a different rock with a different ID Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.