Solved PathfinderMeleeAttack changed in 1.10?

Discussion in 'Spigot Plugin Development' started by Airbornz, Aug 5, 2016.

  1. Hello,

    I haven't been tinkering with Pathfinders in 1.9/1.10, and recently went to use the PathfinderGoalMeleeAttack and noticed the Entity.class param isn't there anymore? How am I supposed to set which entities to target with the new method, or is there a new Pathfinder I should be using?
  2. Use PathfinderGoalNearestAttackableTarget

    I believe that has an entity param for specifying what entity to target
  3. That believes to be what I am looking for, thanks!