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

Public Member Functions

FloatWanderGoal & operator= (FloatWanderGoal const &)
 FloatWanderGoal (FloatWanderGoal const &)
virtual bool canUse ()
virtual void tick ()
virtual void appendDebugInfo (::std::string &str) const
MCAPI FloatWanderGoal (::Mob &mob, ::std::string name, ::GoalId const &goalId)
MCAPI bool _canReach (::Vec3 const &targetPos, float dist) const
MCAPI::Vec3 _chooseRandomPosition (::Vec3 const &mobPos, ::Random &random)
MCAPI void * $ctor (::Mob &mob, ::std::string name, ::GoalId const &goalId)
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)
virtual::GoalId getGoalId () const
MCAPI 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)
MCAPI::GoalId $getGoalId () const

Static Public Member Functions

static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 8, 8, ::Mob & > mMob
::ll::TypedStorage< 4, 12, ::Vec3 > mTargetPos
::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, ::FloatRange > mFloatDurationRange
::ll::TypedStorage< 8, 32, ::std::string > mName
::ll::TypedStorage< 4, 4, int > mRequiredControlFlags
::ll::TypedStorage< 2, 2, ushort > mTypeId

Member Function Documentation

◆ canUse()

virtual bool FloatWanderGoal::canUse ( )
virtual

Implements BaseGoal.

◆ tick()

virtual void FloatWanderGoal::tick ( )
virtual

Reimplemented from BaseGoal.

◆ appendDebugInfo()

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

Implements BaseGoal.

◆ $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: