26 enum class CanUseResult :
int {
29 NamedAndNotAllowedToDigWhenNamed = 2,
30 NotOnGoundOrInWaterOrInLava = 3,
31 CanSeeDaylightAndShouldDigInDaylight = 4,
32 DisturbedByVibration = 5,
33 DisturbedBySuspicion = 6,
34 IdlingBeforeStartingGoalAgain = 7,
67 ::std::string
const& name,
82 ::ll::TypedStorage<8, 8, ::Mob&> mMob;
83 ::ll::TypedStorage<8, 8, ::Tick> mGoalInitializationTick;
84 ::ll::TypedStorage<4, 4, uint> mIdleTimeTicks;
85 ::ll::TypedStorage<2, 2, ushort> mDurationTicks;
86 ::ll::TypedStorage<8, 8, ::Tick> mEndTick;
87 ::ll::TypedStorage<1, 1, bool> mAllowDigWhenNamed;
88 ::ll::TypedStorage<1, 1, bool> mVibrationIsDisturbance;
89 ::ll::TypedStorage<1, 1, bool> mSuspicionIsDisturbance;
90 ::ll::TypedStorage<1, 1, bool> mDigsInDaylight;
91 ::ll::TypedStorage<8, 104, ::ActorDefinitionTrigger> mOnStartEvent;
104 virtual bool canUse() ;
107 virtual bool canContinueToUse() ;
110 virtual void start() ;
113 virtual void stop() ;
116 virtual void tick() ;
119 virtual void appendDebugInfo(::std::string& str)
const ;
128 MCNAPI ::DigGoal::CanUseResult
_canUse()
const;