Posted March 2, 20214 yr Hey i deleted and readded the HurtByTargetGoal to give it a lower priority and have it later in the List creeperEntity.targetSelector.addGoal(1, new DanceGoal(creeperEntity)); creeperEntity.targetSelector.addGoal(2, new HurtByTargetGoal(creeperEntity)); but HurtByTargetGoal gets still prioritized over my DanceGoal Entire EventHandler Method: https://pastebin.com/ECg4WPC8
March 2, 20214 yr Author Ok solved it. Had to add the execute function call to the tick method (maybe inefficient?) @Override public void tick() { if(shouldExecute()) { startExecuting(); } super.tick(); }
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.