LeviLamina
Loading...
Searching...
No Matches
JumpToBlockGoal Class Reference
+ Inheritance diagram for JumpToBlockGoal:

Classes

class  Definition
 
struct  WeightedJumpToBlockPos
 

Public Types

enum class  JumpState : uchar {
  LookingForBlock = 0 , FaceJump = 1 , Jump = 2 , Airborne = 3 ,
  Done = 4
}
 

Public Member Functions

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)
 
MCAPI void _clearGoalState ()
 
MCAPI bool _findCandidateBlocks (::NavigationComponent &navigation)
 
MCAPI bool _findJumpableBlocks (bool useOnlyPreferredBlocksIfAny)
 
MCAPI bool _findTargetBlock ()
 
MCAPI void resetCooldown ()
 
MCAPI void * $ctor (::Mob &mob)
 
MCAPI void $dtor ()
 
MCAPI bool $canUse ()
 
MCAPI bool $canContinueToUse ()
 
MCAPI void $start ()
 
MCAPI void $stop ()
 
MCAPI void $tick ()
 
MCFOLD bool $canBeInterrupted ()
 
MCAPI void $appendDebugInfo (::std::string &str) const
 
virtual bool isTargetGoal () const
 
virtual void onPlayerDimensionChanged (::Player *player, ::DimensionType fromDimension, ::DimensionType toDimension)
 
MCFOLD bool $isTargetGoal () const
 
MCFOLD void $onPlayerDimensionChanged (::Player *player, ::DimensionType fromDimension, ::DimensionType toDimension)
 

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, ::TickmCooldownTimeout
 
::ll::TypedStorage< 8, 8, ::TickmNextCandidateCheck
 
::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, ::BlockPosmTargetBlockPos
 
::ll::TypedStorage< 8, 24, ::std::vector<::BlockPos > > mCandidateBlocksPositions
 
::ll::TypedStorage< 4, 12, ::BlockPosmStartingPos
 
::ll::TypedStorage< 8, 24, ::std::vector<::JumpToBlockGoal::WeightedJumpToBlockPos > > mJumpableBlocksPositions
 
::ll::TypedStorage< 4, 12, ::Vec3mVelocityVector
 
::ll::TypedStorage< 8, 8, ::TickmFaceJumpTimer
 
::ll::TypedStorage< 8, 136, ::JumpToBlockGoal::DefinitionmDefinition
 
::ll::TypedStorage< 4, 24, ::AABB const > mOriginalAabb
 
::ll::TypedStorage< 4, 4, int > mRequiredControlFlags
 
::ll::TypedStorage< 8, 32, ::std::string > mName
 
::ll::TypedStorage< 2, 2, ushort > mTypeId
 

Member Function Documentation

◆ canUse()

virtual bool JumpToBlockGoal::canUse ( )
virtual

Implements Goal.

◆ canContinueToUse()

virtual bool JumpToBlockGoal::canContinueToUse ( )
virtual

Reimplemented from Goal.

◆ start()

virtual void JumpToBlockGoal::start ( )
virtual

Reimplemented from Goal.

◆ stop()

virtual void JumpToBlockGoal::stop ( )
virtual

Reimplemented from Goal.

◆ tick()

virtual void JumpToBlockGoal::tick ( )
virtual

Reimplemented from Goal.

◆ canBeInterrupted()

virtual bool JumpToBlockGoal::canBeInterrupted ( )
virtual

Reimplemented from Goal.

◆ appendDebugInfo()

virtual void JumpToBlockGoal::appendDebugInfo ( ::std::string & str) const
virtual

Implements Goal.


The documentation for this class was generated from the following file: