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

Classes

class  Definition
 
struct  Jump
 

Public Types

enum class  State : int { PrepareJump = 0 , Jumping = 1 , Done = 2 }
 

Public Member Functions

JumpAroundTargetGoaloperator= (JumpAroundTargetGoal const &)
 
 JumpAroundTargetGoal (JumpAroundTargetGoal 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 JumpAroundTargetGoal (::Mob &mob)
 
MCAPI ::std::optional<::JumpAroundTargetGoal::Jump_calculateOptimalJumpVector (::Vec3 const &targetPosition) const
 
MCAPI bool _canJumpFromCurrentPosition () const
 
MCAPI void _jump () const
 
MCAPI void _postJumpCleanup () const
 
MCAPI ::std::optional<::BlockPos_snapToSurface (::Vec3 const &targetPosition) const
 
MCAPI void * $ctor (::Mob &mob)
 
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)
 
MCAPI void $dtor ()
 
MCAPI bool $isTargetGoal () const
 
MCAPI void $onPlayerDimensionChanged (::Player *player, ::DimensionType fromDimension, ::DimensionType toDimension)
 

Static Public Member Functions

static MCAPI void ** $vftable ()
 

Public Attributes

::ll::TypedStorage< 8, 64, ::ActorFilterGroupmFilters
 
::ll::TypedStorage< 4, 4, int > mCooldownTicks
 
::ll::TypedStorage< 4, 4, int > mCooldownWhenHurtTicks
 
::ll::TypedStorage< 4, 4, int > mLastHurtDurationTicks
 
::ll::TypedStorage< 4, 4, float > mMaxJumpVelocity
 
::ll::TypedStorage< 1, 1, bool > mCheckCollision
 
::ll::TypedStorage< 4, 4, float > mBoundingBoxScaleFactor
 
::ll::TypedStorage< 4, 4, int > mLineOfSightCheckHeight
 
::ll::TypedStorage< 4, 8, ::FloatRangemDistanceToTargetSqrRange
 
::ll::TypedStorage< 4, 4, int > mLandingPositionSpreadDegrees
 
::ll::TypedStorage< 4, 8, ::FloatRangemDistanceFromTargetLandingPosition
 
::ll::TypedStorage< 4, 4, int > mRequiredAirBlocksAbove
 
::ll::TypedStorage< 4, 4, int > mSnapToSurfaceBlockRange
 
::ll::TypedStorage< 8, 24, ::std::vector< float > > mAllowedJumpAngles
 
::ll::TypedStorage< 4, 4, int > mJumpFromWaterTimeoutTicks
 
::ll::TypedStorage< 8, 8, ::Mob & > mMob
 
::ll::TypedStorage< 1, 1, bool > mDiscardFrictionDefault
 
::ll::TypedStorage< 8, 8, ::TickmJumpedFromWaterEndTick
 
::ll::TypedStorage< 4, 24, ::AABB const > mOriginalAabb
 
::ll::TypedStorage< 4, 4, ::JumpAroundTargetGoal::State > mState
 
::ll::TypedStorage< 4, 12, ::BlockPosmStartingPos
 
::ll::TypedStorage< 8, 8, ::TickmGoalStartTick
 
::ll::TypedStorage< 8, 8, ::TickmCooldownEndTick
 
::ll::TypedStorage< 4, 28, ::std::optional<::JumpAroundTargetGoal::Jump > > mJumpData
 
::ll::TypedStorage< 8, 8, uint64 > mPrepareJumpDurationTicks
 
::ll::TypedStorage< 4, 4, int > mRequiredControlFlags
 
::ll::TypedStorage< 8, 32, ::std::string > mName
 
::ll::TypedStorage< 2, 2, ushort > mTypeId
 

Constructor & Destructor Documentation

◆ JumpAroundTargetGoal()

MCAPI JumpAroundTargetGoal::JumpAroundTargetGoal ( ::Mob & mob)
explicit
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

Member Function Documentation

◆ canUse()

virtual bool JumpAroundTargetGoal::canUse ( )
virtual

Implements Goal.

◆ canContinueToUse()

virtual bool JumpAroundTargetGoal::canContinueToUse ( )
virtual

Reimplemented from Goal.

◆ start()

virtual void JumpAroundTargetGoal::start ( )
virtual

Reimplemented from Goal.

◆ stop()

virtual void JumpAroundTargetGoal::stop ( )
virtual

Reimplemented from Goal.

◆ tick()

virtual void JumpAroundTargetGoal::tick ( )
virtual

Reimplemented from Goal.

◆ canBeInterrupted()

virtual bool JumpAroundTargetGoal::canBeInterrupted ( )
virtual

Reimplemented from Goal.

◆ appendDebugInfo()

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

Implements Goal.

◆ _calculateOptimalJumpVector()

MCAPI ::std::optional<::JumpAroundTargetGoal::Jump > JumpAroundTargetGoal::_calculateOptimalJumpVector ( ::Vec3 const & targetPosition) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _canJumpFromCurrentPosition()

MCAPI bool JumpAroundTargetGoal::_canJumpFromCurrentPosition ( ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _jump()

MCAPI void JumpAroundTargetGoal::_jump ( ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _postJumpCleanup()

MCAPI void JumpAroundTargetGoal::_postJumpCleanup ( ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _snapToSurface()

MCAPI ::std::optional<::BlockPos > JumpAroundTargetGoal::_snapToSurface ( ::Vec3 const & targetPosition) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $ctor()

MCAPI void * JumpAroundTargetGoal::$ctor ( ::Mob & mob)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $canUse()

MCAPI bool JumpAroundTargetGoal::$canUse ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $canContinueToUse()

MCAPI bool JumpAroundTargetGoal::$canContinueToUse ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $start()

MCAPI void JumpAroundTargetGoal::$start ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $stop()

MCAPI void JumpAroundTargetGoal::$stop ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $tick()

MCAPI void JumpAroundTargetGoal::$tick ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $canBeInterrupted()

MCAPI bool JumpAroundTargetGoal::$canBeInterrupted ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $appendDebugInfo()

MCAPI void JumpAroundTargetGoal::$appendDebugInfo ( ::std::string & str) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $vftable()

static MCAPI void ** JumpAroundTargetGoal::$vftable ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $dtor()

MCAPI void Goal::$dtor ( )
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $isTargetGoal()

MCAPI bool Goal::$isTargetGoal ( ) const
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $onPlayerDimensionChanged()

MCAPI void Goal::$onPlayerDimensionChanged ( ::Player * player,
::DimensionType fromDimension,
::DimensionType toDimension )
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

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