Hello.
I need to click the right mouse button in a loop. I kind of did something like this, but it doesn't work well
while(true) {
player.getHeldItem().useItemRightClick(e.player.worldObj, e.player);
}
Is there any other function I can force right click on my mouse?