API Reference
On this page
Classes | |
| struct | WeightedJumpToBlockPos |
Public Types | |
| enum class | JumpState : uchar { LookingForBlock = 0 , FaceJump = 1 , Jump = 2 , Airborne = 3 , Done = 4 } |
Public Member Functions | |
| JumpToBlockGoal & | operator= (JumpToBlockGoal const &) |
| JumpToBlockGoal (JumpToBlockGoal const &) | |
| virtual bool | canUse () |
| virtual bool | canContinueToUse () |
| virtual void | start () |
| virtual void | stop () |
| virtual void | tick () |
| virtual bool | canBeInterrupted () |
| virtual void | appendDebugInfo (::std::string &str) const |
| MCAPI | JumpToBlockGoal (::Mob &mob, ::std::string name, ::GoalId const &goalId) |
| MCAPI void | _clearGoalState () |
| MCAPI bool | _findCandidateBlocks (::NavigationComponent &navigation) |
| MCAPI bool | _findJumpableBlocks (bool useOnlyPreferredBlocksIfAny) |
| MCAPI bool | _findTargetBlock () |
| MCAPI bool | _turnToTarget (::MoveControlComponent const &moveControl) const |
| MCAPI void * | $ctor (::Mob &mob, ::std::string name, ::GoalId const &goalId) |
| MCAPI bool | $canUse () |
| MCAPI bool | $canContinueToUse () |
| MCAPI void | $start () |
| MCAPI void | $stop () |
| MCAPI void | $tick () |
| MCAPI bool | $canBeInterrupted () |
| MCAPI void | $appendDebugInfo (::std::string &str) const |
| virtual bool | isTargetGoal () const |
| virtual void | onPlayerDimensionChanged (::Player *player, ::DimensionType fromDimension, ::DimensionType toDimension) |
| virtual::GoalId | getGoalId () const |
| MCAPI void | $dtor () |
| MCAPI bool | $isTargetGoal () const |
| MCAPI void | $onPlayerDimensionChanged (::Player *player, ::DimensionType fromDimension, ::DimensionType toDimension) |
| MCAPI::GoalId | $getGoalId () const |
Static Public Member Functions | |
| static MCAPI void ** | $vftable () |
Public Attributes | |
| ::ll::TypedStorage< 8, 8, ::Mob & > | mMob |
| ::ll::TypedStorage< 1, 1, bool > | mDiscardFrictionDefault |
| ::ll::TypedStorage< 8, 8, ::Tick > | mCooldownTimeout |
| ::ll::TypedStorage< 8, 8, ::Tick > | mNextCandidateCheck |
| ::ll::TypedStorage< 4, 4, int > | mCandidateAttemptCounter |
| ::ll::TypedStorage< 1, 1, ::JumpToBlockGoal::JumpState > | mState |
| ::ll::TypedStorage< 8, 24, ::std::vector<::Vec3 > > | mJumpCurve |
| ::ll::TypedStorage< 4, 12, ::BlockPos > | mTargetBlockPos |
| ::ll::TypedStorage< 8, 24, ::std::vector<::BlockPos > > | mCandidateBlocksPositions |
| ::ll::TypedStorage< 4, 12, ::BlockPos > | mStartingPos |
| ::ll::TypedStorage< 8, 24, ::std::vector<::JumpToBlockGoal::WeightedJumpToBlockPos > > | mJumpableBlocksPositions |
| ::ll::TypedStorage< 4, 12, ::Vec3 > | mVelocityVector |
| ::ll::TypedStorage< 8, 8, ::Tick > | mFaceJumpTimer |
| ::ll::TypedStorage< 4, 24, ::AABB const > | mOriginalAabb |
| ::ll::TypedStorage< 4, 4, int > | mSearchWidth |
| ::ll::TypedStorage< 4, 4, int > | mSearchHeight |
| ::ll::TypedStorage< 4, 4, int > | mMinPathLength |
| ::ll::TypedStorage< 4, 4, int > | mMinDistance |
| ::ll::TypedStorage< 4, 8, ::SharedTypes::FloatRange > | mCooldownTime |
| ::ll::TypedStorage< 4, 4, float > | mScaleFactor |
| ::ll::TypedStorage< 4, 4, float > | mMaxVelocity |
| ::ll::TypedStorage< 8, 24, ::std::vector<::ItemDescriptor > > | mPreferredBlocks |
| ::ll::TypedStorage< 4, 4, float > | mPreferredBlocksChance |
| ::ll::TypedStorage< 8, 24, ::std::vector<::ItemDescriptor > > | mForbiddenBlocks |
| ::ll::TypedStorage< 8, 32, ::std::string > | mName |
| ::ll::TypedStorage< 4, 4, int > | mRequiredControlFlags |
| ::ll::TypedStorage< 2, 2, ushort > | mTypeId |
|
virtual |
Implements BaseGoal.
|
virtual |
Reimplemented from BaseGoal.
|
virtual |
Reimplemented from BaseGoal.
|
virtual |
Reimplemented from BaseGoal.
|
virtual |
Reimplemented from BaseGoal.
|
virtual |
Reimplemented from BaseGoal.
|
virtual |
Implements BaseGoal.
| MCAPI void JumpToBlockGoal::_clearGoalState | ( | ) |
| MCAPI bool JumpToBlockGoal::_findCandidateBlocks | ( | ::NavigationComponent & | navigation | ) |
| MCAPI bool JumpToBlockGoal::_findJumpableBlocks | ( | bool | useOnlyPreferredBlocksIfAny | ) |
| MCAPI bool JumpToBlockGoal::_findTargetBlock | ( | ) |
| MCAPI bool JumpToBlockGoal::_turnToTarget | ( | ::MoveControlComponent const & | moveControl | ) | const |
| MCAPI bool JumpToBlockGoal::$canUse | ( | ) |
| MCAPI bool JumpToBlockGoal::$canContinueToUse | ( | ) |
| MCAPI void JumpToBlockGoal::$start | ( | ) |
| MCAPI void JumpToBlockGoal::$stop | ( | ) |
| MCAPI void JumpToBlockGoal::$tick | ( | ) |
| MCAPI bool JumpToBlockGoal::$canBeInterrupted | ( | ) |
| MCAPI void JumpToBlockGoal::$appendDebugInfo | ( | ::std::string & | str | ) | const |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
staticinherited |