LeviLamina
Loading...
Searching...
No Matches
DigGoal Class Reference
Inheritance diagram for DigGoal:

Public Types

enum class  CanUseResult : int {
  CanDig = 0 , IsDigging = 1 , NamedAndNotAllowedToDigWhenNamed = 2 , NotOnGoundOrInWaterOrInLava = 3 ,
  CanSeeDaylightAndShouldDigInDaylight = 4 , DisturbedByVibration = 5 , DisturbedBySuspicion = 6 , IdlingBeforeStartingGoalAgain = 7
}

Public Member Functions

DigGoaloperator= (DigGoal const &)
 DigGoal (DigGoal const &)
virtual bool canUse ()
virtual bool canContinueToUse ()
virtual void start ()
virtual void stop ()
virtual void tick ()
virtual void appendDebugInfo (::std::string &str) const
MCAPI::DigGoal::CanUseResult _canUse () const
MCAPI bool $canUse ()
MCAPI bool $canContinueToUse ()
MCAPI void $start ()
MCAPI void $stop ()
MCFOLD void $tick ()
MCAPI void $appendDebugInfo (::std::string &str) const
virtual bool canBeInterrupted ()
virtual bool isTargetGoal () const
virtual void onPlayerDimensionChanged (::Player *player, ::DimensionType fromDimension, ::DimensionType toDimension)
MCFOLD void $dtor ()
MCFOLD bool $canBeInterrupted ()
MCFOLD bool $isTargetGoal () const
MCFOLD void $onPlayerDimensionChanged (::Player *player, ::DimensionType fromDimension, ::DimensionType toDimension)

Static Public Member Functions

static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 8, 8, ::Mob & > mMob
::ll::TypedStorage< 8, 8, ::TickmGoalInitializationTick
::ll::TypedStorage< 4, 4, uint > mIdleTimeTicks
::ll::TypedStorage< 2, 2, ushort > mDurationTicks
::ll::TypedStorage< 8, 8, ::TickmEndTick
::ll::TypedStorage< 1, 1, bool > mAllowDigWhenNamed
::ll::TypedStorage< 1, 1, bool > mVibrationIsDisturbance
::ll::TypedStorage< 1, 1, bool > mSuspicionIsDisturbance
::ll::TypedStorage< 1, 1, bool > mDigsInDaylight
::ll::TypedStorage< 8, 104, ::ActorDefinitionTriggermOnStartEvent
::ll::TypedStorage< 8, 32, ::std::string > mDebugName
::ll::TypedStorage< 4, 4, int > mRequiredControlFlags
::ll::TypedStorage< 2, 2, ushort > mTypeId

Member Function Documentation

◆ canUse()

virtual bool DigGoal::canUse ( )
virtual

Implements Goal.

◆ canContinueToUse()

virtual bool DigGoal::canContinueToUse ( )
virtual

Reimplemented from Goal.

◆ start()

virtual void DigGoal::start ( )
virtual

Reimplemented from Goal.

◆ stop()

virtual void DigGoal::stop ( )
virtual

Reimplemented from Goal.

◆ tick()

virtual void DigGoal::tick ( )
virtual

Reimplemented from Goal.

◆ appendDebugInfo()

virtual void DigGoal::appendDebugInfo ( ::std::string & str) const
virtual

Implements Goal.

◆ $vftable()

MCAPI void ** DigGoal::$vftable ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

The documentation for this class was generated from the following file: