Ok so with this script I can see what they are doing, I understand how this is supposed to work. What I do not understand is how do you know what to type when wanting to interact with the client.
public boolean interactItems(String item1, String item2) throws InterruptedException {
if (!this.bank.isOpen() && !this.players.myPlayer().isAnimating() && this.inventory.getItem(new String[]{item1}).interact(new String[0])) {
return this.inventory.getItem(new String[]{item2}).interact(new String[0]);
}
return false;
case 2: {
if (this.amIAnimating() && this.players.myPlayer().isMoving()) break;
this.bank.open();
if (this.sweetcorn && !this.inventory.contains(new int[]{this.rawSweetcorn})) {
this.state = "banking";
if (!this.inventory.isEmpty()) {
this.bank.depositAll();
What im really trying to understand is where do you learn what to interact with. This script was the tuna potatoes script. The code snippets such as this.amIAnimating
or state banking. What is animating do animations have different codes or are they all the same?
Im sure its second nature to you but when starting this is really my only issue.