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

Public Member Functions

MoveToRandomBlockGoaloperator= (MoveToRandomBlockGoal const &)
 MoveToRandomBlockGoal (MoveToRandomBlockGoal const &)
virtual bool canUse ()
virtual bool canContinueToUse ()
virtual void appendDebugInfo (::std::string &str) const
virtual void stop ()
virtual void start ()
virtual void tick ()
MCAPI bool _isValidDestinationBlock (::BlockSource &region, ::BlockPos const &pos)
MCAPI bool $canUse ()
MCAPI bool $canContinueToUse ()
MCAPI void $appendDebugInfo (::std::string &str) const
MCAPI void $stop ()
MCAPI void $start ()
MCAPI void $tick ()
virtual bool canBeInterrupted ()
virtual bool isTargetGoal () const
virtual void onPlayerDimensionChanged (::Player *player, ::DimensionType fromDimension, ::DimensionType toDimension)
MCFOLD void $dtor ()
MCFOLD bool $canBeInterrupted ()
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< 4, 12, ::Vec3mDestination
::ll::TypedStorage< 4, 12, ::Vec3mLastPos
::ll::TypedStorage< 4, 4, int > mFailedPathing
::ll::TypedStorage< 4, 4, int > mTotalFailedPathing
::ll::TypedStorage< 4, 4, float > mSpeedModifier
::ll::TypedStorage< 4, 4, float > mRadiusSq
::ll::TypedStorage< 4, 4, float > mBlockDistance
::ll::TypedStorage< 4, 4, int > mCooldownTimer
::ll::TypedStorage< 8, 32, ::std::string > mDebugName
::ll::TypedStorage< 4, 4, int > mRequiredControlFlags
::ll::TypedStorage< 2, 2, ushort > mTypeId

Member Function Documentation

◆ canUse()

virtual bool MoveToRandomBlockGoal::canUse ( )
virtual

Implements Goal.

◆ canContinueToUse()

virtual bool MoveToRandomBlockGoal::canContinueToUse ( )
virtual

Reimplemented from Goal.

◆ appendDebugInfo()

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

Implements Goal.

◆ stop()

virtual void MoveToRandomBlockGoal::stop ( )
virtual

Reimplemented from Goal.

◆ start()

virtual void MoveToRandomBlockGoal::start ( )
virtual

Reimplemented from Goal.

◆ tick()

virtual void MoveToRandomBlockGoal::tick ( )
virtual

Reimplemented from Goal.


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