28 enum class State :
int {
38 ::ll::TypedStorage<4, 12, ::Vec3> targetPosition;
39 ::ll::TypedStorage<4, 12, ::Vec3> velocityVector;
46 ::ll::TypedStorage<8, 64, ::ActorFilterGroup> mFilters;
47 ::ll::TypedStorage<4, 4, int> mCooldownTicks;
48 ::ll::TypedStorage<4, 4, int> mCooldownWhenHurtTicks;
49 ::ll::TypedStorage<4, 4, int> mLastHurtDurationTicks;
50 ::ll::TypedStorage<4, 4, float> mMaxJumpVelocity;
51 ::ll::TypedStorage<1, 1, bool> mCheckCollision;
52 ::ll::TypedStorage<4, 4, float> mBoundingBoxScaleFactor;
53 ::ll::TypedStorage<4, 4, int> mLineOfSightCheckHeight;
54 ::ll::TypedStorage<4, 8, ::SharedTypes::FloatRange> mDistanceToTargetSqrRange;
55 ::ll::TypedStorage<4, 4, int> mLandingPositionSpreadDegrees;
56 ::ll::TypedStorage<4, 8, ::SharedTypes::FloatRange> mDistanceFromTargetLandingPosition;
57 ::ll::TypedStorage<4, 4, int> mRequiredAirBlocksAbove;
58 ::ll::TypedStorage<4, 4, int> mSnapToSurfaceBlockRange;
59 ::ll::TypedStorage<8, 24, ::std::vector<float>> mAllowedJumpAngles;
60 ::ll::TypedStorage<4, 4, int> mJumpFromWaterTimeoutTicks;
61 ::ll::TypedStorage<8, 8, ::Mob&> mMob;
62 ::ll::TypedStorage<1, 1, bool> mDiscardFrictionDefault;
63 ::ll::TypedStorage<8, 8, ::Tick> mJumpedFromWaterEndTick;
64 ::ll::TypedStorage<4, 24, ::AABB const> mOriginalAabb;
65 ::ll::TypedStorage<4, 4, ::JumpAroundTargetGoal::State> mState;
66 ::ll::TypedStorage<4, 12, ::BlockPos> mStartingPos;
67 ::ll::TypedStorage<8, 8, ::Tick> mGoalStartTick;
68 ::ll::TypedStorage<8, 8, ::Tick> mCooldownEndTick;
69 ::ll::TypedStorage<4, 28, ::std::optional<::JumpAroundTargetGoal::Jump>> mJumpData;
70 ::ll::TypedStorage<8, 8, uint64> mPrepareJumpDurationTicks;
75 JumpAroundTargetGoal& operator=(JumpAroundTargetGoal
const&);
76 JumpAroundTargetGoal(JumpAroundTargetGoal
const&);
77 JumpAroundTargetGoal();
82 virtual bool canUse() ;
84 virtual bool canContinueToUse() ;
86 virtual void start() ;
92 virtual bool canBeInterrupted() ;
94 virtual void appendDebugInfo(::std::string& str)
const ;
100 MCAPI JumpAroundTargetGoal(
::Mob& mob, ::std::string name,
::GoalId const& goalId);
102 MCAPI ::std::optional<::JumpAroundTargetGoal::Jump> _calculateOptimalJumpVector(
::Vec3 const& targetPosition)
const;
108 MCAPI
void* $ctor(
::Mob& mob, ::std::string name,
::GoalId const& goalId);
114 MCAPI
bool $canUse();
116 MCAPI
bool $canContinueToUse();
124 MCFOLD
bool $canBeInterrupted();
126 MCAPI
void $appendDebugInfo(::std::string& str)
const;