18 enum class CanUseResult :
int {
21 NamedAndNotAllowedToDigWhenNamed = 2,
22 NotOnGoundOrInWaterOrInLava = 3,
23 CanSeeDaylightAndShouldDigInDaylight = 4,
24 DisturbedByVibration = 5,
25 DisturbedBySuspicion = 6,
26 IdlingBeforeStartingGoalAgain = 7,
32 ::ll::TypedStorage<8, 8, ::Mob&> mMob;
33 ::ll::TypedStorage<8, 8, ::Tick> mGoalInitializationTick;
34 ::ll::TypedStorage<4, 4, uint> mIdleTimeTicks;
35 ::ll::TypedStorage<2, 2, ushort> mDurationTicks;
36 ::ll::TypedStorage<8, 8, ::Tick> mEndTick;
37 ::ll::TypedStorage<1, 1, bool> mAllowDigWhenNamed;
38 ::ll::TypedStorage<1, 1, bool> mVibrationIsDisturbance;
39 ::ll::TypedStorage<1, 1, bool> mSuspicionIsDisturbance;
40 ::ll::TypedStorage<1, 1, bool> mDigsInDaylight;
41 ::ll::TypedStorage<8, 104, ::ActorDefinitionTrigger> mOnStartEvent;
46 DigGoal& operator=(DigGoal
const&);
47 DigGoal(DigGoal
const&);
53 virtual bool canUse() ;
55 virtual bool canContinueToUse() ;
57 virtual void start() ;
63 virtual void appendDebugInfo(::std::string& str)
const ;
65 virtual ~DigGoal() =
default;
71 MCAPI ::DigGoal::CanUseResult _canUse()
const;
79 MCAPI
bool $canContinueToUse();
87 MCAPI
void $appendDebugInfo(::std::string& str)
const;