17class WitherTargetHighestDamage :
public ::TargetGoal {
21 ::ll::TypedStorage<8, 8, ::WitherBoss&> mWitherBoss;
22 ::ll::TypedStorage<8, 8, ::Mob*> mTarget;
27 WitherTargetHighestDamage& operator=(WitherTargetHighestDamage
const&);
28 WitherTargetHighestDamage(WitherTargetHighestDamage
const&);
29 WitherTargetHighestDamage();
34 virtual bool canUse() ;
36 virtual bool canContinueToUse() ;
38 virtual void appendDebugInfo(::std::string& str)
const ;
40 virtual void start() ;
42 virtual bool _canAttack(
45 bool allowInvulnerable,
50 virtual ~WitherTargetHighestDamage() =
default;
56 MCAPI ::Player* getHighestDamageTarget();
64 MCAPI
bool $canContinueToUse();
66 MCAPI
void $appendDebugInfo(::std::string& str)
const;
70 MCAPI
bool $_canAttack(
73 bool allowInvulnerable,