33343536373839404142434445
this.target = target; } private void eat() { FoodControl fc = target.getControl(FoodControl.class); FoodEntity fe = (FoodEntity)target.getUserData("entity"); if (fc != null && fe != null) { creature.stop(); creature.eat(fc); fe.remove(); done = true; } }