Hello there, ive been stuck at this line of code im trying to create.
So basically i want to hop P2P worlds but in order 302>303>304>305>306>307>309 etc..
Ive seen this line of code
hopToP2PWorld()
Hops to a random P2P server which is not full or is PvP.
But this is used for random hopping and not what i need
Any1 could help me out
Thank you @dreameo this worked, do u know by any chance everytime closest door is closed automatically open it and repeat procces , without moving
Those 2 things are only thing i cant seem to figure out in my whole script
Im looking for a way to pick up all items that appear beneath u literally ALL in the spot u are standing on, I've found this snippet but now instead of item 1 2 etc it needs to be all and only items on myposition
GroundItem gI = getGroundItems().closest("item1", "item2");