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

Public Member Functions

virtual void appendDebugInfo (::std::string &str) const
virtual bool canUse ()
virtual bool canContinueToUse ()
virtual void start ()
virtual void stop ()
virtual void tick ()
virtual void useWorkstation ()
MCAPI void playPOISoundEvent () const
MCAPI void $appendDebugInfo (::std::string &str) const
MCAPI bool $canUse ()
MCAPI bool $canContinueToUse ()
MCAPI void $start ()
MCAPI void $stop ()
MCAPI void $tick ()
MCAPI void $useWorkstation ()
virtual bool isValidTarget (::BlockSource &, ::BlockPos const &)
virtual void _moveToBlock ()
virtual::Vec3 _getTargetPosition () const
virtual ::std::weak_ptr<::POIInstance_getOwnedPOI (::POIType type) const
MCAPI bool _canReachPOI (::Vec3 const &pos, float radiusSqr, bool usingBoundingBox)
MCAPI void _updatePOIBooking ()
MCAPI bool getPOI (::POIType type)
MCAPI void * $ctor (::Mob &mob, ::POIType poiType)
MCAPI void * $ctor (::Mob &mob, float speedMultiplier, float cooldownTimeout, float goalRadius)
MCAPI void * $ctor ()
MCAPI bool $isValidTarget (::BlockSource &, ::BlockPos const &)
MCAPI void $_moveToBlock ()
MCAPI::Vec3 $_getTargetPosition () const
MCAPI ::std::weak_ptr<::POIInstance$_getOwnedPOI (::POIType type) const
virtual bool hasReachedTarget () const
virtual int _nextStartTick ()
virtual bool _canReach (::BlockPos const &pos)
virtual uint64 _getRepathTime () const
virtual void setInterval (int const interval)
MCAPI::BlockPos _blockAboveTarget () const
MCAPI void _checkIfStuck ()
MCFOLD bool _isCooldownActive () const
MCAPI void setTargetPositionOffset (::Vec3 const &offset)
MCFOLD bool $hasReachedTarget () const
MCAPI int $_nextStartTick ()
MCAPI bool $_canReach (::BlockPos const &pos)
MCFOLD uint64 $_getRepathTime () const
MCFOLD void $setInterval (int const interval)
virtual bool canBeInterrupted ()
virtual bool isTargetGoal () const
virtual void onPlayerDimensionChanged (::Player *player, ::DimensionType fromDimension, ::DimensionType toDimension)
MCFOLD int getRequiredControlFlags () const
MCAPI ushort getTypeId () const
MCFOLD void setRequiredControlFlags (int requiredControlFlags)
MCAPI 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< 4, 4, ::POIType > mPOIType
::ll::TypedStorage< 4, 4, int > mMinSoundDelay
::ll::TypedStorage< 4, 4, int > mMaxSoundDelay
::ll::TypedStorage< 4, 4, int > mGoalCooldown
::ll::TypedStorage< 4, 4, int > mActiveTime
::ll::TypedStorage< 1, 1, bool > mCanWorkInRain
::ll::TypedStorage< 4, 4, int > mWorkInRainTolerance
::ll::TypedStorage< 4, 4, int > mCooldownTick
::ll::TypedStorage< 4, 4, int > mActiveTick
::ll::TypedStorage< 4, 4, int > mSoundTick
::ll::TypedStorage< 4, 4, int > mSoundTickMax
::ll::TypedStorage< 1, 1, bool > mCanRainAtLocation
::ll::TypedStorage< 4, 4, int > mRainCheckCooldownTick
::ll::TypedStorage< 8, 104, ::ActorDefinitionTriggermOnArrival
::ll::TypedStorage< 1, 1, bool > mHasEverReachedJobsite
::ll::TypedStorage< 4, 4, ::SharedTypes::Legacy::LevelSoundEvent > mSoundEvent
::ll::TypedStorage< 4, 24, ::AABBmPOIBoundingBox
::ll::TypedStorage< 1, 1, bool > mUsingBoundingBox
::ll::TypedStorage< 1, 1, bool > mRequireSameY
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::Path > > mPath
::ll::TypedStorage< 4, 4, int > mTravelTicks
::ll::TypedStorage< 4, 4, int > mNextStartTick
::ll::TypedStorage< 4, 4, int > mGiveUpTicks
::ll::TypedStorage< 4, 4, int > mStayTicks
::ll::TypedStorage< 4, 4, int > mMaxStayTicks
::ll::TypedStorage< 1, 1, bool > mReachedTarget
::ll::TypedStorage< 4, 4, float > mSpeedMultiplier
::ll::TypedStorage< 4, 4, float > mGoalRadiusSq
::ll::TypedStorage< 8, 8, uint64 > mCooldownCounter
::ll::TypedStorage< 8, 8, uint64 > mCooldownTimeoutTime
::ll::TypedStorage< 4, 12, ::BlockPosmStartPos
::ll::TypedStorage< 4, 12, ::Vec3mBlockPos
::ll::TypedStorage< 4, 12, ::Vec3mTargetPositionOffset
::ll::TypedStorage< 4, 4, float > mChanceToStart
::ll::TypedStorage< 8, 8, ::Mob & > mMob
::ll::TypedStorage< 4, 4, int > mInterval
::ll::TypedStorage< 8, 32, ::std::string > mDebugName
::ll::TypedStorage< 4, 4, int > mRequiredControlFlags
::ll::TypedStorage< 2, 2, ushort > mTypeId

Member Function Documentation

◆ appendDebugInfo()

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

Reimplemented from MoveToPOIGoal.

◆ canUse()

virtual bool WorkGoal::canUse ( )
virtual

Reimplemented from MoveToPOIGoal.

◆ canContinueToUse()

virtual bool WorkGoal::canContinueToUse ( )
virtual

Reimplemented from BaseMoveToGoal.

◆ start()

virtual void WorkGoal::start ( )
virtual

Reimplemented from BaseMoveToGoal.

◆ stop()

virtual void WorkGoal::stop ( )
virtual

Reimplemented from MoveToPOIGoal.

◆ tick()

virtual void WorkGoal::tick ( )
virtual

Reimplemented from MoveToPOIGoal.

◆ $vftable()

MCAPI void ** WorkGoal::$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.

◆ isValidTarget()

virtual bool MoveToPOIGoal::isValidTarget ( ::BlockSource & ,
::BlockPos const &  )
virtualinherited

Implements BaseMoveToGoal.

◆ _moveToBlock()

virtual void MoveToPOIGoal::_moveToBlock ( )
virtualinherited

Implements BaseMoveToGoal.


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