20 enum class StalkAndPounceState : uchar {
31 ::ll::TypedStorage<4, 4, float> mStalkSpeed;
32 ::ll::TypedStorage<4, 4, float> mStalkingMaxDistanceSqr;
33 ::ll::TypedStorage<4, 4, float> mLeapHeight;
34 ::ll::TypedStorage<4, 4, float> mLeapDistance;
35 ::ll::TypedStorage<4, 4, float> mMaxPounceDistanceSqr;
36 ::ll::TypedStorage<4, 4, float> mStrikeDistanceSqr;
37 ::ll::TypedStorage<4, 4, int> mInterestedTicks;
38 ::ll::TypedStorage<4, 4, int> mStuckTicks;
39 ::ll::TypedStorage<8, 8, ::Tick> mEndTimestamp;
40 ::ll::TypedStorage<8, 64, ::ActorFilterGroup> mStuckBlockList;
41 ::ll::TypedStorage<1, 1, ::StalkAndPounceOnTargetGoal::StalkAndPounceState> mState;
42 ::ll::TypedStorage<8, 8, ::Mob&> mMob;
43 ::ll::TypedStorage<1, 1, bool> mSetPersistent;
56 virtual bool canUse() ;
59 virtual bool canContinueToUse() ;
62 virtual void start() ;
71 virtual bool canBeInterrupted() ;
74 virtual void appendDebugInfo(::std::string& str)
const ;
83 MCAPI
void _attemptToStrike(
::Vec3 const& mobPos,
::Vec3 const& targetPos);
85 MCAPI
bool _isPouncePathClear(
::Vec3 const& mobPos,
::Vec3 const& targetPos)
const;
87 MCAPI
bool _isStuckBlock(
::BlockPos blockPos)
const;
89 MCAPI
void _pounce(
::Vec3 const& mobPos,
::Vec3 const& targetPos)
const;
91 MCAPI
void _preparePounce(
::Vec3 const& mobPos,
::Vec3 const& targetPos);
101 MCAPI
bool $canContinueToUse();
109 MCAPI
bool $canBeInterrupted();
111 MCAPI
void $appendDebugInfo(::std::string& str)
const;