63 ::std::string
const& name,
82 enum class JumpState : uchar {
109 ::ll::TypedStorage<8, 8, ::Mob&> mMob;
110 ::ll::TypedStorage<1, 1, bool> mDiscardFrictionDefault;
111 ::ll::TypedStorage<8, 8, ::Tick> mCooldownTimeout;
112 ::ll::TypedStorage<8, 8, ::Tick> mNextCandidateCheck;
113 ::ll::TypedStorage<4, 4, int> mCandidateAttemptCounter;
114 ::ll::TypedStorage<1, 1, ::JumpToBlockGoal::JumpState> mState;
115 ::ll::TypedStorage<8, 24, ::std::vector<::Vec3>> mJumpCurve;
116 ::ll::TypedStorage<4, 12, ::BlockPos> mTargetBlockPos;
117 ::ll::TypedStorage<8, 24, ::std::vector<::BlockPos>> mCandidateBlocksPositions;
118 ::ll::TypedStorage<4, 12, ::BlockPos> mStartingPos;
119 ::ll::TypedStorage<8, 24, ::std::vector<::JumpToBlockGoal::WeightedJumpToBlockPos>> mJumpableBlocksPositions;
120 ::ll::TypedStorage<4, 12, ::Vec3> mVelocityVector;
121 ::ll::TypedStorage<8, 8, ::Tick> mFaceJumpTimer;
122 ::ll::TypedStorage<8, 104, ::JumpToBlockGoal::Definition> mDefinition;
123 ::ll::TypedStorage<4, 24, ::AABB const> mOriginalAabb;
136 virtual bool canUse() ;
139 virtual bool canContinueToUse() ;
142 virtual void start() ;
145 virtual void stop() ;
148 virtual void tick() ;
151 virtual bool canBeInterrupted() ;
154 virtual void appendDebugInfo(::std::string& str)
const ;