3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/world/actor/ai/goal/BaseMoveToGoal.h"
17class MoveToVillageGoal :
public ::BaseMoveToGoal {
21 ::ll::TypedStorage<4, 4, int> mVillageSearchRangeBlocks;
22 ::ll::TypedStorage<1, 1, bool> mReachedVillage;
32 virtual void start() ;
34 virtual bool canUse() ;
36 virtual bool canContinueToUse() ;
42 virtual void appendDebugInfo(::std::string& str)
const ;
44 virtual void _moveToBlock() ;
46 virtual ::BlockPos _selectRandomPosInVillage();
Definition BlockSource.h:72
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 MoveToVillageGoal(::Mob &mob, ::std::string name, ::GoalId const &goalId, float speedModifier, float goalRadius, float cooldown, int searchRange)
MCAPI void $_moveToBlock()
static MCAPI void ** $vftable()
MCAPI bool $canContinueToUse()
MCAPI void * $ctor(::Mob &mob, ::std::string name, ::GoalId const &goalId, float speedModifier, float goalRadius, float cooldown, int searchRange)