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

Public Member Functions

virtual bool canUse ()
virtual void start ()
virtual void stop ()
virtual void tick ()
virtual void updateMovement ()
virtual void stopMovement ()
virtual void appendDebugInfo (::std::string &str) const
MCAPI TemptGoal (::Mob &mob, ::std::string name, ::GoalId const &goalId)
MCAPI void * $ctor (::Mob &mob, ::std::string name, ::GoalId const &goalId)
MCAPI bool $canUse ()
MCAPI void $start ()
MCAPI void $stop ()
MCAPI void $tick ()
MCAPI void $updateMovement ()
MCAPI void $stopMovement ()
MCAPI void $appendDebugInfo (::std::string &str) const
virtual bool canContinueToUse ()
MCAPI void $dtor ()
MCAPI bool $canContinueToUse ()
virtual bool canBeInterrupted ()
virtual bool isTargetGoal () const
virtual void onPlayerDimensionChanged (::Player *player, ::DimensionType fromDimension, ::DimensionType toDimension)
virtual::GoalId getGoalId () const
MCAPI bool $canBeInterrupted ()
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< 4, 4, int > mPathfinderWaitTicks
::ll::TypedStorage< 8, 8, ::Mob & > mMob
::ll::TypedStorage< 8, 40, ::TempEPtr<::Player > > mPlayer
::ll::TypedStorage< 4, 4, float > mSpeed
::ll::TypedStorage< 1, 1, bool > mOldAvoidWater
::ll::TypedStorage< 1, 1, bool > mCanTemptVertically
::ll::TypedStorage< 4, 12, ::Vec3 > mMobPlayerDelta
::ll::TypedStorage< 4, 4, ::SharedTypes::Legacy::LevelSoundEvent > mSoundEvent
::ll::TypedStorage< 4, 8, ::FloatRange > mSoundIntervalRange
::ll::TypedStorage< 8, 8, ::Tick > mNextSoundEventTick
::ll::TypedStorage< 8, 104, ::ActorDefinitionTrigger > mOnStartEvent
::ll::TypedStorage< 8, 104, ::ActorDefinitionTrigger > mOnEndEvent
::ll::TypedStorage< 4, 4, int const > COOLDOWN_TICKS
::ll::TypedStorage< 1, 1, bool > mCanGetScared
::ll::TypedStorage< 4, 4, int > mCooldown
::ll::TypedStorage< 1, 1, bool > mCanMove
::ll::TypedStorage< 4, 4, float > mTemptDistance
::ll::TypedStorage< 4, 4, float > mStopDistance
::ll::TypedStorage< 4, 12, ::Vec3 > mOldPlayerPosition
::ll::TypedStorage< 4, 8, ::Vec2 > mOldPlayerRotation
::ll::TypedStorage< 1, 1, bool > mCanTemptWhileRidden
::ll::TypedStorage< 8, 24, ::std::vector<::ItemDescriptor > > mItems
::ll::TypedStorage< 8, 32, ::std::string > mName
::ll::TypedStorage< 4, 4, int > mRequiredControlFlags
::ll::TypedStorage< 2, 2, ushort > mTypeId

Constructor & Destructor Documentation

◆ TemptGoal()

MCAPI TemptGoal::TemptGoal ( ::Mob & mob,
::std::string name,
::GoalId const & goalId )
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.

Member Function Documentation

◆ canUse()

virtual bool TemptGoal::canUse ( )
virtual

Reimplemented from TemptBaseGoal.

◆ start()

virtual void TemptGoal::start ( )
virtual

Reimplemented from TemptBaseGoal.

◆ stop()

virtual void TemptGoal::stop ( )
virtual

Reimplemented from TemptBaseGoal.

◆ tick()

virtual void TemptGoal::tick ( )
virtual

Reimplemented from TemptBaseGoal.

◆ updateMovement()

virtual void TemptGoal::updateMovement ( )
virtual

Implements TemptBaseGoal.

◆ stopMovement()

virtual void TemptGoal::stopMovement ( )
virtual

Implements TemptBaseGoal.

◆ appendDebugInfo()

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

Implements BaseGoal.

◆ $ctor()

MCAPI void * TemptGoal::$ctor ( ::Mob & mob,
::std::string name,
::GoalId const & goalId )
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 TemptGoal::$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.

◆ $start()

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

◆ $updateMovement()

MCAPI void TemptGoal::$updateMovement ( )
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.

◆ $stopMovement()

MCAPI void TemptGoal::$stopMovement ( )
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 TemptGoal::$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()

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

◆ canContinueToUse()

virtual bool TemptBaseGoal::canContinueToUse ( )
virtualinherited

Reimplemented from BaseGoal.

◆ $dtor()

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

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

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