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

Public Member Functions

MoveToBlockGoaloperator= (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 MoveToBlockGoal (::Mob &mob, float speedModifier, int searchRange, int searchHeight, int tickInterval, int stayDurationTicks, float goalRadius, ::Vec3 targetPositionOffset, float chanceToStart, ::TargetSelectionMethod targetSelectionMethod, ::std::vector<::ActorDefinitionTrigger > onReachTriggers, ::std::vector<::ActorDefinitionTrigger > onStayCompletedTriggers, ::std::vector<::ItemDescriptor > targetBlocks, ::ActorFilterGroup const &targetBlockFilter)
 
MCAPI void _checkIfStuck ()
 
MCAPI bool _findTargetBlock ()
 
MCAPI bool _isValidTarget (::Block const &candidateBlock) const
 
MCAPI void _moveToBlock ()
 
MCAPI void * $ctor (::Mob &mob, float speedModifier, int searchRange, int searchHeight, int tickInterval, int stayDurationTicks, float goalRadius, ::Vec3 targetPositionOffset, float chanceToStart, ::TargetSelectionMethod targetSelectionMethod, ::std::vector<::ActorDefinitionTrigger > onReachTriggers, ::std::vector<::ActorDefinitionTrigger > onStayCompletedTriggers, ::std::vector<::ItemDescriptor > targetBlocks, ::ActorFilterGroup const &targetBlockFilter)
 
MCAPI void $dtor ()
 
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)
 
MCAPI bool $canBeInterrupted ()
 
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< 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, ::BlockPosmTargetBlockPos
 
::ll::TypedStorage< 4, 12, ::Vec3mTargetPositionOffset
 
::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 const > mMethod
 
::ll::TypedStorage< 8, 24, ::std::vector<::ActorDefinitionTrigger > const > mOnReachTriggers
 
::ll::TypedStorage< 8, 24, ::std::vector<::ActorDefinitionTrigger > const > mOnStayCompletedTriggers
 
::ll::TypedStorage< 8, 24, ::std::vector<::ItemDescriptor > const > 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, ::BlockPosmStartPos
 
::ll::TypedStorage< 8, 8, ::Mob & > mMob
 
::ll::TypedStorage< 1, 1, bool > mHasSentOnReachEvent
 
::ll::TypedStorage< 8, 64, ::ActorFilterGroupmTargetBlockFilter
 
::ll::TypedStorage< 4, 4, int > mRequiredControlFlags
 
::ll::TypedStorage< 8, 32, ::std::string > mName
 
::ll::TypedStorage< 2, 2, ushort > mTypeId
 

Constructor & Destructor Documentation

◆ MoveToBlockGoal()

MCAPI MoveToBlockGoal::MoveToBlockGoal ( ::Mob & mob,
float speedModifier,
int searchRange,
int searchHeight,
int tickInterval,
int stayDurationTicks,
float goalRadius,
::Vec3 targetPositionOffset,
float chanceToStart,
::TargetSelectionMethod targetSelectionMethod,
::std::vector<::ActorDefinitionTrigger > onReachTriggers,
::std::vector<::ActorDefinitionTrigger > onStayCompletedTriggers,
::std::vector<::ItemDescriptor > targetBlocks,
::ActorFilterGroup const & targetBlockFilter )
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 MoveToBlockGoal::canUse ( )
virtual

Implements Goal.

◆ canContinueToUse()

virtual bool MoveToBlockGoal::canContinueToUse ( )
virtual

Reimplemented from Goal.

◆ tick()

virtual void MoveToBlockGoal::tick ( )
virtual

Reimplemented from Goal.

◆ appendDebugInfo()

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

Implements Goal.

◆ start()

virtual void MoveToBlockGoal::start ( )
virtual

Reimplemented from Goal.

◆ stop()

virtual void MoveToBlockGoal::stop ( )
virtual

Reimplemented from Goal.

◆ _checkIfStuck()

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

◆ _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 ( ::Block const & candidateBlock) 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.

◆ $ctor()

MCAPI void * MoveToBlockGoal::$ctor ( ::Mob & mob,
float speedModifier,
int searchRange,
int searchHeight,
int tickInterval,
int stayDurationTicks,
float goalRadius,
::Vec3 targetPositionOffset,
float chanceToStart,
::TargetSelectionMethod targetSelectionMethod,
::std::vector<::ActorDefinitionTrigger > onReachTriggers,
::std::vector<::ActorDefinitionTrigger > onStayCompletedTriggers,
::std::vector<::ItemDescriptor > targetBlocks,
::ActorFilterGroup const & targetBlockFilter )
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 MoveToBlockGoal::$dtor ( )
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.

◆ $vftable()

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

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

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