21 ::ll::TypedStorage<8, 8, ::Mob&> mMob;
22 ::ll::TypedStorage<8, 40, ::TempEPtr<::Player>> mPlayer;
23 ::ll::TypedStorage<1, 1, bool> mIsRunning;
24 ::ll::TypedStorage<1, 1, bool> mIsOnlyTargetItemFound;
25 ::ll::TypedStorage<4, 4, float> mInterestDistance;
26 ::ll::TypedStorage<8, 8, uint64> mCurrentIndex;
27 ::ll::TypedStorage<8, 152, ::ItemStack> mCarriedItem;
28 ::ll::TypedStorage<8, 152, ::ItemStack> mPlayerItem;
29 ::ll::TypedStorage<8, 8, ::Tick> mCarriedItemSwitchTimer;
30 ::ll::TypedStorage<8, 8, ::Tick> mRemoveItemTimer;
31 ::ll::TypedStorage<8, 8, ::Tick> mInterestTimer;
32 ::ll::TypedStorage<8, 8, ::Tick> mInterestCooldown;
33 ::ll::TypedStorage<8, 8, ::Tick const> mInterestTimeMax;
34 ::ll::TypedStorage<8, 8, ::Tick const> mInterestTimeMaxHalf;
35 ::ll::TypedStorage<8, 8, ::Tick const> mRemoveTimeMax;
36 ::ll::TypedStorage<8, 8, ::Tick const> mCarriedSwitchMax;
37 ::ll::TypedStorage<8, 8, ::Tick const> mInterestCooldownMax;
50 virtual bool canUse() ;
53 virtual bool canContinueToUse() ;
56 virtual void start() ;
65 virtual void appendDebugInfo(::std::string& str)
const ;
76 float interestDistance,
90 $ctor(
::Mob& mob,
float interestDistance,
float interestTime,
float removeTime,
float carriedTime,
float cooldown);
MCAPI TradeInterestGoal(::Mob &mob, float interestDistance, float interestTime, float removeTime, float carriedTime, float cooldown)
MCAPI void * $ctor(::Mob &mob, float interestDistance, float interestTime, float removeTime, float carriedTime, float cooldown)