Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
HideGoal Class Reference
Inheritance diagram for HideGoal:

Public Member Functions

virtual bool canUse ()
virtual void start ()
virtual bool canContinueToUse ()
virtual void stop ()
virtual void appendDebugInfo (::std::string &str) const
virtual ::std::weak_ptr<::POIInstance > _getOwnedPOI (::POIType type) const
virtual uint64 _getRepathTime () const
MCAPI void _sendSoundTheAlarmAchievement () const
MCAPI bool $canUse ()
MCAPI void $start ()
MCAPI bool $canContinueToUse ()
MCAPI void $stop ()
MCAPI void $appendDebugInfo (::std::string &str) const
MCAPI ::std::weak_ptr<::POIInstance > $_getOwnedPOI (::POIType type) const
MCAPI uint64 $_getRepathTime () const
virtual void tick ()
virtual bool isValidTarget (::BlockSource &region, ::BlockPos const &pos)
virtual void _moveToBlock ()
virtual::Vec3 _getTargetPosition () const
MCAPI bool _canReachPOI (::Vec3 const &pos, float const radiusSqr, bool usingBoundingBox)
MCAPI void _updatePOIBooking ()
MCAPI bool getPOI (::POIType type)
MCAPI void * $ctor (::Mob &mob, ::std::string name, ::GoalId const &goalId, ::POIType poiType)
MCAPI void * $ctor (::Mob &mob, ::std::string name, ::GoalId const &goalId, float speedMultiplier, float cooldownTimeout, float goalRadius)
MCAPI void $tick ()
MCAPI bool $isValidTarget (::BlockSource &region, ::BlockPos const &pos)
MCAPI void $_moveToBlock ()
MCAPI::Vec3 $_getTargetPosition () const
virtual bool hasReachedTarget () const
virtual int _nextStartTick ()
virtual bool _canReach (::BlockPos const &pos)
virtual void setInterval (int const interval)
MCAPI bool $hasReachedTarget () const
MCAPI int $_nextStartTick ()
MCAPI bool $_canReach (::BlockPos const &pos)
MCAPI void $setInterval (int const interval)
virtual bool canBeInterrupted ()
virtual bool isTargetGoal () const
virtual void onPlayerDimensionChanged (::Player *player, ::DimensionType fromDimension, ::DimensionType toDimension)
virtual::GoalId getGoalId () const
MCAPI void $dtor ()
MCAPI bool $canBeInterrupted ()
MCAPI bool $isTargetGoal () const
MCAPI void $onPlayerDimensionChanged (::Player *player, ::DimensionType fromDimension, ::DimensionType toDimension)
MCAPI::GoalId $getGoalId () const

Static Public Member Functions

static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 2, 2, short > mHideAttempts
::ll::TypedStorage< 4, 4, ::POIType > mPOIType
::ll::TypedStorage< 4, 24, ::AABB > mPOIBoundingBox
::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, ::BlockPos > mStartPos
::ll::TypedStorage< 4, 12, ::Vec3 > mBlockPos
::ll::TypedStorage< 4, 12, ::Vec3 > mTargetPositionOffset
::ll::TypedStorage< 4, 4, float > mChanceToStart
::ll::TypedStorage< 8, 8, ::Mob & > mMob
::ll::TypedStorage< 4, 4, int > mInterval
::ll::TypedStorage< 8, 32, ::std::string > mName
::ll::TypedStorage< 4, 4, int > mRequiredControlFlags
::ll::TypedStorage< 2, 2, ushort > mTypeId

Member Function Documentation

◆ canUse()

virtual bool HideGoal::canUse ( )
virtual

Reimplemented from MoveToPOIGoal.

◆ start()

virtual void HideGoal::start ( )
virtual

Reimplemented from BaseMoveToGoal.

◆ canContinueToUse()

virtual bool HideGoal::canContinueToUse ( )
virtual

Reimplemented from BaseMoveToGoal.

◆ stop()

virtual void HideGoal::stop ( )
virtual

Reimplemented from MoveToPOIGoal.

◆ appendDebugInfo()

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

Reimplemented from MoveToPOIGoal.

◆ _getRepathTime()

virtual uint64 HideGoal::_getRepathTime ( ) const
virtual

Reimplemented from BaseMoveToGoal.

◆ _sendSoundTheAlarmAchievement()

MCAPI void HideGoal::_sendSoundTheAlarmAchievement ( ) const
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.

◆ $canUse()

MCAPI bool HideGoal::$canUse ( )
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.

◆ $start()

MCAPI void HideGoal::$start ( )
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.

◆ $canContinueToUse()

MCAPI bool HideGoal::$canContinueToUse ( )
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.

◆ $stop()

MCAPI void HideGoal::$stop ( )
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.

◆ $appendDebugInfo()

MCAPI void HideGoal::$appendDebugInfo ( ::std::string & str) const
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.

◆ $_getOwnedPOI()

MCAPI ::std::weak_ptr<::POIInstance > HideGoal::$_getOwnedPOI ( ::POIType type) const
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.

◆ $_getRepathTime()

MCAPI uint64 HideGoal::$_getRepathTime ( ) const
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.

◆ $vftable()

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

◆ tick()

virtual void MoveToPOIGoal::tick ( )
virtualinherited

Reimplemented from BaseMoveToGoal.

◆ isValidTarget()

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

Implements BaseMoveToGoal.

◆ _moveToBlock()

virtual void MoveToPOIGoal::_moveToBlock ( )
virtualinherited

Implements BaseMoveToGoal.

◆ _updatePOIBooking()

MCAPI void MoveToPOIGoal::_updatePOIBooking ( )
inherited
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.

◆ $ctor() [1/2]

MCAPI void * MoveToPOIGoal::$ctor ( ::Mob & mob,
::std::string name,
::GoalId const & goalId,
::POIType poiType )
inherited
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.

◆ $ctor() [2/2]

MCAPI void * BaseMoveToGoal::$ctor ( ::Mob & mob,
::std::string name,
::GoalId const & goalId,
float speedMultiplier,
float cooldownTimeout,
float goalRadius )
inherited
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.

◆ $tick()

MCAPI void MoveToPOIGoal::$tick ( )
inherited
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()

MCAPI bool MoveToPOIGoal::$isValidTarget ( ::BlockSource & region,
::BlockPos const & pos )
inherited
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.

◆ $_moveToBlock()

MCAPI void MoveToPOIGoal::$_moveToBlock ( )
inherited
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.

◆ $_getTargetPosition()

MCAPI::Vec3 MoveToPOIGoal::$_getTargetPosition ( ) const
inherited
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.

◆ $hasReachedTarget()

MCAPI bool BaseMoveToGoal::$hasReachedTarget ( ) const
inherited
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.

◆ $_nextStartTick()

MCAPI int BaseMoveToGoal::$_nextStartTick ( )
inherited
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.

◆ $_canReach()

MCAPI bool BaseMoveToGoal::$_canReach ( ::BlockPos const & pos)
inherited
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.

◆ $setInterval()

MCAPI void BaseMoveToGoal::$setInterval ( int const interval)
inherited
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.

◆ $dtor()

MCAPI void BaseGoal::$dtor ( )
inherited
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.

◆ $canBeInterrupted()

MCAPI bool BaseGoal::$canBeInterrupted ( )
inherited
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.

◆ $isTargetGoal()

MCAPI bool BaseGoal::$isTargetGoal ( ) const
inherited
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.

◆ $onPlayerDimensionChanged()

MCAPI void BaseGoal::$onPlayerDimensionChanged ( ::Player * player,
::DimensionType fromDimension,
::DimensionType toDimension )
inherited
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.

◆ $getGoalId()

MCAPI::GoalId BaseGoal::$getGoalId ( ) const
inherited
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: