LeviLamina
Loading...
Searching...
No Matches
BaseMoveToGoal Class Referenceabstract
+ Inheritance diagram for BaseMoveToGoal:

Public Member Functions

BaseMoveToGoaloperator= (BaseMoveToGoal const &)
 
 BaseMoveToGoal (BaseMoveToGoal const &)
 
virtual bool canUse ()
 
virtual bool canContinueToUse ()
 
virtual void start ()
 
virtual void stop ()
 
virtual void tick ()
 
virtual bool hasReachedTarget () const
 
virtual bool isValidTarget (::BlockSource &, ::BlockPos const &)=0
 
virtual int _nextStartTick ()
 
virtual bool _canReach (::BlockPos const &pos)
 
virtual void _moveToBlock ()=0
 
virtual::Vec3 _getTargetPosition () const
 
virtual uint64 _getRepathTime () const
 
MCAPI void _checkIfStuck ()
 
MCAPI bool $canUse ()
 
MCAPI bool $canContinueToUse ()
 
MCAPI void $start ()
 
MCAPI void $stop ()
 
MCAPI void $tick ()
 
MCAPI bool $hasReachedTarget () const
 
MCAPI int $_nextStartTick ()
 
MCAPI bool $_canReach (::BlockPos const &pos)
 
MCAPI::Vec3 $_getTargetPosition () const
 
MCAPI uint64 $_getRepathTime () const
 
virtual bool canBeInterrupted ()
 
virtual void appendDebugInfo (::std::string &) const =0
 
virtual bool isTargetGoal () const
 
virtual void onPlayerDimensionChanged (::Player *player, ::DimensionType fromDimension, ::DimensionType toDimension)
 
MCAPI void $dtor ()
 
MCAPI bool $canBeInterrupted ()
 
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< 4, 4, int > mTravelTicks
 
::ll::TypedStorage< 4, 4, int > mNextStartTick
 
::ll::TypedStorage< 4, 4, int > mGiveUpTicks
 
::ll::TypedStorage< 4, 4, int > mStayTicks
 
::ll::TypedStorage< 4, 4, int > mMaxStayTicks
 
::ll::TypedStorage< 1, 1, bool > mReachedTarget
 
::ll::TypedStorage< 4, 4, float > mSpeedMod
 
::ll::TypedStorage< 4, 4, float > mGoalRadiusSq
 
::ll::TypedStorage< 8, 8, uint64 > mCooldownCounter
 
::ll::TypedStorage< 8, 8, uint64 > mCooldownTimeoutTime
 
::ll::TypedStorage< 4, 12, ::BlockPosmStartPos
 
::ll::TypedStorage< 4, 12, ::Vec3mBlockPos
 
::ll::TypedStorage< 4, 12, ::Vec3mTargetPositionOffset
 
::ll::TypedStorage< 4, 4, float > mChanceToStart
 
::ll::TypedStorage< 8, 8, ::Mob & > mMob
 
::ll::TypedStorage< 4, 4, int > mInterval
 
::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 BaseMoveToGoal::canUse ( )
virtual

Implements Goal.

◆ canContinueToUse()

virtual bool BaseMoveToGoal::canContinueToUse ( )
virtual

Reimplemented from Goal.

◆ start()

virtual void BaseMoveToGoal::start ( )
virtual

Reimplemented from Goal.

◆ stop()

virtual void BaseMoveToGoal::stop ( )
virtual

Reimplemented from Goal.

◆ tick()

virtual void BaseMoveToGoal::tick ( )
virtual

Reimplemented from Goal.

◆ _checkIfStuck()

MCAPI void BaseMoveToGoal::_checkIfStuck ( )
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 BaseMoveToGoal::$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 BaseMoveToGoal::$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 BaseMoveToGoal::$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 BaseMoveToGoal::$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 BaseMoveToGoal::$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.

◆ $hasReachedTarget()

MCAPI bool BaseMoveToGoal::$hasReachedTarget ( ) 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.

◆ $_nextStartTick()

MCAPI int BaseMoveToGoal::$_nextStartTick ( )
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.

◆ $_canReach()

MCAPI bool BaseMoveToGoal::$_canReach ( ::BlockPos const & pos)
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.

◆ $_getTargetPosition()

MCAPI::Vec3 BaseMoveToGoal::$_getTargetPosition ( ) 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.

◆ $_getRepathTime()

MCAPI uint64 BaseMoveToGoal::$_getRepathTime ( ) 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 ** BaseMoveToGoal::$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.

◆ $canBeInterrupted()

MCAPI bool Goal::$canBeInterrupted ( )
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: