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

Public Member Functions

AvoidMobTypeGoaloperator= (AvoidMobTypeGoal const &)
 AvoidMobTypeGoal (AvoidMobTypeGoal const &)
virtual bool canUse ()
virtual bool canContinueToUse ()
virtual void start ()
virtual void stop ()
virtual void tick ()
virtual void appendDebugInfo (::std::string &str) const
MCAPI bool canFindAvoidPath (::Actor *actor)
MCAPI bool canFindAvoidPos (::Actor &entity)
MCAPI::Actor * findNearestEntityToAvoid (float dist)
MCAPI void $dtor ()
MCAPI bool $canUse ()
MCAPI bool $canContinueToUse ()
MCAPI void $start ()
MCAPI void $stop ()
MCAPI void $tick ()
MCAPI void $appendDebugInfo (::std::string &str) const
virtual bool canBeInterrupted ()
virtual bool isTargetGoal () const
virtual void onPlayerDimensionChanged (::Player *player, ::DimensionType fromDimension, ::DimensionType toDimension)
MCFOLD bool $canBeInterrupted ()
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< 1, 1, bool > mIgnoreVisibility
::ll::TypedStorage< 8, 32, ::std::string > mAvoidIdentifier
::ll::TypedStorage< 4, 4, int > mAvoidTargetPositionXZDistance
::ll::TypedStorage< 4, 4, int > mAvoidTargetPositionYDistance
::ll::TypedStorage< 4, 4, float > mMaximumDistance
::ll::TypedStorage< 4, 4, float > mMaximumFlee
::ll::TypedStorage< 4, 4, float > mProbabilityPerStrength
::ll::TypedStorage< 4, 4, float > mRiverSpeedModifier
::ll::TypedStorage< 4, 4, float > mSprintDistanceSquared
::ll::TypedStorage< 4, 4, float > mSprintSpeedModifier
::ll::TypedStorage< 4, 4, float > mWalkSpeedModifier
::ll::TypedStorage< 1, 1, bool > mRemoveTarget
::ll::TypedStorage< 8, 104, ::ActorDefinitionTriggermOnEscapeTrigger
::ll::TypedStorage< 4, 4, ::SharedTypes::Legacy::LevelSoundEvent > mSoundEvent
::ll::TypedStorage< 4, 8, ::SharedTypes::FloatRangemSoundIntervalRange
::ll::TypedStorage< 8, 24, ::WeakEntityRefmToAvoid
::ll::TypedStorage< 4, 12, ::Vec3mPosition
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::Path > > mPath
::ll::TypedStorage< 8, 8, ::TickmNextSoundEventTick
::ll::TypedStorage< 8, 24, ::std::vector<::MobDescriptor > > mAvoidMobs
::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 AvoidMobTypeGoal::canUse ( )
virtual

Implements Goal.

◆ canContinueToUse()

virtual bool AvoidMobTypeGoal::canContinueToUse ( )
virtual

Reimplemented from Goal.

◆ start()

virtual void AvoidMobTypeGoal::start ( )
virtual

Reimplemented from Goal.

◆ stop()

virtual void AvoidMobTypeGoal::stop ( )
virtual

Reimplemented from Goal.

◆ tick()

virtual void AvoidMobTypeGoal::tick ( )
virtual

Reimplemented from Goal.

◆ appendDebugInfo()

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

Implements Goal.

◆ $vftable()

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