21 enum class ForcePathRecalculation :
int {
26 enum class State :
int {
36 ::ll::TypedStorage<4, 36, ::UseKineticWeaponGoalSettings> mSettings;
37 ::ll::TypedStorage<4, 84, ::KineticDamageSettings> mCachedDamageSettings;
38 ::ll::TypedStorage<8, 16, ::std::optional<::Tick>> mCooldownEndTick;
39 ::ll::TypedStorage<4, 16, ::std::optional<::BlockPos>> mRetreatPosition;
40 ::ll::TypedStorage<4, 4, ::UseKineticWeaponGoal::State> mState;
46 virtual void start() ;
50 virtual bool canUse() ;
52 virtual bool canContinueToUse() ;
56 virtual void appendDebugInfo(::std::string& str)
const ;
64 MCAPI
void _cacheDamageSettings();
68 MCAPI
bool _isTargetTooClose(
::Actor const& target)
const;
70 MCAPI
void _startAttacking();
72 MCAPI
void _startCooldown(
::Actor const& target);
76 MCAPI
void _tryMoveToRetreatPosition(::UseKineticWeaponGoal::ForcePathRecalculation forceRecalculation);
88 MCAPI
bool $canContinueToUse();
92 MCAPI
void $appendDebugInfo(::std::string& str)
const;