17class FertilizeFarmBlockGoal :
public ::BaseMoveToBlockGoal {
21 ::ll::TypedStorage<8, 8, uint64> mNextFertilizeStartTick;
22 ::ll::TypedStorage<4, 4, int> mMaxFertilizerUsage;
23 ::ll::TypedStorage<4, 4, int> mSearchCooldownMaximumTicks;
24 ::ll::TypedStorage<4, 4, int> mInventoryFertilizerIndex;
25 ::ll::TypedStorage<4, 4, int> mTimesFertilized;
30 FertilizeFarmBlockGoal();
35 virtual bool canUse() ;
37 virtual bool canContinueToUse() ;
39 virtual void start() ;
45 virtual void appendDebugInfo(::std::string& str)
const ;
53 MCAPI FertilizeFarmBlockGoal(
::Mob& mob, ::std::string name,
::GoalId const& goalId);
55 MCAPI
int findInventorySlotForItem(::std::function<
bool(
::Item const&)> itemCallback)
const;
61 MCAPI
void* $ctor(
::Mob& mob, ::std::string name,
::GoalId const& goalId);
69 MCAPI
bool $canContinueToUse();
77 MCAPI
void $appendDebugInfo(::std::string& str)
const;