Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
SwimWithEntityGoal Class Reference
Inheritance diagram for SwimWithEntityGoal:

Public Types

enum class  EntityGoals : int { CatchUpToEntity = 0 , MatchEntityDirection = 1 }

Public Member Functions

SwimWithEntityGoal & operator= (SwimWithEntityGoal const &)
 SwimWithEntityGoal (SwimWithEntityGoal const &)
virtual bool canUse ()
virtual bool canContinueToUse ()
virtual bool canBeInterrupted ()
virtual void start ()
virtual void stop ()
virtual void tick ()
virtual void appendDebugInfo (::std::string &str) const
MCAPI bool _setWantedMob ()
MCAPI bool $canUse ()
MCAPI bool $canContinueToUse ()
MCAPI bool $canBeInterrupted ()
MCAPI void $start ()
MCAPI void $stop ()
MCAPI void $tick ()
MCAPI void $appendDebugInfo (::std::string &str) const
virtual bool isTargetGoal () const
virtual void onPlayerDimensionChanged (::Player *player, ::DimensionType fromDimension, ::DimensionType toDimension)
virtual::GoalId getGoalId () const
MCAPI void $dtor ()
MCAPI bool $isTargetGoal () const
MCAPI 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< 8, 40, ::TempEPtr<::Actor > > mFollowing
::ll::TypedStorage< 4, 4, int > mIntervalRefreshTicks
::ll::TypedStorage< 4, 4, int > mIntervalTicks
::ll::TypedStorage< 4, 4, float > mChanceToStop
::ll::TypedStorage< 4, 4, float > mSuccessRate
::ll::TypedStorage< 4, 4, float > mCatchUpThreshold
::ll::TypedStorage< 4, 4, float > mMatchDirectionThreshold
::ll::TypedStorage< 4, 4, float > mCatchUpMultiplier
::ll::TypedStorage< 4, 4, float > mSpeedMultiplier
::ll::TypedStorage< 4, 4, float > mSearchRange
::ll::TypedStorage< 4, 4, float > mStopDistance
::ll::TypedStorage< 4, 4, ::SwimWithEntityGoal::EntityGoals > mCurrentGoal
::ll::TypedStorage< 8, 24, ::std::vector<::MobDescriptor > > mTargetTypes
::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 SwimWithEntityGoal::canUse ( )
virtual

Implements BaseGoal.

◆ canContinueToUse()

virtual bool SwimWithEntityGoal::canContinueToUse ( )
virtual

Reimplemented from BaseGoal.

◆ canBeInterrupted()

virtual bool SwimWithEntityGoal::canBeInterrupted ( )
virtual

Reimplemented from BaseGoal.

◆ start()

virtual void SwimWithEntityGoal::start ( )
virtual

Reimplemented from BaseGoal.

◆ stop()

virtual void SwimWithEntityGoal::stop ( )
virtual

Reimplemented from BaseGoal.

◆ tick()

virtual void SwimWithEntityGoal::tick ( )
virtual

Reimplemented from BaseGoal.

◆ appendDebugInfo()

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

Implements BaseGoal.

◆ _setWantedMob()

MCAPI bool SwimWithEntityGoal::_setWantedMob ( )
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 SwimWithEntityGoal::$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.

◆ $canContinueToUse()

MCAPI bool SwimWithEntityGoal::$canContinueToUse ( )
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 SwimWithEntityGoal::$canBeInterrupted ( )
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 SwimWithEntityGoal::$start ( )
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 SwimWithEntityGoal::$stop ( )
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 SwimWithEntityGoal::$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 SwimWithEntityGoal::$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.

◆ $dtor()

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

◆ $isTargetGoal()

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

◆ $getGoalId()

MCAPI::GoalId BaseGoal::$getGoalId ( ) 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.

◆ $vftable()

MCAPI void ** BaseGoal::$vftable ( )
staticinherited
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: