17class TradeInterestGoal :
public ::Goal {
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;
42 TradeInterestGoal& operator=(TradeInterestGoal
const&);
43 TradeInterestGoal(TradeInterestGoal
const&);
49 virtual bool canUse() ;
51 virtual bool canContinueToUse() ;
53 virtual void start() ;
59 virtual void appendDebugInfo(::std::string& str)
const ;
61 virtual ~TradeInterestGoal() ;
67 MCAPI
bool _isLookingAtMe(
::Player const& target)
const;
81 MCAPI
bool $canContinueToUse();
89 MCAPI
void $appendDebugInfo(::std::string& str)
const;