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

Public Types

enum class  StalkAndPounceState : uchar {
  Stalking = 0 , Interested = 1 , Pouncing = 2 , Stuck = 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 void _attemptToStrike (::Vec3 const &mobPos, ::Vec3 const &targetPos)
 
MCAPI bool _isPouncePathClear (::Vec3 const &mobPos, ::Vec3 const &targetPos) const
 
MCAPI bool _isStuckBlock (::BlockPos blockPos) const
 
MCAPI void _pounce (::Vec3 const &mobPos, ::Vec3 const &targetPos) const
 
MCAPI void _preparePounce (::Vec3 const &mobPos, ::Vec3 const &targetPos)
 
MCAPI void _stuck ()
 
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)
 
MCFOLD void $dtor ()
 
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< 4, 4, float > mStalkSpeed
 
::ll::TypedStorage< 4, 4, float > mStalkingMaxDistanceSqr
 
::ll::TypedStorage< 4, 4, float > mLeapHeight
 
::ll::TypedStorage< 4, 4, float > mLeapDistance
 
::ll::TypedStorage< 4, 4, float > mMaxPounceDistanceSqr
 
::ll::TypedStorage< 4, 4, float > mStrikeDistanceSqr
 
::ll::TypedStorage< 4, 4, int > mInterestedTicks
 
::ll::TypedStorage< 4, 4, int > mStuckTicks
 
::ll::TypedStorage< 8, 8, ::TickmEndTimestamp
 
::ll::TypedStorage< 8, 64, ::ActorFilterGroupmStuckBlockList
 
::ll::TypedStorage< 1, 1, ::StalkAndPounceOnTargetGoal::StalkAndPounceState > mState
 
::ll::TypedStorage< 8, 8, ::Mob & > mMob
 
::ll::TypedStorage< 1, 1, bool > mSetPersistent
 
::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 StalkAndPounceOnTargetGoal::canUse ( )
virtual

Implements Goal.

◆ canContinueToUse()

virtual bool StalkAndPounceOnTargetGoal::canContinueToUse ( )
virtual

Reimplemented from Goal.

◆ start()

virtual void StalkAndPounceOnTargetGoal::start ( )
virtual

Reimplemented from Goal.

◆ stop()

virtual void StalkAndPounceOnTargetGoal::stop ( )
virtual

Reimplemented from Goal.

◆ tick()

virtual void StalkAndPounceOnTargetGoal::tick ( )
virtual

Reimplemented from Goal.

◆ canBeInterrupted()

virtual bool StalkAndPounceOnTargetGoal::canBeInterrupted ( )
virtual

Reimplemented from Goal.

◆ appendDebugInfo()

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

Implements Goal.


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