16class MoveToVillageGoal :
public ::BaseMoveToGoal {
20 ::ll::TypedStorage<4, 4, int> mVillageSearchRangeBlocks;
21 ::ll::TypedStorage<1, 1, bool> mReachedVillage;
31 virtual void start() ;
33 virtual bool canUse() ;
35 virtual bool canContinueToUse() ;
41 virtual void appendDebugInfo(::std::string& str)
const ;
43 virtual void _moveToBlock() ;
45 virtual ::BlockPos _selectRandomPosInVillage();
47 virtual ~MoveToVillageGoal() =
default;
53 MCAPI MoveToVillageGoal(
::Mob& mob,
float speedModifier,
float goalRadius,
float cooldown,
int searchRange);
55 MCAPI ::std::shared_ptr<::Village> _tryGetCurrentVillage();
61 MCAPI
void* $ctor(
::Mob& mob,
float speedModifier,
float goalRadius,
float cooldown,
int searchRange);
71 MCAPI
bool $canContinueToUse();
77 MCAPI
void $appendDebugInfo(::std::string& str)
const;
79 MCAPI
void $_moveToBlock();
81 MCAPI ::BlockPos $_selectRandomPosInVillage();