27 ::ll::TypedStorage<8, 40, ::TempEPtr<::Actor>> mTarget;
28 ::ll::TypedStorage<4, 12, ::Vec3> mTargetPos;
29 ::ll::TypedStorage<8, 8, ::Mob&> mMob;
30 ::ll::TypedStorage<4, 4, int> mSearchRange;
31 ::ll::TypedStorage<4, 4, int> mSearchHeight;
32 ::ll::TypedStorage<4, 4, float> mSpeedModifier;
33 ::ll::TypedStorage<1, 1, bool> mTrackTarget;
34 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::Path>> mPath;
35 ::ll::TypedStorage<4, 4, int> mRandomStopInterval;
36 ::ll::TypedStorage<4, 4, float> mGoalRadiusSq;
37 ::ll::TypedStorage<4, 4, int> mTimeToRecalcPath;
38 ::ll::TypedStorage<1, 1, bool> mPickupBasedOnChance;
39 ::ll::TypedStorage<1, 1, bool> mCanPickupAnyItem;
40 ::ll::TypedStorage<4, 4, int> mTimeoutAfterBeingAttacked;
41 ::ll::TypedStorage<1, 1, bool> mCanPickupToHandOrEquipment;
42 ::ll::TypedStorage<1, 1, bool> mPickupSameItemsAsInHand;
43 ::ll::TypedStorage<8, 24, ::std::vector<::ItemDescriptor>
const> mExcludedItemsList;
44 ::ll::TypedStorage<8, 24, ::std::vector<::WeakEntityRef>> mFilteredPickupTargets;
51 virtual bool canUse() ;
54 virtual bool canContinueToUse() ;
57 virtual void start() ;
66 virtual void appendDebugInfo(::std::string& str)
const ;
75 MCAPI
void _dropItem(
::ItemStack const& item)
const;
77 MCAPI ::std::vector<::WeakEntityRef> _filterValidTargets(::std::vector<::DistanceSortedActor>
const& entities
80 MCAPI ::Shareable
const* _getShareableItem(
::ItemStack const& item)
const;
82 MCAPI
void _handlePickupItem(
::Actor& itemEntity);
84 MCAPI
bool _hasRoomForCarriedItem()
const;
86 MCAPI
bool _isSameItemAsInHand(
::ItemStack const& item)
const;
100 MCAPI
bool $canUse();
102 MCAPI
bool $canContinueToUse();
110 MCAPI
void $appendDebugInfo(::std::string& str)
const;
116 MCAPI
static void** $vftable();