Skip to content
LeviLamina

API Reference

On this page

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

Public Member Functions

PickupItemsGoal & operator= (PickupItemsGoal const &)
 PickupItemsGoal (PickupItemsGoal const &)
virtual bool canUse ()
virtual bool canContinueToUse ()
virtual void start ()
virtual void stop ()
virtual void tick ()
virtual void appendDebugInfo (::std::string &str) const
MCAPI PickupItemsGoal (::Mob &mob, ::std::string name, ::GoalId const &goalId)
MCAPI void _dropItem (::ItemStack const &item) const
MCAPI ::std::vector<::WeakEntityRef > _filterValidTargets (::std::vector<::DistanceSortedActor > const &entities) const
MCAPI::SharedTypes::v1_26_60::ShareableComponentDefinition::ShareableData const * _getShareableItem (::ItemStack const &item) const
MCAPI bool _hasRoomForCarriedItem () const
MCAPI void * $ctor (::Mob &mob, ::std::string name, ::GoalId const &goalId)
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)
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< 8, 104, ::ActorDefinitionTrigger > mOnStartEvent
::ll::TypedStorage< 8, 104, ::ActorDefinitionTrigger > mOnEndEvent
::ll::TypedStorage< 8, 40, ::TempEPtr<::Actor > > mTarget
::ll::TypedStorage< 8, 24, ::std::vector<::ItemDescriptor > > mExcludedItemsList
::ll::TypedStorage< 8, 24, ::std::vector<::WeakEntityRef > > mFilteredPickupTargets
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::Path > > mPath
::ll::TypedStorage< 8, 8, ::Mob & > mMob
::ll::TypedStorage< 4, 12, ::Vec3 > mTargetPos
::ll::TypedStorage< 4, 4, int > mSearchRange
::ll::TypedStorage< 4, 4, int > mSearchHeight
::ll::TypedStorage< 4, 4, int > mRandomStopInterval
::ll::TypedStorage< 4, 4, int > mTimeToRecalcPath
::ll::TypedStorage< 4, 4, int > mTimeoutAfterBeingAttacked
::ll::TypedStorage< 4, 4, float > mSpeedModifier
::ll::TypedStorage< 4, 4, float > mGoalRadiusSq
::ll::TypedStorage< 1, 1, bool > mPickupBasedOnChance
::ll::TypedStorage< 1, 1, bool > mTrackTarget
::ll::TypedStorage< 1, 1, bool > mCanPickupAnyItem
::ll::TypedStorage< 1, 1, bool > mCanPickupToHandOrEquipment
::ll::TypedStorage< 1, 1, bool > mPickupSameItemsAsInHand
::ll::TypedStorage< 1, 1, bool > mStopIfHoldingItem
::ll::TypedStorage< 8, 32, ::std::string > mName
::ll::TypedStorage< 4, 4, int > mRequiredControlFlags
::ll::TypedStorage< 2, 2, ushort > mTypeId

Constructor & Destructor Documentation

◆ PickupItemsGoal()

MCAPI PickupItemsGoal::PickupItemsGoal ( ::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 PickupItemsGoal::canUse ( )
virtual

Implements BaseGoal.

◆ canContinueToUse()

virtual bool PickupItemsGoal::canContinueToUse ( )
virtual

Reimplemented from BaseGoal.

◆ start()

virtual void PickupItemsGoal::start ( )
virtual

Reimplemented from BaseGoal.

◆ stop()

virtual void PickupItemsGoal::stop ( )
virtual

Reimplemented from BaseGoal.

◆ tick()

virtual void PickupItemsGoal::tick ( )
virtual

Reimplemented from BaseGoal.

◆ appendDebugInfo()

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

Implements BaseGoal.

◆ _dropItem()

MCAPI void PickupItemsGoal::_dropItem ( ::ItemStack const & item) 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.

◆ _filterValidTargets()

MCAPI ::std::vector<::WeakEntityRef > PickupItemsGoal::_filterValidTargets ( ::std::vector<::DistanceSortedActor > const & entities) 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.

◆ _getShareableItem()

MCAPI::SharedTypes::v1_26_60::ShareableComponentDefinition::ShareableData const * PickupItemsGoal::_getShareableItem ( ::ItemStack const & item) 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.

◆ _hasRoomForCarriedItem()

MCAPI bool PickupItemsGoal::_hasRoomForCarriedItem ( ) 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.

◆ $ctor()

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

◆ $dtor()

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

◆ $start()

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

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