Was just about to say the same thing. Also OP, get rid of that static sleep. Im guessing when you interact with the floating essence, your animation ID != -1, so you can just do.
 Execution.delayUntil(new Callable<Boolean>() {
                    @Override
                    public Boolean...