This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
For some reason the line this.mc.thePlayer.getHeldItem().getDisplayName() == "Water Bucket" doesn't work, any ideas? for(int i = 0; i < 9; i++) {
if(this.mc.thePlayer.fallDistance > 2 && i <= 9) {
if(mc.thePlayer.getHeldItem().getDisplayName() != "Water Bucket") {
try {
Robot bot = new Robot(); bot.mouseWheel(1);
//System.out.print(mc.thePlayer.getHeldItem().getUnlocalizedName() + " ");
System.out.print(i);
} catch (AWTException e1) {
e1.printStackTrace();
}
if(mc.thePlayer.fallDistance <= 3 && this.mc.thePlayer.getHeldItem().getDisplayName() == "Water Bucket") {
Robot bot = new Robot();
//bot.mousePress(3);
System.out.print("worked ");
For some reason the line this.mc.thePlayer.getHeldItem().getDisplayName() == "Water Bucket" doesn't work, any ideas?
for(int i = 0; i < 9; i++) {
if(this.mc.thePlayer.fallDistance > 2 && i <= 9) {
if(mc.thePlayer.getHeldItem().getDisplayName() != "Water Bucket") {
try {
Robot bot = new Robot(); bot.mouseWheel(1);
//System.out.print(mc.thePlayer.getHeldItem().getUnlocalizedName() + " ");
System.out.print(i);
} catch (AWTException e1) {
e1.printStackTrace();
}
}
}
if(mc.thePlayer.fallDistance <= 3 && this.mc.thePlayer.getHeldItem().getDisplayName() == "Water Bucket") {
try {
Robot bot = new Robot();
//bot.mousePress(3);
System.out.print("worked ");
} catch (AWTException e1) {
e1.printStackTrace();
}
}
}