23class AvoidBlockGoal :
public ::Goal {
27 ::ll::TypedStorage<4, 12, ::Vec3> mTargetPos;
28 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::Path>> mPath;
29 ::ll::TypedStorage<8, 8, ::Mob&> mMob;
30 ::ll::TypedStorage<8, 8, ::Tick> mNextStartTick;
31 ::ll::TypedStorage<4, 12, ::BlockPos> mTargetBlockToAvoidPos;
32 ::ll::TypedStorage<4, 4, float> mWalkSpeedModifier;
33 ::ll::TypedStorage<4, 4, float> mSprintSpeedModifier;
34 ::ll::TypedStorage<4, 4, int> mSearchRange;
35 ::ll::TypedStorage<4, 4, int> mSearchHeight;
36 ::ll::TypedStorage<4, 4, int> mInterval;
37 ::ll::TypedStorage<1, 1, ::TargetSelectionMethod> mMethod;
38 ::ll::TypedStorage<8, 24, ::std::vector<::ItemDescriptor>> mTargetBlockDescriptors;
39 ::ll::TypedStorage<8, 24, ::std::vector<::ActorDefinitionTrigger>> mOnEscapedTriggers;
40 ::ll::TypedStorage<4, 4, ::SharedTypes::Legacy::LevelSoundEvent> mSoundEvent;
41 ::ll::TypedStorage<4, 8, ::SharedTypes::FloatRange> mSoundIntervalRange;
42 ::ll::TypedStorage<8, 8, ::Tick> mNextSoundEventTick;
47 AvoidBlockGoal& operator=(AvoidBlockGoal
const&);
48 AvoidBlockGoal(AvoidBlockGoal
const&);
54 virtual bool canUse() ;
56 virtual bool canContinueToUse() ;
60 virtual void appendDebugInfo(::std::string& str)
const ;
62 virtual void start() ;
66 virtual ~AvoidBlockGoal() ;
74 MCAPI
bool _findTargetBlock();
88 MCAPI
bool $canContinueToUse();
92 MCAPI
void $appendDebugInfo(::std::string& str)
const;