69 MCAPI
static void buildSchema(
70 ::std::string
const& name,
85 MCAPI
static void** $vftable();
89 enum class State :
int {
113 ::ll::TypedStorage<8, 64, ::ActorFilterGroup> mFilters;
114 ::ll::TypedStorage<4, 4, int> mCooldownTicks;
115 ::ll::TypedStorage<4, 4, int> mCooldownWhenHurtTicks;
116 ::ll::TypedStorage<4, 4, int> mLastHurtDurationTicks;
117 ::ll::TypedStorage<4, 4, float> mMaxJumpVelocity;
118 ::ll::TypedStorage<1, 1, bool> mCheckCollision;
119 ::ll::TypedStorage<4, 4, float> mBoundingBoxScaleFactor;
120 ::ll::TypedStorage<4, 4, int> mLineOfSightCheckHeight;
121 ::ll::TypedStorage<4, 8, ::FloatRange> mDistanceToTargetSqrRange;
122 ::ll::TypedStorage<4, 4, int> mLandingPositionSpreadDegrees;
123 ::ll::TypedStorage<4, 8, ::FloatRange> mDistanceFromTargetLandingPosition;
124 ::ll::TypedStorage<4, 4, int> mRequiredAirBlocksAbove;
125 ::ll::TypedStorage<4, 4, int> mSnapToSurfaceBlockRange;
126 ::ll::TypedStorage<8, 24, ::std::vector<float>> mAllowedJumpAngles;
127 ::ll::TypedStorage<4, 4, int> mJumpFromWaterTimeoutTicks;
128 ::ll::TypedStorage<8, 8, ::Mob&> mMob;
129 ::ll::TypedStorage<1, 1, bool> mDiscardFrictionDefault;
130 ::ll::TypedStorage<8, 8, ::Tick> mJumpedFromWaterEndTick;
131 ::ll::TypedStorage<4, 24, ::AABB const> mOriginalAabb;
132 ::ll::TypedStorage<4, 4, ::JumpAroundTargetGoal::State> mState;
133 ::ll::TypedStorage<4, 12, ::BlockPos> mStartingPos;
134 ::ll::TypedStorage<8, 8, ::Tick> mGoalStartTick;
135 ::ll::TypedStorage<8, 8, ::Tick> mCooldownEndTick;
136 ::ll::TypedStorage<4, 28, ::std::optional<::JumpAroundTargetGoal::Jump>> mJumpData;
137 ::ll::TypedStorage<8, 8, uint64> mPrepareJumpDurationTicks;
144 virtual bool canUse() ;
147 virtual bool canContinueToUse() ;
150 virtual void start() ;
153 virtual void stop() ;
156 virtual void tick() ;
159 virtual bool canBeInterrupted() ;
162 virtual void appendDebugInfo(::std::string& str)
const ;
173 MCAPI ::std::optional<::JumpAroundTargetGoal::Jump> _calculateOptimalJumpVector(
::Vec3 const& targetPosition)
const;
175 MCAPI
bool _canJumpFromCurrentPosition()
const;
177 MCAPI
void _jump()
const;
179 MCAPI
void _postJumpCleanup()
const;
181 MCAPI ::std::optional<::BlockPos> _snapToSurface(
::Vec3 const& targetPosition)
const;
187 MCAPI
void* $ctor(
::Mob& mob);
199 MCAPI
bool $canUse();
201 MCAPI
bool $canContinueToUse();
209 MCFOLD
bool $canBeInterrupted();
211 MCAPI
void $appendDebugInfo(::std::string& str)
const;
217 MCAPI
static void** $vftable();