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)
 
MCAPI void $dtor ()
 
MCAPI bool $canContinueToUse ()
 
MCAPI bool $canBeInterrupted ()
 
MCAPI void $start ()
 
MCAPI void $stop ()
 
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< 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< 4, 4, int > mRequiredControlFlags
 
::ll::TypedStorage< 8, 32, ::std::string > mName
 
::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.

◆ _canReach()

MCAPI bool FloatWanderGoal::_canReach ( ::Vec3 const & targetPos,
float dist ) 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.

◆ _chooseRandomPosition()

MCAPI::Vec3 FloatWanderGoal::_chooseRandomPosition ( ::Vec3 const & mobPos,
::Random & random )
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.

◆ _getSuitableTargetPosition()

MCAPI::Vec3 const FloatWanderGoal::_getSuitableTargetPosition ( )
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.

◆ _isPosCloseToSurface()

MCAPI bool const FloatWanderGoal::_isPosCloseToSurface ( ::BlockSource & region,
::Vec3 const & targetPos,
int distanceToBlocksY,
int distanceToBlocksXZ ) 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.

◆ $canUse()

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

◆ $tick()

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

◆ $appendDebugInfo()

MCAPI void FloatWanderGoal::$appendDebugInfo ( ::std::string & str) 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 ** 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.

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

◆ $canContinueToUse()

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

◆ $start()

MCAPI void Goal::$start ( )
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.

◆ $stop()

MCAPI void Goal::$stop ( )
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: