22 ::ll::TypedStorage<8, 8, ::Mob&> mMob;
23 ::ll::TypedStorage<8, 8, ::Mob*> mHurtByMob;
24 ::ll::TypedStorage<8, 24, ::std::vector<::SharedTypes::Legacy::ActorDamageCause>> mDamageCauses;
25 ::ll::TypedStorage<1, 1, bool> mIgnoreMobDamage;
26 ::ll::TypedStorage<1, 1, bool> mPanicOnAllCauses;
27 ::ll::TypedStorage<1, 1, bool> mForceUse;
28 ::ll::TypedStorage<1, 1, bool> mPreferWater;
29 ::ll::TypedStorage<1, 1, bool> mCanTeleportToOwner;
30 ::ll::TypedStorage<4, 4, float> mSpeedMultipler;
31 ::ll::TypedStorage<4, 12, ::Vec3> mTargetPosition;
32 ::ll::TypedStorage<4, 4, ::SharedTypes::Legacy::LevelSoundEvent> mSoundEvent;
33 ::ll::TypedStorage<4, 8, ::FloatRange> mSoundIntervalRange;
34 ::ll::TypedStorage<8, 8, ::Tick> mNextSoundEventTick;
39 PanicGoal& operator=(PanicGoal
const&);
40 PanicGoal(PanicGoal
const&);
46 virtual bool canUse() ;
48 virtual void start() ;
52 virtual bool canContinueToUse() ;
56 virtual void appendDebugInfo(::std::string& str)
const ;
58 virtual ~PanicGoal() =
default;
66 float speedMultiplier,
68 ::SharedTypes::Legacy::LevelSoundEvent sound,
72 ::std::vector<::SharedTypes::Legacy::ActorDamageCause> damageCauses
75 MCAPI ::std::optional<::Vec3> _findWaterPos(
int xzDist,
int yDist)
const;
77 MCAPI ::std::optional<::Vec3> _tryGeneratePathEnd()
const;
85 float speedMultiplier,
87 ::SharedTypes::Legacy::LevelSoundEvent sound,
91 ::std::vector<::SharedTypes::Legacy::ActorDamageCause> damageCauses
104 MCFOLD
bool $canContinueToUse();
108 MCAPI
void $appendDebugInfo(::std::string& str)
const;