15class RandomHoverGoal :
public ::Goal {
19 ::ll::TypedStorage<8, 8, ::Mob&> mMob;
20 ::ll::TypedStorage<4, 4, float const> mSpeedModifier;
21 ::ll::TypedStorage<4, 4, int const> mInterval;
22 ::ll::TypedStorage<4, 4, float const> mXZDist;
23 ::ll::TypedStorage<4, 4, float const> mYDist;
24 ::ll::TypedStorage<4, 4, float> mYOffset;
25 ::ll::TypedStorage<4, 8, ::IntRange> mHoverHeight;
26 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::Path>> mPath;
31 RandomHoverGoal& operator=(RandomHoverGoal
const&);
32 RandomHoverGoal(RandomHoverGoal
const&);
38 virtual bool canUse() ;
40 virtual void start() ;
44 virtual bool canContinueToUse() ;
46 virtual void appendDebugInfo(::std::string& str)
const ;
48 virtual ~RandomHoverGoal() =
default;
54 MCAPI
bool _computeNewTarget();
56 MCAPI ::std::unique_ptr<::Path> _findNewTarget()
const;
58 MCAPI
bool _mobMeetsPreconditions()
const;
60 MCAPI
void _moveToTarget();
72 MCAPI
bool $canContinueToUse();
74 MCAPI
void $appendDebugInfo(::std::string& str)
const;