3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/world/actor/ai/goal/BaseMoveToGoal.h"
20 ::ll::TypedStorage<4, 4, int> mVillageSearchRangeBlocks;
21 ::ll::TypedStorage<1, 1, bool> mReachedVillage;
32 virtual void start() ;
35 virtual bool canUse() ;
38 virtual bool canContinueToUse() ;
47 virtual void appendDebugInfo(::std::string& str)
const ;
50 virtual void _moveToBlock() ;
53 virtual ::BlockPos _selectRandomPosInVillage();
70 MCNAPI
void*
$ctor(
::Mob& mob,
float speedModifier,
float goalRadius,
float cooldown,
int searchRange);
Definition BaseMoveToGoal.h:16
Definition BlockSource.h:67
Definition MoveToVillageGoal.h:16
MCAPI MoveToVillageGoal(::Mob &mob, float speedModifier, float goalRadius, float cooldown, int searchRange)
MCAPI bool $isValidTarget(::BlockSource ®ion, ::BlockPos const &pos)
MCAPI::BlockPos $_selectRandomPosInVillage()
MCAPI ::std::shared_ptr<::Village > _tryGetCurrentVillage()
MCAPI void $appendDebugInfo(::std::string &str) const
MCAPI void $_moveToBlock()
static MCAPI void ** $vftable()
MCAPI bool $canContinueToUse()
MCAPI void * $ctor(::Mob &mob, float speedModifier, float goalRadius, float cooldown, int searchRange)