Skip to content
LeviLamina

API Reference

On this page

Loading...
Searching...
No Matches
MoveToBlockGoal Class Reference
Inheritance diagram for MoveToBlockGoal:

Public Member Functions

MoveToBlockGoal & operator= (MoveToBlockGoal const &)
 MoveToBlockGoal (MoveToBlockGoal const &)
virtual bool canUse ()
virtual bool canContinueToUse ()
virtual void tick ()
virtual void appendDebugInfo (::std::string &str) const
virtual void start ()
virtual void stop ()
MCAPI bool _findTargetBlock ()
MCAPI bool _isValidTarget (::BlockSource &region, ::BlockPos &pos) const
MCAPI void _moveToBlock ()
MCAPI bool $canUse ()
MCAPI bool $canContinueToUse ()
MCAPI void $tick ()
MCAPI void $appendDebugInfo (::std::string &str) const
MCAPI void $start ()
MCAPI void $stop ()
virtual bool canBeInterrupted ()
virtual bool isTargetGoal () const
virtual void onPlayerDimensionChanged (::Player *player, ::DimensionType fromDimension, ::DimensionType toDimension)
virtual::GoalId getGoalId () const
MCAPI void $dtor ()
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 > mGiveUpTicks
::ll::TypedStorage< 4, 4, int > mStayDurationTicks
::ll::TypedStorage< 4, 4, float > mSpeedMod
::ll::TypedStorage< 4, 4, float > mGoalRadiusSq
::ll::TypedStorage< 4, 12, ::BlockPos > mTargetBlockPos
::ll::TypedStorage< 4, 12, ::Vec3 > mTargetPositionOffset
::ll::TypedStorage< 4, 4, float > mChanceToStart
::ll::TypedStorage< 4, 4, int > mInterval
::ll::TypedStorage< 4, 4, int > mSearchRange
::ll::TypedStorage< 4, 4, int > mSearchHeight
::ll::TypedStorage< 1, 1, ::TargetSelectionMethod > mMethod
::ll::TypedStorage< 8, 24, ::std::vector<::ActorDefinitionTrigger > > mOnReachTriggers
::ll::TypedStorage< 8, 24, ::std::vector<::ActorDefinitionTrigger > > mOnStayCompletedTriggers
::ll::TypedStorage< 8, 24, ::std::vector<::ItemDescriptor > > mTargetBlockDescriptors
::ll::TypedStorage< 8, 8, uint64 > mCooldownCounter
::ll::TypedStorage< 8, 8, uint64 const > mCooldownTimeoutTime
::ll::TypedStorage< 1, 1, bool > mReachedTarget
::ll::TypedStorage< 4, 4, int > mNextStartTick
::ll::TypedStorage< 4, 4, int > mStayTicks
::ll::TypedStorage< 4, 4, int > mTravelTicks
::ll::TypedStorage< 4, 12, ::BlockPos > mStartPos
::ll::TypedStorage< 8, 8, ::Mob & > mMob
::ll::TypedStorage< 1, 1, bool > mHasSentOnReachEvent
::ll::TypedStorage< 8, 64, ::ActorFilterGroup > mTargetBlockFilter
::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 MoveToBlockGoal::canUse ( )
virtual

Implements BaseGoal.

◆ canContinueToUse()

virtual bool MoveToBlockGoal::canContinueToUse ( )
virtual

Reimplemented from BaseGoal.

◆ tick()

virtual void MoveToBlockGoal::tick ( )
virtual

Reimplemented from BaseGoal.

◆ appendDebugInfo()

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

Implements BaseGoal.

◆ start()

virtual void MoveToBlockGoal::start ( )
virtual

Reimplemented from BaseGoal.

◆ stop()

virtual void MoveToBlockGoal::stop ( )
virtual

Reimplemented from BaseGoal.

◆ _findTargetBlock()

MCAPI bool MoveToBlockGoal::_findTargetBlock ( )
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.

◆ _isValidTarget()

MCAPI bool MoveToBlockGoal::_isValidTarget ( ::BlockSource & region,
::BlockPos & pos ) 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.

◆ _moveToBlock()

MCAPI void MoveToBlockGoal::_moveToBlock ( )
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 MoveToBlockGoal::$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 MoveToBlockGoal::$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.

◆ $tick()

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

◆ $start()

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

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

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

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