16class ShareItemsGoal :
public ::Goal {
20 ::ll::TypedStorage<8, 8, ::Mob&> mMob;
21 ::ll::TypedStorage<4, 4, int> mThrowCountdown;
22 ::ll::TypedStorage<4, 4, int> mSearchRange;
23 ::ll::TypedStorage<4, 4, float> mSpeedModifier;
24 ::ll::TypedStorage<4, 4, float> mGoalRadiusSq;
25 ::ll::TypedStorage<4, 4, int> mTimeToRecalcPath;
26 ::ll::TypedStorage<8, 24, ::std::vector<::MobDescriptor>> mMobFilters;
27 ::ll::TypedStorage<8, 152, ::ItemStack> mItemToShare;
28 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::Path>> mPath;
33 ShareItemsGoal& operator=(ShareItemsGoal
const&);
34 ShareItemsGoal(ShareItemsGoal
const&);
40 virtual bool canUse() ;
42 virtual bool canContinueToUse() ;
44 virtual void start() ;
50 virtual void appendDebugInfo(::std::string& str)
const ;
52 virtual ~ShareItemsGoal() ;
58 MCAPI ::std::pair<int, ::ItemStack>
59 selectEntityToShareWith(::std::vector<::std::pair<int, ::ItemStack>>
const& shareableItems);
73 MCAPI
bool $canContinueToUse();
81 MCAPI
void $appendDebugInfo(::std::string& str)
const;