julord 0 Share Posted January 28, 2017 Is there any way to make this script to collect all the items that exist on earth????? GroundItem groundItemsToLoot = getGroundItems().closest("logs","bow", "armour", "coins", "all :)"); if (groundItemsToLoot != null) groundItemsToLoot.interact("Take"); Link to comment Share on other sites More sharing options...
Dreamlicker 750 Share Posted January 28, 2017 GroundItem toLoot = getGroundItems().closest(f -> f != null); This will grab any item =] Link to comment Share on other sites More sharing options...
julord 0 Author Share Posted January 28, 2017 http://ifotos.pl/zobacz/Beztytulu_aeqhqqr.png Unfortunately, this code did not work because Java 1.8 ... Link to comment Share on other sites More sharing options...
julord 0 Author Share Posted January 28, 2017 I have 1.8.0_121 java but code doesn't work WHY???? Link to comment Share on other sites More sharing options...
Zibele 18 Share Posted January 28, 2017 I have 1.8.0_121 java but code doesn't work WHY???? Try reloading your client. Link to comment Share on other sites More sharing options...
Pandemic 2675 Share Posted January 28, 2017 Set your project level in your IDE to 1.8 Link to comment Share on other sites More sharing options...
DefCon 121 Share Posted January 28, 2017 Your profile pic is scary > Link to comment Share on other sites More sharing options...
julord 0 Author Share Posted January 28, 2017 Ok thx Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.