70 ::std::string
const& name,
89 enum class JumpState : uchar {
116 ::ll::TypedStorage<8, 8, ::Mob&> mMob;
117 ::ll::TypedStorage<1, 1, bool> mDiscardFrictionDefault;
118 ::ll::TypedStorage<8, 8, ::Tick> mCooldownTimeout;
119 ::ll::TypedStorage<8, 8, ::Tick> mNextCandidateCheck;
120 ::ll::TypedStorage<4, 4, int> mCandidateAttemptCounter;
121 ::ll::TypedStorage<1, 1, ::JumpToBlockGoal::JumpState> mState;
122 ::ll::TypedStorage<8, 24, ::std::vector<::Vec3>> mJumpCurve;
123 ::ll::TypedStorage<4, 12, ::BlockPos> mTargetBlockPos;
124 ::ll::TypedStorage<8, 24, ::std::vector<::BlockPos>> mCandidateBlocksPositions;
125 ::ll::TypedStorage<4, 12, ::BlockPos> mStartingPos;
126 ::ll::TypedStorage<8, 24, ::std::vector<::JumpToBlockGoal::WeightedJumpToBlockPos>> mJumpableBlocksPositions;
127 ::ll::TypedStorage<4, 12, ::Vec3> mVelocityVector;
128 ::ll::TypedStorage<8, 8, ::Tick> mFaceJumpTimer;
129 ::ll::TypedStorage<8, 104, ::JumpToBlockGoal::Definition> mDefinition;
130 ::ll::TypedStorage<4, 24, ::AABB const> mOriginalAabb;
143 virtual bool canUse() ;
146 virtual bool canContinueToUse() ;
149 virtual void start() ;
152 virtual void stop() ;
155 virtual void tick() ;
158 virtual bool canBeInterrupted() ;
161 virtual void appendDebugInfo(::std::string& str)
const ;
Definition EntityContext.h:16