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;
54 virtual bool canUse() ;
57 virtual bool canContinueToUse() ;
60 virtual void start() ;
69 virtual void appendDebugInfo(::std::string& str)
const ;
78 MCAPI ::DigGoal::CanUseResult _canUse()
const;
86 MCAPI
bool $canContinueToUse();
94 MCAPI
void $appendDebugInfo(::std::string& str)
const;