Osbot 2 hovering for intractable, is bugged out. it like to interact with them. I don't know why so i decide to write me a quick method for hovering. Could be useful for other.
public boolean isHovering(Entity entity) {
if (entity != null) {
EntityDestination des = new EntityDestination(bot, entity);
return des.getBoundingBox().contains(mouse.getPosition());
}
return false;
}
public boolean hover(Entity entity) {
if (entity != null) {
EntityDestination des = new EntityDestination(bot, entity);
return mouse.move(des);
}
return false;
}