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

Public Member Functions

FloatWanderGoaloperator= (FloatWanderGoal const &)
 FloatWanderGoal (FloatWanderGoal const &)
virtual bool canUse ()
virtual void tick ()
virtual void appendDebugInfo (::std::string &str) const
MCAPI bool _canReach (::Vec3 const &targetPos, float dist) const
MCAPI::Vec3 _chooseRandomPosition (::Vec3 const &mobPos, ::Random &random)
MCAPI::Vec3 const _getSuitableTargetPosition ()
MCAPI bool const _isPosCloseToSurface (::BlockSource &region, ::Vec3 const &targetPos, int distanceToBlocksY, int distanceToBlocksXZ) const
MCAPI bool $canUse ()
MCAPI void $tick ()
MCAPI void $appendDebugInfo (::std::string &str) const
virtual bool canContinueToUse ()
virtual bool canBeInterrupted ()
virtual void start ()
virtual void stop ()
virtual bool isTargetGoal () const
virtual void onPlayerDimensionChanged (::Player *player, ::DimensionType fromDimension, ::DimensionType toDimension)
MCFOLD void $dtor ()
MCFOLD bool $canContinueToUse ()
MCFOLD bool $canBeInterrupted ()
MCFOLD void $start ()
MCFOLD void $stop ()
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, ::Vec3mTargetPos
::ll::TypedStorage< 4, 4, int > mFloatDuration
::ll::TypedStorage< 4, 4, float > mTargetXZDist
::ll::TypedStorage< 4, 4, float > mTargetYDist
::ll::TypedStorage< 4, 4, float > mSurfaceXZDist
::ll::TypedStorage< 4, 4, float > mSurfaceYDist
::ll::TypedStorage< 4, 4, float > mYOffset
::ll::TypedStorage< 1, 1, bool > mMustReach
::ll::TypedStorage< 1, 1, bool > mRandomReselect
::ll::TypedStorage< 1, 1, bool > mUseHomePositionRestriction
::ll::TypedStorage< 1, 1, bool > mAdditionalCollisionBuffer
::ll::TypedStorage< 1, 1, bool > mAllowNavigatingThroughLiquids
::ll::TypedStorage< 1, 1, bool > mNavigateAroundSurface
::ll::TypedStorage< 4, 8, ::FloatRangemFloatDurationRange
::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 FloatWanderGoal::canUse ( )
virtual

Implements Goal.

◆ tick()

virtual void FloatWanderGoal::tick ( )
virtual

Reimplemented from Goal.

◆ appendDebugInfo()

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

Implements Goal.

◆ $vftable()

MCAPI void ** FloatWanderGoal::$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.

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