3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/world/actor/ai/goal/MeleeAttackBaseGoal.h"
19 using LineOfSightEvaluator = bool (*)(
::Mob const&,
::Actor const&);
21 using AttackReachEvaluator =
22 bool (*)(
::Mob const&,
::Vec3 const&,
float const,
float const,
float const,
float const,
int const);
30 bool (*)(
::Mob const&,
::Vec3 const&,
float const,
float const,
float const,
float const,
int const)>
32 ::ll::TypedStorage<8, 8, bool (*)(
::Mob const&,
::Actor const&)> mLineOfSightEvaluator;
33 ::ll::TypedStorage<4, 4, float> mReachMultiplier;
50 virtual void appendDebugInfo(::std::string& str)
const ;
66 ::Vec3 const& targetPosition,
70 float targetDistanceSqXZ,
76 ::Vec3 const& targetPosition,
80 float targetDistanceSqXZ,
Definition BaseGameVersion.h:8
Definition MeleeAttackBaseGoal.h:19
Definition MeleeAttackGoal.h:16
MCAPI float _getAttackReachSqr(::Actor const &target) const
static MCAPI void ** $vftable()
MCAPI void * $ctor(::Mob &mob)
MCAPI void $appendDebugInfo(::std::string &str) const
static MCAPI bool _canReachTargetLegacy(::Mob const &mob, ::Vec3 const &targetPosition, float attackReachSq, float targetMinY, float targetMaxY, float targetDistanceSqXZ, int attackTicks)
static MCAPI ::BaseGameVersion const & minHitThroughWallFixVersion()
static MCAPI bool _canReachTarget(::Mob const &mob, ::Vec3 const &targetPosition, float attackReachSq, float targetMinY, float targetMaxY, float targetDistanceSqXZ, int attackTicks)
MCAPI MeleeAttackGoal(::Mob &mob)
static MCAPI ::BaseGameVersion const & min3DAttackVersion()
static MCAPI bool _isTargetInLineOfSight(::Mob const &mob, ::Actor const &target)
static MCAPI bool _isTargetInLineOfSightLegacy(::Mob const &mob, ::Actor const &target)